mock_vault

package
v0.3.6 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_vault is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKubernetesClient

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

MockKubernetesClient is a mock of KubernetesClient interface.

func NewMockKubernetesClient

func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient

NewMockKubernetesClient creates a new mock instance.

func (*MockKubernetesClient) EXPECT

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

func (*MockKubernetesClient) GetCluster

func (m *MockKubernetesClient) GetCluster(ctx context.Context, name, namespace string) (*v1alpha1.Cluster, error)

GetCluster mocks base method.

func (*MockKubernetesClient) GetSecret

func (m *MockKubernetesClient) GetSecret(ctx context.Context, name, namespace string) (*v11.Secret, error)

GetSecret mocks base method.

func (*MockKubernetesClient) GetServiceAccount

func (m *MockKubernetesClient) GetServiceAccount(ctx context.Context, name, namespace string) (*v11.ServiceAccount, error)

GetServiceAccount mocks base method.

func (*MockKubernetesClient) ListStatefulSets

func (m *MockKubernetesClient) ListStatefulSets(ctx context.Context, namespace string, opts v12.ListOptions) (*v10.StatefulSetList, error)

ListStatefulSets mocks base method.

type MockKubernetesClientMockRecorder

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

MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient.

func (*MockKubernetesClientMockRecorder) GetCluster

func (mr *MockKubernetesClientMockRecorder) GetCluster(ctx, name, namespace interface{}) *gomock.Call

GetCluster indicates an expected call of GetCluster.

func (*MockKubernetesClientMockRecorder) GetSecret

func (mr *MockKubernetesClientMockRecorder) GetSecret(ctx, name, namespace interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockKubernetesClientMockRecorder) GetServiceAccount

func (mr *MockKubernetesClientMockRecorder) GetServiceAccount(ctx, name, namespace interface{}) *gomock.Call

GetServiceAccount indicates an expected call of GetServiceAccount.

func (*MockKubernetesClientMockRecorder) ListStatefulSets

func (mr *MockKubernetesClientMockRecorder) ListStatefulSets(ctx, namespace, opts interface{}) *gomock.Call

ListStatefulSets indicates an expected call of ListStatefulSets.

type MockclusterAccount added in v0.3.0

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

MockclusterAccount is a mock of clusterAccount interface.

func NewMockclusterAccount added in v0.3.0

func NewMockclusterAccount(ctrl *gomock.Controller) *MockclusterAccount

NewMockclusterAccount creates a new mock instance.

func (*MockclusterAccount) EXPECT added in v0.3.0

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

func (*MockclusterAccount) GetAccount added in v0.3.0

func (m *MockclusterAccount) GetAccount() *v1.ClusterAccount

GetAccount mocks base method.

type MockclusterAccountMockRecorder added in v0.3.0

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

MockclusterAccountMockRecorder is the mock recorder for MockclusterAccount.

func (*MockclusterAccountMockRecorder) GetAccount added in v0.3.0

func (mr *MockclusterAccountMockRecorder) GetAccount() *gomock.Call

GetAccount indicates an expected call of GetAccount.

Jump to

Keyboard shortcuts

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