Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // ListenAddress is the host and port for the HTTP server delivering prometheus metrics and pprof profiling. ListenAddress string // KubeconfigPath is the path to the kube configuration file. KubeconfigPath string // ImagePullCancelDelay is the delay before canceling an image pull routine to ensure all events related to the pod // have been processed. ImagePullCancelDelay float64 // KubeWatchTimeout is the timeout for the Kubernetes Watch API. KubeWatchTimeout int64 // KubeWatchMaxEvents is the maximum number of events to receive from the Kubernetes Watch API per response. KubeWatchMaxEvents int64 // StatisticEventQueueLength is the maximum number of queued statistic events. // // TODO(Izzette): consider splitting into PodStatisticEventQueueLength and ImagePullStatisticEventQueueLength StatisticEventQueueLength int // EmitPartialStatistics enables emitting statistics for pods that have not yet become Ready and image pulls that have // not yet completed. EmitPartialStatistics bool // LogLevel is the global logging level. LogLevel zerolog.Level }
Options contains the options for the controller.
Click to show internal directories.
Click to hide internal directories.