spacebindingrequest

package
v0.0.0-...-34f3205 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpaceBindingRequest

func NewSpaceBindingRequest(name, namespace string, options ...Option) *toolchainv1alpha1.SpaceBindingRequest

func Provisioning

func Provisioning() toolchainv1alpha1.Condition

func Ready

func Terminating

func Terminating() toolchainv1alpha1.Condition

func TerminatingFailed

func TerminatingFailed(msg string) toolchainv1alpha1.Condition

func UnableToCreateSpaceBinding

func UnableToCreateSpaceBinding(msg string) toolchainv1alpha1.Condition

Types

type Assertion

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

func AssertThatSpaceBindingRequest

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

AssertThatSpaceBindingRequest helper func to begin with the assertions on a SpaceBindingRequests

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) HasFinalizer

func (a *Assertion) HasFinalizer() *Assertion

func (*Assertion) HasLabelWithValue

func (a *Assertion) HasLabelWithValue(key, value string) *Assertion

func (*Assertion) HasNoFinalizers

func (a *Assertion) HasNoFinalizers() *Assertion

func (*Assertion) HasSpecMasterUserRecord

func (a *Assertion) HasSpecMasterUserRecord(mur string) *Assertion

func (*Assertion) HasSpecSpaceRole

func (a *Assertion) HasSpecSpaceRole(role string) *Assertion

type Option

type Option func(spaceRequest *toolchainv1alpha1.SpaceBindingRequest)

func WithCondition

func WithCondition(c toolchainv1alpha1.Condition) Option

func WithDeletionTimestamp

func WithDeletionTimestamp() Option

func WithFinalizer

func WithFinalizer() Option

func WithLabel

func WithLabel(key, value string) Option

func WithMUR

func WithMUR(mur string) Option

func WithSpaceRole

func WithSpaceRole(spaceRole string) Option

Jump to

Keyboard shortcuts

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