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 ¶
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.
Click to show internal directories.
Click to hide internal directories.