Documentation ¶
Index ¶
- func NewSpaceBindingRequest(name, namespace string, options ...Option) *toolchainv1alpha1.SpaceBindingRequest
- func Provisioning() toolchainv1alpha1.Condition
- func Ready() toolchainv1alpha1.Condition
- func Terminating() toolchainv1alpha1.Condition
- func TerminatingFailed(msg string) toolchainv1alpha1.Condition
- func UnableToCreateSpaceBinding(msg string) toolchainv1alpha1.Condition
- type Assertion
- func (a *Assertion) DoesNotExist() *Assertion
- func (a *Assertion) Exists() *Assertion
- func (a *Assertion) HasConditions(expected ...toolchainv1alpha1.Condition) *Assertion
- func (a *Assertion) HasFinalizer() *Assertion
- func (a *Assertion) HasLabelWithValue(key, value string) *Assertion
- func (a *Assertion) HasNoFinalizers() *Assertion
- func (a *Assertion) HasSpecMasterUserRecord(mur string) *Assertion
- func (a *Assertion) HasSpecSpaceRole(role string) *Assertion
- type Option
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 Ready() toolchainv1alpha1.Condition
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 (*Assertion) HasConditions ¶
func (a *Assertion) HasConditions(expected ...toolchainv1alpha1.Condition) *Assertion
func (*Assertion) HasFinalizer ¶
func (*Assertion) HasLabelWithValue ¶
func (*Assertion) HasNoFinalizers ¶
func (*Assertion) HasSpecMasterUserRecord ¶
func (*Assertion) HasSpecSpaceRole ¶
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 WithSpaceRole ¶
Click to show internal directories.
Click to hide internal directories.