Documentation ¶
Overview ¶
Package operator exports top-level operator logic for users like CLI package to consume.
Index ¶
Constants ¶
View Source
const ( // PodMutateEndpoint is a URI where admission webhook responds for Pod mutation requests. PodMutateEndpoint = "/mutate-v1-pod" // DefaultHealthProbeBindAddress is a default bind address for health probes. DefaultHealthProbeBindAddress = ":9440" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { CertDir string `json:"certDir"` HealthProbeBindAddress string `json:"healthProbeBindAddress"` MetricsBindAddress string `json:"metricsBindAddress"` Port int `json:"port"` RestConfig *rest.Config `json:"-"` Logger *logrus.Logger `json:"-"` IgnoreMutationErrors bool `json:"ignoreMutationErrors"` InfraAgentInjection agent.InjectorConfig `json:"infraAgentInjection"` }
Options holds the configuration for an operator.
Click to show internal directories.
Click to hide internal directories.