Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CNDRevisionAnnotation is the annotation added to a service to track the original deployment in k8 CNDRevisionAnnotation = "deployment.okteto.com/parent" // CNDLabel is the label added to a dev deployment in k8 CNDLabel = "deployment.okteto.com/cnd" // OldCNDLabel is the legacy label OldCNDLabel = "cnd" // RevisionAnnotation is the deployed revision RevisionAnnotation = "deployment.kubernetes.io/revision" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dev ¶
type Dev struct { Swap swap `yaml:"swap"` Mount mount `yaml:"mount"` }
Dev represents a cloud native development environment
func (*Dev) TurnIntoDevDeployment ¶
func (dev *Dev) TurnIntoDevDeployment(d *appsv1.Deployment, parentRevision string)
TurnIntoDevDeployment modifies a k8 deployment with the cloud native environment settings
Click to show internal directories.
Click to hide internal directories.