label

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLabelExistence

func CheckLabelExistence(objMeta metav1.ObjectMeta, typeMeta metav1.TypeMeta, labelKeys []string) error

func GetBufferInstanceName added in v0.1.4

func GetBufferInstanceName(obj metav1.Object) string

func GetClusterName

func GetClusterName(obj metav1.Object) string

func GetDevSuiteOwned

func GetDevSuiteOwned(obj metav1.Object) string

func GetTargetRobot

func GetTargetRobot(obj metav1.Object) string

func GetTargetRobotVDI

func GetTargetRobotVDI(obj metav1.Object) string

func GetTenancyMap

func GetTenancyMap(obj metav1.Object) map[string]string

Types

type InstanceType

type InstanceType string
const (
	InstanceTypeCloudInstance    InstanceType = "CloudInstance"
	InstanceTypePhysicalInstance InstanceType = "PhysicalInstance"
)

func GetInstanceType

func GetInstanceType(obj metav1.Object) InstanceType

type Tenancy

type Tenancy struct {
	Organization     string
	Team             string
	Region           string
	BufferInstance   string
	CloudInstance    string
	PhysicalInstance string
}

func GetTenancy

func GetTenancy(obj metav1.Object) *Tenancy

Jump to

Keyboard shortcuts

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