Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MeltdownDuration is the duration of the meltdown period, in which we // postpone further reconciles for the same resource MeltdownDuration = 10 * time.Second // MeltdownRequeueAfter is the duration for which we delay the requeuing of the reconcile MeltdownRequeueAfter = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CtxTimeOut time.Duration
MeltdownDuration time.Duration
MeltdownRequeueAfter time.Duration
Namespace string
OperatorNamespace string
WebhookUseServiceRef bool
WebhookServerHost string
WebhookServerPort int32
Fs afero.Fs
MaxBoshDeploymentWorkers int
MaxExtendedJobWorkers int
MaxExtendedSecretWorkers int
MaxExtendedStatefulSetWorkers int
ApplyCRD bool
}
Config controls the behaviour of different controllers
func NewConfig ¶ added in v0.4.0
func NewConfig(namespace string, operatorNamespace string, ctxTimeOut int, useServiceRef bool, host string, port int32, fs afero.Fs, maxBoshDeploymentWorkers, maxExtendedJobWorkers, maxExtendedSecretWorkers, maxExtendedStatefulSetWorkers int, applyCRD bool) *Config
NewConfig returns a new Config for a Manager of Controllers
Source Files
¶
- config.go
Click to show internal directories.
Click to hide internal directories.