app

package
v2.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL