space

package
v0.0.0-...-c70a42a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpace

func NewSpace(userSignup *toolchainv1alpha1.UserSignup, targetClusterName string, compliantUserName, tier string) *toolchainv1alpha1.Space

NewSpace creates a space CR for a UserSignup object.

func NewSpaceWithFeatureToggles

func NewSpaceWithFeatureToggles(userSignup *toolchainv1alpha1.UserSignup, targetClusterName string, compliantUserName, tier string, toggles []toolchainconfig.FeatureToggle) *toolchainv1alpha1.Space

NewSpaceWithFeatureToggles is the same as NewSpace() but also does a feature toggle lottery drawing and adds the corresponding feature annotations for features which "won" and should be enabled for the space.

func NewSubSpace

func NewSubSpace(spaceRequest *toolchainv1alpha1.SpaceRequest, parentSpace *toolchainv1alpha1.Space) *toolchainv1alpha1.Space

NewSubSpace creates a space CR for a SpaceRequest object.

func SubSpaceName

func SubSpaceName(parentSpace *toolchainv1alpha1.Space, spacerequest *toolchainv1alpha1.SpaceRequest) string

SubSpaceName generates a name for a subSpace based on parentSpace name and spacerequest UID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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