termination

package
v0.29.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TerminatorForType

TerminatorForType determines the identifier for the implicit terminator associated with the WorkspaceType.

func TerminatorToLabel

func TerminatorToLabel(terminator corev1alpha1.LogicalClusterTerminator) (string, string)

TerminatorToLabel transforms a terminator into a key-value pair to add to a label set. We use a hash to create a unique identifier from this information, prefixing the hash in order to create a value which is unlikely to collide, and adding the full hash as a value in order to make it difficult to forge the pair.

func TerminatorsToStrings

func TerminatorsToStrings(terminator []corev1alpha1.LogicalClusterTerminator) []string

TerminatorsToStrings converts a list of terminators into a list of strings.

func TypeFrom

func TypeFrom(terminator corev1alpha1.LogicalClusterTerminator) (logicalcluster.Name, string, error)

TypeFrom determines the WorkspaceType workspace and name from an terminator name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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