Documentation ¶
Index ¶
- Constants
- func DeploymentLocator(ctx model.SessionContext, ref *model.Ref) bool
- func DeploymentManipulator(engine template.Engine) model.Manipulator
- func DeploymentMutator(engine template.Engine) model.Mutator
- func DeploymentRevertor(ctx model.SessionContext, ref *model.Ref) error
- func ServiceLocator(ctx model.SessionContext, ref *model.Ref) bool
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 ¶
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.