testUtils

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestUtils

type TestUtils struct {
	S3Factory s3factory.S3Factory
	Client    client.Client
}

func NewTestUtils

func NewTestUtils() *TestUtils

func (*TestUtils) GenerateBasicS3InstanceAndSecret

func (t *TestUtils) GenerateBasicS3InstanceAndSecret() (*s3v1alpha1.S3Instance, *corev1.Secret)

func (*TestUtils) SetupClient

func (t *TestUtils) SetupClient(objects []client.Object)

func (*TestUtils) SetupDefaultS3instance

func (t *TestUtils) SetupDefaultS3instance() *s3v1alpha1.S3Instance

func (*TestUtils) SetupMockedS3FactoryAndClient

func (t *TestUtils) SetupMockedS3FactoryAndClient()

Jump to

Keyboard shortcuts

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