Skip to content

Commit 0f01b15

Browse files
committed
Setup PubSub framework code.
1 parent 53262f0 commit 0f01b15

18 files changed

+3769
-6
lines changed

cron/config/config.go

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Copyright 2021 Security Scorecard Authors
2+
//
3+
// Licensed under the Apache License, Vershandlern 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permisshandlerns and
13+
// limitathandlerns under the License.
14+
15+
package config
16+
17+
const (
18+
ResultDataBucketURL string = "gs://ossf-scorecard-data"
19+
RequestTopicURL = "gcppubsub://projects/openssf/topics/scorecard-batch"
20+
InputReposFile = "projects.csv"
21+
ShardNumFilename = ".shard_num"
22+
ShardSize int = 250
23+
)

0 commit comments

Comments
 (0)