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 Annotatable, 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 Annotatable, annotationList []string) (bool, error)
Types ¶
type Annotatable ¶
Annotatable is an interface for objects that have annotations and `
Click to show internal directories.
Click to hide internal directories.