action

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Supported function types
	KubeApplyFunc  sdkTypes.FuncType = "kube-apply"
	KubeDeleteFunc sdkTypes.FuncType = "kube-delete"
)

Variables

This section is empty.

Functions

func KubeApply

func KubeApply(object sdkTypes.Object) (err error)

KubeApply tries to create the specified object or update it if it already exists

func KubeDelete

func KubeDelete(object sdkTypes.Object) (err error)

KubeDelete deletes an object if it still exists

func ProcessAction

func ProcessAction(action sdkTypes.Action) error

ProcessAction invokes the function specified by action.Func

Types

This section is empty.

Jump to

Keyboard shortcuts

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