mock_kube

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_kube is a generated GoMock package.

Package mock_kube is a generated GoMock package.

Package mock_kube is a generated GoMock package.

Package mock_kube is a generated GoMock package.

Package mock_kube is a generated GoMock package.

Package mock_kube is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCrdClient

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

MockCrdClient is a mock of CrdClient interface

func NewMockCrdClient

func NewMockCrdClient(ctrl *gomock.Controller) *MockCrdClient

NewMockCrdClient creates a new mock instance

func (*MockCrdClient) CreateCrds

func (m *MockCrdClient) CreateCrds(crds ...*v1beta1.CustomResourceDefinition) error

CreateCrds mocks base method

func (*MockCrdClient) DeleteCrds

func (m *MockCrdClient) DeleteCrds(crdNames ...string) error

DeleteCrds mocks base method

func (*MockCrdClient) EXPECT

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

type MockCrdClientMockRecorder

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

MockCrdClientMockRecorder is the mock recorder for MockCrdClient

func (*MockCrdClientMockRecorder) CreateCrds

func (mr *MockCrdClientMockRecorder) CreateCrds(crds ...interface{}) *gomock.Call

CreateCrds indicates an expected call of CreateCrds

func (*MockCrdClientMockRecorder) DeleteCrds

func (mr *MockCrdClientMockRecorder) DeleteCrds(crdNames ...interface{}) *gomock.Call

DeleteCrds indicates an expected call of DeleteCrds

type MockNamespaceClient

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

MockNamespaceClient is a mock of NamespaceClient interface

func NewMockNamespaceClient

func NewMockNamespaceClient(ctrl *gomock.Controller) *MockNamespaceClient

NewMockNamespaceClient creates a new mock instance

func (*MockNamespaceClient) CreateNamespaceIfNotExist

func (m *MockNamespaceClient) CreateNamespaceIfNotExist(namespace string) error

CreateNamespaceIfNotExist mocks base method

func (*MockNamespaceClient) EXPECT

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

func (*MockNamespaceClient) TryDeleteInstallNamespace

func (m *MockNamespaceClient) TryDeleteInstallNamespace(namespaceName string)

TryDeleteInstallNamespace mocks base method

type MockNamespaceClientMockRecorder

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

MockNamespaceClientMockRecorder is the mock recorder for MockNamespaceClient

func (*MockNamespaceClientMockRecorder) CreateNamespaceIfNotExist

func (mr *MockNamespaceClientMockRecorder) CreateNamespaceIfNotExist(namespace interface{}) *gomock.Call

CreateNamespaceIfNotExist indicates an expected call of CreateNamespaceIfNotExist

func (*MockNamespaceClientMockRecorder) TryDeleteInstallNamespace

func (mr *MockNamespaceClientMockRecorder) TryDeleteInstallNamespace(namespaceName interface{}) *gomock.Call

TryDeleteInstallNamespace indicates an expected call of TryDeleteInstallNamespace

type MockPodClient

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

MockPodClient is a mock of PodClient interface

func NewMockPodClient

func NewMockPodClient(ctrl *gomock.Controller) *MockPodClient

NewMockPodClient creates a new mock instance

func (*MockPodClient) EXPECT

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

func (*MockPodClient) RestartPods

func (m *MockPodClient) RestartPods(namespace string, selector map[string]string) error

RestartPods mocks base method

type MockPodClientMockRecorder

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

MockPodClientMockRecorder is the mock recorder for MockPodClient

func (*MockPodClientMockRecorder) RestartPods

func (mr *MockPodClientMockRecorder) RestartPods(namespace, selector interface{}) *gomock.Call

RestartPods indicates an expected call of RestartPods

type MockRbacClient

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

MockRbacClient is a mock of RbacClient interface

func NewMockRbacClient

func NewMockRbacClient(ctrl *gomock.Controller) *MockRbacClient

NewMockRbacClient creates a new mock instance

func (*MockRbacClient) CreateCrbIfNotExist

func (m *MockRbacClient) CreateCrbIfNotExist(crbName, namespaceName string) error

CreateCrbIfNotExist mocks base method

func (*MockRbacClient) DeleteCrb

func (m *MockRbacClient) DeleteCrb(crbName string) error

DeleteCrb mocks base method

func (*MockRbacClient) EXPECT

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

type MockRbacClientMockRecorder

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

MockRbacClientMockRecorder is the mock recorder for MockRbacClient

func (*MockRbacClientMockRecorder) CreateCrbIfNotExist

func (mr *MockRbacClientMockRecorder) CreateCrbIfNotExist(crbName, namespaceName interface{}) *gomock.Call

CreateCrbIfNotExist indicates an expected call of CreateCrbIfNotExist

func (*MockRbacClientMockRecorder) DeleteCrb

func (mr *MockRbacClientMockRecorder) DeleteCrb(crbName interface{}) *gomock.Call

DeleteCrb indicates an expected call of DeleteCrb

type MockSecretClient

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

MockSecretClient is a mock of SecretClient interface

func NewMockSecretClient

func NewMockSecretClient(ctrl *gomock.Controller) *MockSecretClient

NewMockSecretClient creates a new mock instance

func (*MockSecretClient) Delete

func (m *MockSecretClient) Delete(namespace, name string) error

Delete mocks base method

func (*MockSecretClient) EXPECT

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

type MockSecretClientMockRecorder

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

MockSecretClientMockRecorder is the mock recorder for MockSecretClient

func (*MockSecretClientMockRecorder) Delete

func (mr *MockSecretClientMockRecorder) Delete(namespace, name interface{}) *gomock.Call

Delete indicates an expected call of Delete

type MockSecurityClient

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

MockSecurityClient is a mock of SecurityClient interface

func NewMockSecurityClient

func NewMockSecurityClient(ctrl *gomock.Controller) *MockSecurityClient

NewMockSecurityClient creates a new mock instance

func (*MockSecurityClient) EXPECT

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

func (*MockSecurityClient) GetScc

GetScc mocks base method

func (*MockSecurityClient) UpdateScc

UpdateScc mocks base method

type MockSecurityClientMockRecorder

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

MockSecurityClientMockRecorder is the mock recorder for MockSecurityClient

func (*MockSecurityClientMockRecorder) GetScc

func (mr *MockSecurityClientMockRecorder) GetScc(name interface{}) *gomock.Call

GetScc indicates an expected call of GetScc

func (*MockSecurityClientMockRecorder) UpdateScc

func (mr *MockSecurityClientMockRecorder) UpdateScc(arg0 interface{}) *gomock.Call

UpdateScc indicates an expected call of UpdateScc

Jump to

Keyboard shortcuts

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