Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel string
// Config is the location to a config file
Config string
// ID is the worker ID used to get workflow tasks to run
ID string `validate:"required,mac|ip"`
// Tink is the URL:Port for the tink server
Tink string `validate:"required"`
// TLS can be one of the following
// 1. location on disk of a cert
// example: /location/on/disk/of/cert
// 2. URL from which to GET a cert
// example: http://weburl:8080/cert
// 3. boolean; true if the tink server (specified by the Tink key/value) has a cert from a known CA
// false if the tink server does not have TLS enabled
// example: true
TLS string
// Registry is a slice of container registries with credentials to use
// during workflow task action execution
Registry registries `yaml:"registries"`
AppName string
// RegistryAuth holds a map of repo names to base64 encoded auth string
// this is used to login to container registries to pull images down
RegistryAuth map[string]string
Log logr.Logger
}
func (*Config) RegisterFlags ¶
Click to show internal directories.
Click to hide internal directories.