mock_internal

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) DeletePods

func (m *MockClient) DeletePods(namespace string, opts v11.ListOptions) error

DeletePods mocks base method

func (*MockClient) DeleteSecret

func (m *MockClient) DeleteSecret(secret *v10.Secret) error

DeleteSecret mocks base method

func (*MockClient) DeleteServiceAccount

func (m *MockClient) DeleteServiceAccount(sa *v10.ServiceAccount) error

DeleteServiceAccount mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetDeployment

func (m *MockClient) GetDeployment(namespace, name string) (*v1.Deployment, error)

GetDeployment mocks base method

func (*MockClient) ListDaemonSets

func (m *MockClient) ListDaemonSets(namespace string, opts v11.ListOptions) (*v1.DaemonSetList, error)

ListDaemonSets mocks base method

func (*MockClient) ListDeployments

func (m *MockClient) ListDeployments(namespace string, opts v11.ListOptions) (*v1.DeploymentList, error)

ListDeployments mocks base method

func (*MockClient) ListNodes

func (m *MockClient) ListNodes() (*v10.NodeList, error)

ListNodes mocks base method

func (*MockClient) ListPodsByOptions

func (m *MockClient) ListPodsByOptions(namespace string, opts v11.ListOptions) (*v10.PodList, error)

ListPodsByOptions mocks base method

func (*MockClient) ListSecrets

func (m *MockClient) ListSecrets(namespace string, opts v11.ListOptions) (*v10.SecretList, error)

ListSecrets mocks base method

func (*MockClient) ListServiceAccountsByOptions

func (m *MockClient) ListServiceAccountsByOptions(namespace string, opts v11.ListOptions) (*v10.ServiceAccountList, error)

ListServiceAccountsByOptions mocks base method

func (*MockClient) PatchDaemonSet

func (m *MockClient) PatchDaemonSet(namespace, name, jsonPatch string) (*v1.DaemonSet, error)

PatchDaemonSet mocks base method

func (*MockClient) PatchDeployment

func (m *MockClient) PatchDeployment(namespace, name, jsonPatch string) (*v1.Deployment, error)

PatchDeployment mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) DeletePods

func (mr *MockClientMockRecorder) DeletePods(namespace, opts interface{}) *gomock.Call

DeletePods indicates an expected call of DeletePods

func (*MockClientMockRecorder) DeleteSecret

func (mr *MockClientMockRecorder) DeleteSecret(secret interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockClientMockRecorder) DeleteServiceAccount

func (mr *MockClientMockRecorder) DeleteServiceAccount(sa interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount

func (*MockClientMockRecorder) GetDeployment

func (mr *MockClientMockRecorder) GetDeployment(namespace, name interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment

func (*MockClientMockRecorder) ListDaemonSets

func (mr *MockClientMockRecorder) ListDaemonSets(namespace, opts interface{}) *gomock.Call

ListDaemonSets indicates an expected call of ListDaemonSets

func (*MockClientMockRecorder) ListDeployments

func (mr *MockClientMockRecorder) ListDeployments(namespace, opts interface{}) *gomock.Call

ListDeployments indicates an expected call of ListDeployments

func (*MockClientMockRecorder) ListNodes

func (mr *MockClientMockRecorder) ListNodes() *gomock.Call

ListNodes indicates an expected call of ListNodes

func (*MockClientMockRecorder) ListPodsByOptions

func (mr *MockClientMockRecorder) ListPodsByOptions(namespace, opts interface{}) *gomock.Call

ListPodsByOptions indicates an expected call of ListPodsByOptions

func (*MockClientMockRecorder) ListSecrets

func (mr *MockClientMockRecorder) ListSecrets(namespace, opts interface{}) *gomock.Call

ListSecrets indicates an expected call of ListSecrets

func (*MockClientMockRecorder) ListServiceAccountsByOptions

func (mr *MockClientMockRecorder) ListServiceAccountsByOptions(namespace, opts interface{}) *gomock.Call

ListServiceAccountsByOptions indicates an expected call of ListServiceAccountsByOptions

func (*MockClientMockRecorder) PatchDaemonSet

func (mr *MockClientMockRecorder) PatchDaemonSet(namespace, name, jsonPatch interface{}) *gomock.Call

PatchDaemonSet indicates an expected call of PatchDaemonSet

func (*MockClientMockRecorder) PatchDeployment

func (mr *MockClientMockRecorder) PatchDeployment(namespace, name, jsonPatch interface{}) *gomock.Call

PatchDeployment indicates an expected call of PatchDeployment

Jump to

Keyboard shortcuts

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