k8s

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 12 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 DeploymentManipulator added in v0.0.8

func DeploymentManipulator(engine template.Engine) model.Manipulator

DeploymentManipulator represents a model.Manipulator implementation for handling Deployment objects.

func DeploymentMutator

func DeploymentMutator(engine template.Engine) model.Mutator

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