agent

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: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Klocksmith

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

func New

func New(node string, reapTimeout time.Duration) (*Klocksmith, error)

func (*Klocksmith) Run

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

Run starts the agent to listen for an update_engine reboot signal and react by draining pods and rebooting. 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