initialization

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializerForReference

InitializerForReference determines the identifier for the implicit initializer associated with the WorkspaceType referred to with the reference.

func InitializerForType

InitializerForType determines the identifier for the implicit initializer associated with the WorkspaceType.

func InitializerPresent

func InitializerPresent(initializer corev1alpha1.LogicalClusterInitializer, initializers []corev1alpha1.LogicalClusterInitializer) bool

func InitializerToLabel

func InitializerToLabel(initializer corev1alpha1.LogicalClusterInitializer) (string, string)

InitializerToLabel transforms an initializer 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 TypeFrom

func TypeFrom(initializer corev1alpha1.LogicalClusterInitializer) (logicalcluster.Name, string, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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