kubelet

package
v3.0.1-beta5+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	config.ObserverConfig
	// How often to poll the Kubelet instance for pod information
	PollIntervalSeconds int `yaml:"pollIntervalSeconds" default:"10"`
	// Config for the Kubelet HTTP client
	KubeletAPI kubelet.APIConfig `yaml:"kubeletAPI" default:"{}"`
}

Config for Kubelet observer

func (*Config) Validate

func (c *Config) Validate() error

Validate the observer-specific config

type Observer

type Observer struct {
	// contains filtered or unexported fields
}

Observer for kubelet

func (*Observer) Configure

func (k *Observer) Configure(config *Config) error

Configure the kubernetes observer/client

func (*Observer) Shutdown

func (k *Observer) Shutdown()

Shutdown the service differ routine

Jump to

Keyboard shortcuts

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