v1alpha1

package
v0.0.0-...-66691d1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceUIDLabel       = "spherelet.spheric.cloud/instance-uid"
	InstanceNamespaceLabel = "spherelet.spheric.cloud/instance-namespace"
	InstanceNameLabel      = "spherelet.spheric.cloud/instance-name"

	InstanceGenerationAnnotation    = "spherelet.spheric.cloud/instance-generation"
	IRIInstanceGenerationAnnotation = "spherelet.spheric.cloud/iriinstance-generation"

	FieldOwner        = "spherelet.spheric.cloud/field-owner"
	InstanceFinalizer = "spherelet.spheric.cloud/instance"

	// DownwardAPIPrefix is the prefix for any downward label.
	DownwardAPIPrefix = "downward-api.spherelet.spheric.cloud/"
)

Variables

This section is empty.

Functions

func DownwardAPIAnnotation

func DownwardAPIAnnotation(name string) string

DownwardAPIAnnotation makes a downward api annotation name from the given name.

func DownwardAPILabel

func DownwardAPILabel(name string) string

DownwardAPILabel makes a downward api label name from the given name.

Types

type ObjectUIDRef

type ObjectUIDRef struct {
	Name string    `json:"name"`
	UID  types.UID `json:"uid"`
}

ObjectUIDRef is a name-uid-reference to an object.

func ObjUID

func ObjUID(obj client.Object) ObjectUIDRef

Jump to

Keyboard shortcuts

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