mocks

package
v0.0.0-...-9dbba9d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicKubeconfigProvider

type DynamicKubeconfigProvider struct {
	mock.Mock
}

DynamicKubeconfigProvider is an autogenerated mock type for the DynamicKubeconfigProvider type

func NewDynamicKubeconfigProvider

func NewDynamicKubeconfigProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *DynamicKubeconfigProvider

NewDynamicKubeconfigProvider creates a new instance of DynamicKubeconfigProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DynamicKubeconfigProvider) FetchFromRequest

func (_m *DynamicKubeconfigProvider) FetchFromRequest(shootName string) ([]byte, error)

FetchFromRequest provides a mock function with given fields: shootName

type GardenerClient

type GardenerClient struct {
	mock.Mock
}

GardenerClient is an autogenerated mock type for the GardenerClient type

func NewGardenerClient

func NewGardenerClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *GardenerClient

NewGardenerClient creates a new instance of GardenerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GardenerClient) Get

func (_m *GardenerClient) Get(ctx context.Context, name string, options v1.GetOptions) (*v1beta1.Shoot, error)

Get provides a mock function with given fields: ctx, name, options

Jump to

Keyboard shortcuts

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