spacerequest

package
v0.0.0-...-473eb77 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 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 NewNamespace

func NewNamespace(spacename string) *corev1.Namespace

func NewSpaceRequest

func NewSpaceRequest(name, namespace string, options ...Option) *toolchainv1alpha1.SpaceRequest

Types

type Assertion

type Assertion struct {
	// contains filtered or unexported fields
}

func AssertThatSpaceRequest

func AssertThatSpaceRequest(t test.T, namespace, name string, client runtimeclient.Client) *Assertion

AssertThatSpaceRequest helper func to begin with the assertions on a SpaceRequests

func (*Assertion) DoesNotExist

func (a *Assertion) DoesNotExist() *Assertion

func (*Assertion) Exists

func (a *Assertion) Exists() *Assertion

func (*Assertion) HasConditions

func (a *Assertion) HasConditions(expected ...toolchainv1alpha1.Condition) *Assertion

func (*Assertion) HasDisableInheritance

func (a *Assertion) HasDisableInheritance(disableInheritance bool) *Assertion

func (*Assertion) HasFinalizer

func (a *Assertion) HasFinalizer() *Assertion

func (*Assertion) HasNamespaceAccess

func (a *Assertion) HasNamespaceAccess(namespaceAccess []toolchainv1alpha1.NamespaceAccess) *Assertion

func (*Assertion) HasNoFinalizers

func (a *Assertion) HasNoFinalizers() *Assertion

func (*Assertion) HasSpecTargetClusterRoles

func (a *Assertion) HasSpecTargetClusterRoles(roles []string) *Assertion

func (*Assertion) HasSpecTierName

func (a *Assertion) HasSpecTierName(tierName string) *Assertion

func (*Assertion) HasStatusTargetClusterURL

func (a *Assertion) HasStatusTargetClusterURL(targetCluster string) *Assertion

func (*Assertion) HasTargetClusterURL

func (a *Assertion) HasTargetClusterURL(targetCluster string) *Assertion

type Option

type Option func(spaceRequest *toolchainv1alpha1.SpaceRequest)

func WithDeletionTimestamp

func WithDeletionTimestamp() Option

func WithDisableInheritance

func WithDisableInheritance(disableInheritance bool) Option

func WithFinalizer

func WithFinalizer() Option

func WithStatusNamespaceAccess

func WithStatusNamespaceAccess(namespaceAccess toolchainv1alpha1.NamespaceAccess) Option

func WithStatusTargetClusterURL

func WithStatusTargetClusterURL(targetClusterURL string) Option

func WithTargetClusterRoles

func WithTargetClusterRoles(targetClusterRoles []string) Option

func WithTierName

func WithTierName(tierName string) Option

Jump to

Keyboard shortcuts

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