Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkLoop ¶
type WorkLoop struct {
// contains filtered or unexported fields
}
WorkLoop is a version of worker.WorkLoop that reads data from a local file, rather than a from a pubsub feed populated by the Scorecard controller.
func FromConfig ¶
FromConfig returns a new local WorkLoop instance using the config values read in.
Apart from the usual config values for the data bucket, raw data bucket, and shard size, the criticality score config values "local-url-data-file" and "local-state-file" are also used.
Click to show internal directories.
Click to hide internal directories.