testingutil

package
v0.13.10 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryUntilFound added in v0.13.7

func RetryUntilFound(ctx context.Context, reader client.Reader, obj client.Object) error

Types

type TestEnvironment

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

func NewTestEnvironment

func NewTestEnvironment(ctx context.Context, crdDirectoryPaths []string) (*TestEnvironment, error)

func (*TestEnvironment) GetClient

func (e *TestEnvironment) GetClient() client.Client

func (*TestEnvironment) GetDockyardsNamespace

func (e *TestEnvironment) GetDockyardsNamespace() string

func (*TestEnvironment) GetEnvironment

func (e *TestEnvironment) GetEnvironment() *envtest.Environment

func (*TestEnvironment) GetManager

func (e *TestEnvironment) GetManager() manager.Manager

func (*TestEnvironment) GetOrganization

func (e *TestEnvironment) GetOrganization() *dockyardsv1.Organization

func (*TestEnvironment) GetReader

func (e *TestEnvironment) GetReader() *dockyardsv1.User

func (*TestEnvironment) GetSuperUser

func (e *TestEnvironment) GetSuperUser() *dockyardsv1.User

func (*TestEnvironment) GetUser

func (e *TestEnvironment) GetUser() *dockyardsv1.User

Jump to

Keyboard shortcuts

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