label

package
v0.1.6-alpha.9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterName

func GetClusterName(obj metav1.Object) string

func GetTargetFleet

func GetTargetFleet(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
	CloudInstance      string
	CloudInstanceAlias 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