prestopsleep

package
v5.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 9 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) AddToPodTemplate

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

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