Documentation ¶
Overview ¶
demo defines all the different objects types for this deployment
demo defines all the different objects types for this deployment
demo defines all the different objects types for this deployment
demo defines all the different objects types for this deployment
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Demodeployment ¶
type Demodeployment struct { Deployment *appsv1.Deployment Name string Namespace string Service *apiv1.Service NamespaceObj *apiv1.Namespace }
func NewDemoDeployment ¶
func NewDemoDeployment(name, namespace string) (depl *Demodeployment)
NewDemoDeployment creates a new demo deployment for us
func SetDemoDeployment ¶
func SetDemoDeployment(name, namespace string, deployment *appsv1.Deployment) (depl *Demodeployment)
SetDemodeployment sets an existing deploymen as the current deployment NOTE: We dont update the services or namespaces diretly its not needed for our scenario
func (*Demodeployment) Dayli ¶
func (d *Demodeployment) Dayli()
Dayli manages the day settings for this project
func (*Demodeployment) Nightly ¶
func (d *Demodeployment) Nightly()
Nightly manages the night settings for this project
Click to show internal directories.
Click to hide internal directories.