testutil

package
v0.0.0-...-4da6f2b Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MockAWSRegion          = "us-gov-west-1"
	MockDomainName         = "mock-domain.com"
	MockInfrastructureName = "mock-12345"
	MockVpcEndpointId      = "vpce-12345"
	MockVpcEndpointDnsName = "vpce-12345.amazonaws.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKubeClient

type MockKubeClient struct {
	Client client.Client
}

func NewDefaultMock

func NewDefaultMock() (*MockKubeClient, error)

func NewMock

func NewMock(obs ...client.Object) (*MockKubeClient, error)

func NewTestMock

func NewTestMock(t *testing.T, objs ...client.Object) *MockKubeClient

Jump to

Keyboard shortcuts

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