Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LoggerConfig LoggerConfig `yaml:"logger"` Metrics MetricsConfig `yaml:"metrics"` Pprof PprofConfig `yaml:"pprof"` Health HealthConfig `yaml:"health"` LeaderElectionConfig LeaderElectionConfig `yaml:"leader_election"` WorkersCount uint32 `yaml:"worker_count"` PrePullImageReconcilerConfig PrePullImageReconcilerConfig `yaml:"pre_pull_image_reconciller"` }
func ParseConfig ¶
type ContainerConfig ¶
type ContainerConfig struct { Name string `yaml:"name,omitempty"` Image string `yaml:"image,omitempty"` Command []string `yaml:"command"` Args []string `yaml:"args"` Resources ContainerResources `yaml:"resources"` }
type ContainerResources ¶
type HealthConfig ¶
type LeaderElectionConfig ¶
type LoggerConfig ¶
type MetricsConfig ¶
type PprofConfig ¶
type PrePullImageReconcilerConfig ¶
type PrePullImageReconcilerConfig struct { MainContainer ContainerConfig `yaml:"main_container"` PrePullContainer ContainerConfig `yaml:"pre_pull_container"` ImagePullSecretNames []string `yaml:"image_pull_secret_names"` }
func (*PrePullImageReconcilerConfig) ToControllerConfig ¶
func (p *PrePullImageReconcilerConfig) ToControllerConfig() (*controller.PrePullImageReconcilerConfig, error)
type Resources ¶
func (Resources) ToResourcesList ¶
func (r Resources) ToResourcesList() (corev1.ResourceList, error)
Click to show internal directories.
Click to hide internal directories.