label

package
v0.2.7-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 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 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

func GetTenancyMapFromTenancy added in v0.1.6

func GetTenancyMapFromTenancy(tenancy Tenancy) map[string]string

Types

type ImageMeta

type ImageMeta struct {
	Registry   string
	User       string
	Repository string
	Tag        string
}

func GetImageMeta

func GetImageMeta(obj metav1.Object) *ImageMeta

type InstanceType

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

func GetInstanceType

func GetInstanceType(obj metav1.Object) InstanceType

type PlatformMeta

type PlatformMeta struct {
	Version string
	Domain  string
}

func GetPlatformMeta

func GetPlatformMeta(obj metav1.Object) *PlatformMeta

type Tenancy

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

func GetTenancy

func GetTenancy(obj metav1.Object) *Tenancy

type Timezone

type Timezone struct {
	Continent string
	City      string
}

func GetTimezone

func GetTimezone(obj metav1.Object) *Timezone

Jump to

Keyboard shortcuts

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