operator

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.2

type Config struct {
	// Kubernetesc client
	Client kubernetes.Interface
	// migration compatability
	AutoLabelContainerLinux bool
	// annotations to look for before and after reboots
	BeforeRebootAnnotations []string
	AfterRebootAnnotations  []string
	// reboot window
	RebootWindowStart  string
	RebootWindowLength string
	// Deprecated
	ManageAgent    bool
	AgentImageRepo string
}

Config configures a Kontroller.

type Kontroller

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

func New

func New(config Config) (*Kontroller, error)

New initializes a new Kontroller.

func (*Kontroller) Run

func (k *Kontroller) Run(stop <-chan struct{}) error

Run starts the operator reconcilitation proces and runs until the stop channel is closed.

Jump to

Keyboard shortcuts

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