kube

package
v0.20.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LoftCustomLinksAnnotation is applied to enumerates associated links to external websites
	LoftCustomLinksAnnotation = "loft.sh/custom-links"

	// LoftCustomLinksDelimiter is the separator for the values of the custom links annotation
	LoftCustomLinksDelimiter = "\n"
)

Variables

This section is empty.

Functions

func SetCustomLinksAnnotation

func SetCustomLinksAnnotation(obj metav1.Object, links []string) bool

SetCustomLinksAnnotation sets the list of links for the UI to display next to the project member({space/virtualcluster}instance) it handles unspecified links (empty) during create and update

func UpdateAnnotations

func UpdateAnnotations(obj metav1.Object, annotationList []string) (bool, error)

func UpdateLabels

func UpdateLabels(obj metav1.Object, labelList []string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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