termination

package
v0.33.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 TerminatorPresent added in v0.32.0

func TerminatorPresent(terminator corev1alpha1.LogicalClusterTerminator, terminators []corev1alpha1.LogicalClusterTerminator) bool

TerminatorPresent returns true if the given terminator is in the list of terminators.

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

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