k8s

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DeploymentKind is the k8s Kind for a Deployment
	DeploymentKind = "Deployment"
)
View Source
const (
	// ServiceKind is the k8s Kind for a Service
	ServiceKind = "Service"
)

Variables

This section is empty.

Functions

func DeploymentLocator

func DeploymentLocator(ctx model.SessionContext, ref *model.Ref) bool

DeploymentLocator attempts to locate a Deployment kind based on Ref name

func DeploymentMutator

func DeploymentMutator(ctx model.SessionContext, ref *model.Ref) error

DeploymentMutator attempts to clone the located Deployment

func DeploymentRevertor

func DeploymentRevertor(ctx model.SessionContext, ref *model.Ref) error

DeploymentRevertor attempts to delete the cloned Deployment

func ServiceLocator added in v0.0.3

func ServiceLocator(ctx model.SessionContext, ref *model.Ref) bool

ServiceLocator attempts to locate the Services for the target Deployment/DeploymentConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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