demo

package
v0.0.0-...-7d94126 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL