Documentation ¶
Overview ¶
Package mock_vault is a generated GoMock package.
Index ¶
- type MockKubernetesClient
- func (m *MockKubernetesClient) EXPECT() *MockKubernetesClientMockRecorder
- func (m *MockKubernetesClient) GetCluster(ctx context.Context, name, namespace string) (*v1alpha1.Cluster, error)
- func (m *MockKubernetesClient) GetSecret(ctx context.Context, name, namespace string) (*v11.Secret, error)
- func (m *MockKubernetesClient) GetServiceAccount(ctx context.Context, name, namespace string) (*v11.ServiceAccount, error)
- func (m *MockKubernetesClient) ListStatefulSets(ctx context.Context, namespace string, opts v12.ListOptions) (*v10.StatefulSetList, error)
- type MockKubernetesClientMockRecorder
- func (mr *MockKubernetesClientMockRecorder) GetCluster(ctx, name, namespace interface{}) *gomock.Call
- func (mr *MockKubernetesClientMockRecorder) GetSecret(ctx, name, namespace interface{}) *gomock.Call
- func (mr *MockKubernetesClientMockRecorder) GetServiceAccount(ctx, name, namespace interface{}) *gomock.Call
- func (mr *MockKubernetesClientMockRecorder) ListStatefulSets(ctx, namespace, opts interface{}) *gomock.Call
- type MockclusterAccount
- type MockclusterAccountMockRecorder
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 ¶
func (m *MockKubernetesClient) EXPECT() *MockKubernetesClientMockRecorder
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 ¶
type MockclusterAccount struct {
// contains filtered or unexported fields
}
MockclusterAccount is a mock of clusterAccount interface.
func NewMockclusterAccount ¶
func NewMockclusterAccount(ctrl *gomock.Controller) *MockclusterAccount
NewMockclusterAccount creates a new mock instance.
func (*MockclusterAccount) EXPECT ¶
func (m *MockclusterAccount) EXPECT() *MockclusterAccountMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockclusterAccount) GetAccount ¶
func (m *MockclusterAccount) GetAccount() *v1.ClusterAccount
GetAccount mocks base method.
type MockclusterAccountMockRecorder ¶
type MockclusterAccountMockRecorder struct {
// contains filtered or unexported fields
}
MockclusterAccountMockRecorder is the mock recorder for MockclusterAccount.
func (*MockclusterAccountMockRecorder) GetAccount ¶
func (mr *MockclusterAccountMockRecorder) GetAccount() *gomock.Call
GetAccount indicates an expected call of GetAccount.