Documentation ¶
Index ¶
- func NewSpace(userSignup *toolchainv1alpha1.UserSignup, targetClusterName string, ...) *toolchainv1alpha1.Space
- func NewSpaceWithFeatureToggles(userSignup *toolchainv1alpha1.UserSignup, targetClusterName string, ...) *toolchainv1alpha1.Space
- func NewSubSpace(spaceRequest *toolchainv1alpha1.SpaceRequest, ...) *toolchainv1alpha1.Space
- func SubSpaceName(parentSpace *toolchainv1alpha1.Space, ...) string
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.
Click to show internal directories.
Click to hide internal directories.