Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GCPFolderID string `env:"GCP_FOLDER_ID"`
AllowedGithubOrgScopes string `env:"GCP_ALLOWED_PROJECT_LABEL_GH_ORG_SCOPE_VALUES"`
AllowedJobRunsOn string `env:"GCP_ALLOWED_PROJECT_LABEL_JOB_RUNS_ON_VALUES"`
AllowedPoolLocations string `env:"GCP_ALLOWED_PROJECT_LABEL_POOL_LOCATION_VALUES"`
AllowedPoolAvailabilities string `env:"GCP_ALLOWED_PROJECT_LABEL_POOL_AVAILABILITY_VALUES"`
MaxRetryAttempts int `env:"MAX_RETRY_ATTEMPTS,default=3"`
BackoffInitialDelay time.Duration `env:"BACKOFF_INITIAL_DELAY,default=500ms"`
RunnerRegistryDefaultKeyPrefix string `env:"RUNNER_REGISTRY_DEFAULT_KEY_PREFIX,default=default"`
}
Config defines the set of environment variables required for running the runner-discovery job.
func (*Config) GetAllowedGithubOrgScopes ¶ added in v0.1.4
func (*Config) GetAllowedJobRunsOn ¶ added in v0.1.4
func (*Config) GetAllowedPoolAvailabilities ¶ added in v0.1.4
func (*Config) GetAllowedPoolLocations ¶ added in v0.1.4
type RunnerDiscovery ¶
type RunnerDiscovery struct {
// contains filtered or unexported fields
}
RunnerDiscovery is the main struct for the runner-discovery job.
func NewRunnerDiscovery ¶
Click to show internal directories.
Click to hide internal directories.