mocks

package
v0.4.3 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks provides the mocked resources and its clients for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNamespaceServiceClient

type MockNamespaceServiceClient struct {
}

MockNamespaceServiceClient is a mocked client that follows the controlplanev1beta1.NamespaceServiceClient interface.

func (MockNamespaceServiceClient) CreateNamespace

CreateNamespace is a mocked CreateNamespace method to satisfy the interface.

func (MockNamespaceServiceClient) DeleteNamespace

DeleteNamespace is a mocked DeleteNamespace method to satisfy the interface.

func (MockNamespaceServiceClient) GetNamespace

GetNamespace is a mocked GetNamespace method to satisfy the interface.

func (MockNamespaceServiceClient) ListNamespaces

ListNamespaces is a mocked ListNamespaces method to satisfy the interface.

func (MockNamespaceServiceClient) UpdateNamespace

UpdateNamespace is a mocked UpdateNamespace method to satisfy the interface.

type MockOperationServiceClient added in v0.4.0

type MockOperationServiceClient struct {
	// contains filtered or unexported fields
}

MockOperationServiceClient is a mock of OperationServiceClient interface.

func NewMockOperationServiceClient added in v0.4.0

func NewMockOperationServiceClient(ctrl *gomock.Controller) *MockOperationServiceClient

NewMockOperationServiceClient creates a new mock instance.

func (*MockOperationServiceClient) EXPECT added in v0.4.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOperationServiceClient) GetOperation added in v0.4.0

GetOperation mocks base method.

type MockOperationServiceClientMockRecorder added in v0.4.0

type MockOperationServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockOperationServiceClientMockRecorder is the mock recorder for MockOperationServiceClient.

func (*MockOperationServiceClientMockRecorder) GetOperation added in v0.4.0

func (mr *MockOperationServiceClientMockRecorder) GetOperation(ctx, in any, opts ...any) *gomock.Call

GetOperation indicates an expected call of GetOperation.

Jump to

Keyboard shortcuts

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