Documentation ¶
Index ¶
- func AgentServerRun(o *options.AgentOptions, kubeClient kubernetes.Interface) (*agent.Agent, error)
- func InitializeTLS(s *options.AgentOptions) (*agent.TLSOptions, error)
- func NewLeaderElection(scheme *runtime.Scheme, kubeClient kubernetes.Interface, ...) (*leaderelection.LeaderElectionConfig, error)
- func ServeHealthProbes(stop <-chan struct{}, healthProbeBindAddress string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentServerRun ¶
func AgentServerRun(o *options.AgentOptions, kubeClient kubernetes.Interface) (*agent.Agent, error)
func InitializeTLS ¶
func InitializeTLS(s *options.AgentOptions) (*agent.TLSOptions, error)
InitializeTLS checks for a configured TLSCertFile and TLSPrivateKeyFile: if unspecified a new self-signed certificate and key file are generated. Returns a configured server.TLSOptions object.
func NewLeaderElection ¶
func NewLeaderElection(scheme *runtime.Scheme, kubeClient kubernetes.Interface, run func(context.Context)) (*leaderelection.LeaderElectionConfig, error)
func ServeHealthProbes ¶
func ServeHealthProbes(stop <-chan struct{}, healthProbeBindAddress string)
ServeHealthProbes starts a server to check healthz and readyz probes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.