spacebinding

package
v0.0.0-...-c70a42a Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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 (a *Assertion) DoesNotExist() *Assertion

func (*Assertion) Exists

func (a *Assertion) Exists() *Assertion

func (*Assertion) Get

func (*Assertion) HasLabelWithValue

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

func (*Assertion) HasSpec

func (a *Assertion) HasSpec(murName, spaceName, spaceRole string) *Assertion

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 (*SpaceBindingsAssertion) HaveCount

func (a *SpaceBindingsAssertion) HaveCount(count int) *SpaceBindingsAssertion

Jump to

Keyboard shortcuts

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