controller

package
v0.1.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type PreemptibleController

type PreemptibleController struct {
	Client kubernetes.Interface
	Config config.Config
}

func NewPreemptibleController

func NewPreemptibleController() *PreemptibleController

func (*PreemptibleController) CheckIfPodIsDeleted

func (pc *PreemptibleController) CheckIfPodIsDeleted(p v1.Pod) error

func (*PreemptibleController) ListKubeSystemPods

func (pc *PreemptibleController) ListKubeSystemPods(nodeName string) (*v1.PodList, error)

func (*PreemptibleController) ListNodes

func (pc *PreemptibleController) ListNodes() (*v1.NodeList, error)

func (*PreemptibleController) ListPods

func (pc *PreemptibleController) ListPods(nodeName string) (*v1.PodList, error)

func (*PreemptibleController) Process

func (pc *PreemptibleController) Process()

func (*PreemptibleController) ProcessPods

func (pc *PreemptibleController) ProcessPods(pods []v1.Pod)

func (*PreemptibleController) Run

func (pc *PreemptibleController) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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