run

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	SigChan chan os.Signal

	ApplyChan chan struct{}
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(env *setup.Environment) *Runtime

func (*Runtime) DeleteAPIManifests

func (r *Runtime) DeleteAPIManifests(namespaces *corev1.NamespaceList) error

func (*Runtime) GetKubeletPods

func (r *Runtime) GetKubeletPods() ([]v1.Pod, error)

func (*Runtime) GetKubeletRunningPods

func (r *Runtime) GetKubeletRunningPods() ([]v1.Pod, error)

func (*Runtime) GetKubeletStaticPods

func (r *Runtime) GetKubeletStaticPods() ([]v1.Pod, error)

func (*Runtime) Run

func (r *Runtime) Run() error

func (*Runtime) SearchStaticPods

func (r *Runtime) SearchStaticPods(pods []v1.Pod) []v1.Pod

func (*Runtime) Stop

func (r *Runtime) Stop() error

type State

type State struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*State) GetKubeletLogsPodRunning added in v0.3.0

func (s *State) GetKubeletLogsPodRunning() int

func (*State) GetKubeletProbeFail added in v0.3.0

func (s *State) GetKubeletProbeFail() int

func (*State) IncKubeletProbeFailures added in v0.3.0

func (s *State) IncKubeletProbeFailures()

func (*State) IsReady

func (s *State) IsReady() bool

func (*State) SetAPIServerProbeLastError added in v0.3.0

func (s *State) SetAPIServerProbeLastError(msg string)

func (*State) SetKubeletAPIPodRunning added in v0.3.0

func (s *State) SetKubeletAPIPodRunning(nb int)

func (*State) SetKubeletLogsPodRunning added in v0.3.0

func (s *State) SetKubeletLogsPodRunning(nb int)

func (*State) SetReady added in v0.3.0

func (s *State) SetReady()

Jump to

Keyboard shortcuts

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