lifecycle

package
v0.0.8-prerelease-2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modification

type Modification func(lifecycle *corev1.Lifecycle)

func Apply

func Apply(modifications ...Modification) Modification

Apply returns a function which applies a series of Modification functions to a *corev1.Lifecycle

func WithPrestopCommand

func WithPrestopCommand(preStopCmd []string) Modification

WithPrestopCommand sets the LifeCycles PreStop Exec Command

Jump to

Keyboard shortcuts

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