Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPMessaging ¶
type Buildkit ¶
type Buildkit struct {
Namespace string `json:"namespace" yaml:"namespace"`
PodLabels map[string]string `json:"podLabels" yaml:"podLabels"`
DaemonPort int32 `json:"daemonPort" yaml:"daemonPort"`
ServiceName string `json:"serviceName" yaml:"serviceName"`
StatefulSetName string `json:"statefulSetName" yaml:"statefulSetName"`
Secrets map[string]string `json:"secrets" yaml:"secrets,omitempty"`
PoolSyncWaitTime *time.Duration `json:"poolSyncWaitTime" yaml:"poolSyncWaitTime"`
PoolMaxIdleTime *time.Duration `json:"poolMaxIdleTime" yaml:"poolMaxIdleTime"`
PoolWatchTimeout *int64 `json:"poolWatchTimeout" yaml:"poolWatchTimeout"`
MTLS *BuildkitMTLS `json:"mtls,omitempty" yaml:"mtls,omitempty"`
}
type BuildkitMTLS ¶
type ContainerLogging ¶
type Controller ¶
type Controller struct {
Logging Logging `json:"logging" yaml:"logging"`
Manager Manager `json:"manager" yaml:"manager"`
Buildkit Buildkit `json:"buildkit" yaml:"buildkit"`
Messaging Messaging `json:"messaging" yaml:"messaging"`
NewRelic NewRelic `json:"newRelic" yaml:"newRelic"`
ImageBuildMaxConcurrency int `json:"imageBuildMaxConcurrency" yaml:"imageBuildMaxConcurrency"`
}
func LoadFromFile ¶
func LoadFromFile(filename string) (Controller, error)
func (Controller) Validate ¶
func (c Controller) Validate() error
type KafkaMessaging ¶
type LogfileLogging ¶
type Logging ¶
type Logging struct {
StacktraceLevel string `json:"stacktraceLevel" yaml:"stacktraceLevel"`
Container ContainerLogging `json:"container" yaml:"container"`
Logfile LogfileLogging `json:"logfile" yaml:"logfile"`
}
type Manager ¶
type Manager struct {
HealthProbeAddr string `json:"healthProbeAddr" yaml:"healthProbeAddr"`
MetricsAddr string `json:"metricsAddr" yaml:"metricsAddr"`
WebhookPort int `json:"webhookPort" yaml:"webhookPort"`
WatchNamespaces []string `json:"watchNamespaces" yaml:"watchNamespaces,omitempty"`
EnableLeaderElection bool `json:"enableLeaderElection" yaml:"enableLeaderElection"`
}
type Messaging ¶
type Messaging struct {
Enabled bool `json:"enabled" yaml:"enabled"`
AMQP *AMQPMessaging `json:"amqp" yaml:"amqp"`
Kafka *KafkaMessaging `json:"kafka" yaml:"kafka"`
}
Click to show internal directories.
Click to hide internal directories.