mock

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock 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) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(name string, options ...v10.GetOptions) (*v1.Namespace, bool, error)

Get mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(name interface{}, options ...interface{}) *gomock.Call

Get indicates an expected call of Get

type MockNamespaceInterface

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

MockNamespaceInterface is a mock of NamespaceInterface interface

func NewMockNamespaceInterface

func NewMockNamespaceInterface(ctrl *gomock.Controller) *MockNamespaceInterface

NewMockNamespaceInterface creates a new mock instance

func (*MockNamespaceInterface) Create

func (m *MockNamespaceInterface) Create(arg0 *v1.Namespace) (*v1.Namespace, error)

Create mocks base method

func (*MockNamespaceInterface) Delete

func (m *MockNamespaceInterface) Delete(arg0 string, arg1 *v10.DeleteOptions) error

Delete mocks base method

func (*MockNamespaceInterface) EXPECT

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

func (*MockNamespaceInterface) Finalize

func (m *MockNamespaceInterface) Finalize(arg0 *v1.Namespace) (*v1.Namespace, error)

Finalize mocks base method

func (*MockNamespaceInterface) Get

func (m *MockNamespaceInterface) Get(arg0 string, arg1 v10.GetOptions) (*v1.Namespace, error)

Get mocks base method

func (*MockNamespaceInterface) List

List mocks base method

func (*MockNamespaceInterface) Patch

func (m *MockNamespaceInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v1.Namespace, error)

Patch mocks base method

func (*MockNamespaceInterface) Update

func (m *MockNamespaceInterface) Update(arg0 *v1.Namespace) (*v1.Namespace, error)

Update mocks base method

func (*MockNamespaceInterface) UpdateStatus

func (m *MockNamespaceInterface) UpdateStatus(arg0 *v1.Namespace) (*v1.Namespace, error)

UpdateStatus mocks base method

func (*MockNamespaceInterface) Watch

Watch mocks base method

type MockNamespaceInterfaceMockRecorder

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

MockNamespaceInterfaceMockRecorder is the mock recorder for MockNamespaceInterface

func (*MockNamespaceInterfaceMockRecorder) Create

func (mr *MockNamespaceInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNamespaceInterfaceMockRecorder) Delete

func (mr *MockNamespaceInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockNamespaceInterfaceMockRecorder) Finalize

func (mr *MockNamespaceInterfaceMockRecorder) Finalize(arg0 interface{}) *gomock.Call

Finalize indicates an expected call of Finalize

func (*MockNamespaceInterfaceMockRecorder) Get

func (mr *MockNamespaceInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockNamespaceInterfaceMockRecorder) List

func (mr *MockNamespaceInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockNamespaceInterfaceMockRecorder) Patch

func (mr *MockNamespaceInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockNamespaceInterfaceMockRecorder) Update

func (mr *MockNamespaceInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockNamespaceInterfaceMockRecorder) UpdateStatus

func (mr *MockNamespaceInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus

func (*MockNamespaceInterfaceMockRecorder) Watch

func (mr *MockNamespaceInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockNamespacesGetter

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

MockNamespacesGetter is a mock of NamespacesGetter interface

func NewMockNamespacesGetter

func NewMockNamespacesGetter(ctrl *gomock.Controller) *MockNamespacesGetter

NewMockNamespacesGetter creates a new mock instance

func (*MockNamespacesGetter) EXPECT

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

func (*MockNamespacesGetter) Namespaces

func (m *MockNamespacesGetter) Namespaces() v1.NamespaceInterface

Namespaces mocks base method

type MockNamespacesGetterMockRecorder

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

MockNamespacesGetterMockRecorder is the mock recorder for MockNamespacesGetter

func (*MockNamespacesGetterMockRecorder) Namespaces

func (mr *MockNamespacesGetterMockRecorder) Namespaces() *gomock.Call

Namespaces indicates an expected call of Namespaces

Jump to

Keyboard shortcuts

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