Documentation ¶
Index ¶
- type ConfigOptions
- func (o *ConfigOptions) AddFlags(fs *flag.FlagSet)
- func (o *ConfigOptions) ConfigAgent(reuse ...*config.Agent) (*config.Agent, error)
- func (o *ConfigOptions) ConfigAgentWithAdditionals(ca *config.Agent, additionals []func(*config.Config) error) (*config.Agent, error)
- func (o *ConfigOptions) Validate(_ bool) error
- func (o *ConfigOptions) ValidateConfigOptional() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOptions ¶
type ConfigOptions struct { ConfigPath string JobConfigPath string // ConfigPathFlagName allows to override the flag name for the prow config. Defaults // to 'config-path'. ConfigPathFlagName string // JobConfigPathFlagName allows to override the flag name for the job config. Defaults // to 'job-config-path'. JobConfigPathFlagName string SupplementalProwConfigDirs flagutil.Strings SupplementalProwConfigsFileNameSuffix string // Inrepoconfig related flags InRepoConfigCacheSize int InRepoConfigCacheDirBase string }
func (*ConfigOptions) AddFlags ¶
func (o *ConfigOptions) AddFlags(fs *flag.FlagSet)
func (*ConfigOptions) ConfigAgent ¶
func (*ConfigOptions) ConfigAgentWithAdditionals ¶
func (*ConfigOptions) Validate ¶
func (o *ConfigOptions) Validate(_ bool) error
func (*ConfigOptions) ValidateConfigOptional ¶
func (o *ConfigOptions) ValidateConfigOptional() error
Click to show internal directories.
Click to hide internal directories.