Documentation ¶
Index ¶
- func RetryUntilFound(ctx context.Context, reader client.Reader, obj client.Object) error
- type TestEnvironment
- func (e *TestEnvironment) GetClient() client.Client
- func (e *TestEnvironment) GetDockyardsNamespace() string
- func (e *TestEnvironment) GetEnvironment() *envtest.Environment
- func (e *TestEnvironment) GetManager() manager.Manager
- func (e *TestEnvironment) GetOrganization() *dockyardsv1.Organization
- func (e *TestEnvironment) GetReader() *dockyardsv1.User
- func (e *TestEnvironment) GetSuperUser() *dockyardsv1.User
- func (e *TestEnvironment) GetUser() *dockyardsv1.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.