prestopsleep

package
v5.0.0-rc.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interceptor

type Interceptor struct {
	SleepSeconds int
}

func New

func New(sleepSeconds int) *Interceptor

func (*Interceptor) AddToContainer

func (i *Interceptor) AddToContainer(container *v1.Container)

func (*Interceptor) AddToDeployment

func (i *Interceptor) AddToDeployment(deployment *v1beta1extensions.Deployment)

func (*Interceptor) AddToPodTemplace

func (i *Interceptor) AddToPodTemplace(tpl *v1.PodTemplateSpec)

func (*Interceptor) AddToStatefulSet

func (i *Interceptor) AddToStatefulSet(set *v1beta1apps.StatefulSet)

func (*Interceptor) PostManifestRender

func (i *Interceptor) PostManifestRender(obj runtime.Object) (runtime.Object, error)

type Options

type Options struct {
	Seconds int `yaml:"seconds"`
}

Jump to

Keyboard shortcuts

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