Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpaceBinding ¶
func NewSpaceBinding(mur, space, spaceRole, creator string, options ...Option) *toolchainv1alpha1.SpaceBinding
Types ¶
type Assertion ¶
type Assertion struct {
// contains filtered or unexported fields
}
func AssertThatSpaceBinding ¶
func AssertThatSpaceBinding(t test.T, namespace, murName, spaceName string, client runtimeclient.Client) *Assertion
AssertThatSpaceBinding helper func to begin with the assertions on a SpaceBinding
func (*Assertion) DoesNotExist ¶
func (*Assertion) Get ¶
func (a *Assertion) Get() *toolchainv1alpha1.SpaceBinding
func (*Assertion) HasLabelWithValue ¶
type Option ¶
type Option func(spaceRequest *toolchainv1alpha1.SpaceBinding)
func WithDeletionTimestamp ¶
func WithDeletionTimestamp() Option
func WithFinalizer ¶
func WithFinalizer() Option
func WithSpaceBindingRequest ¶
func WithSpaceBindingRequest(sbr *toolchainv1alpha1.SpaceBindingRequest) Option
type SpaceBindingsAssertion ¶
type SpaceBindingsAssertion struct {
// contains filtered or unexported fields
}
Assertions on multiple SpaceBindings at once
func AssertThatSpaceBindings ¶
func AssertThatSpaceBindings(t test.T, client runtimeclient.Client) *SpaceBindingsAssertion
func (*SpaceBindingsAssertion) Get ¶
func (a *SpaceBindingsAssertion) Get() *toolchainv1alpha1.SpaceBindingList
func (*SpaceBindingsAssertion) HaveCount ¶
func (a *SpaceBindingsAssertion) HaveCount(count int) *SpaceBindingsAssertion
Click to show internal directories.
Click to hide internal directories.