Documentation ¶
Index ¶
- type BrokerClient
- type GardenerClient
- func (_m *GardenerClient) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (_m *GardenerClient) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (_m *GardenerClient) List(_a0 context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (_m *GardenerClient) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- type ProvisionerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerClient ¶
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 ¶
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 ¶
func (_m *GardenerClient) List(_a0 context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
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 ¶
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