mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerClient

type BrokerClient struct {
	mock.Mock
}

BrokerClient is an autogenerated mock type for the BrokerClient type

func NewBrokerClient

func NewBrokerClient(t mockConstructorTestingTNewBrokerClient) *BrokerClient

NewBrokerClient creates a new instance of BrokerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BrokerClient) Deprovision

func (_m *BrokerClient) Deprovision(instance internal.Instance) (string, error)

Deprovision provides a mock function with given fields: instance

type GardenerClient

type GardenerClient struct {
	mock.Mock
}

GardenerClient is an autogenerated mock type for the GardenerClient type

func NewGardenerClient

func NewGardenerClient(t mockConstructorTestingTNewGardenerClient) *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.

func (*GardenerClient) Delete

func (_m *GardenerClient) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

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

func (*GardenerClient) Get

func (_m *GardenerClient) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

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

func (*GardenerClient) List

List provides a mock function with given fields: _a0, opts

func (*GardenerClient) Update

func (_m *GardenerClient) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)

Update provides a mock function with given fields: ctx, obj, options, subresources

type ProvisionerClient

type ProvisionerClient struct {
	mock.Mock
}

ProvisionerClient is an autogenerated mock type for the ProvisionerClient type

func NewProvisionerClient

func NewProvisionerClient(t mockConstructorTestingTNewProvisionerClient) *ProvisionerClient

NewProvisionerClient creates a new instance of ProvisionerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ProvisionerClient) DeprovisionRuntime

func (_m *ProvisionerClient) DeprovisionRuntime(accountID string, runtimeID string) (string, error)

DeprovisionRuntime provides a mock function with given fields: accountID, runtimeID

Jump to

Keyboard shortcuts

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