mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplier

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

MockApplier is a mock of Applier interface.

func NewMockApplier

func NewMockApplier(ctrl *gomock.Controller) *MockApplier

NewMockApplier creates a new mock instance.

func (*MockApplier) Apply

func (m *MockApplier) Apply(arg0 ...resources.Resource)

Apply mocks base method.

func (*MockApplier) ApplySet

func (m *MockApplier) ApplySet(arg0, arg1 []resources.Resource)

ApplySet mocks base method.

func (*MockApplier) Delete

func (m *MockApplier) Delete(arg0 ...resources.Resource)

Delete mocks base method.

func (*MockApplier) EXPECT

func (m *MockApplier) EXPECT() *MockApplierMockRecorder

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

func (*MockApplier) Run

func (m *MockApplier) Run(arg0 context.Context, arg1 kubernetes.Interface, arg2 bool) error

Run mocks base method.

type MockApplierMockRecorder

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

MockApplierMockRecorder is the mock recorder for MockApplier.

func (*MockApplierMockRecorder) Apply

func (mr *MockApplierMockRecorder) Apply(arg0 ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockApplierMockRecorder) ApplySet

func (mr *MockApplierMockRecorder) ApplySet(arg0, arg1 interface{}) *gomock.Call

ApplySet indicates an expected call of ApplySet.

func (*MockApplierMockRecorder) Delete

func (mr *MockApplierMockRecorder) Delete(arg0 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockApplierMockRecorder) Run

func (mr *MockApplierMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockResource

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

MockResource is a mock of Resource interface.

func NewMockResource

func NewMockResource(ctrl *gomock.Controller) *MockResource

NewMockResource creates a new mock instance.

func (*MockResource) Apply

func (m *MockResource) Apply(arg0 context.Context, arg1 kubernetes.Interface) error

Apply mocks base method.

func (*MockResource) Clone

func (m *MockResource) Clone() resources.Resource

Clone mocks base method.

func (*MockResource) ComputeStatus

func (m *MockResource) ComputeStatus(arg0 context.Context, arg1 kubernetes.Interface, arg2 time.Time) (string, status.Status, time.Time, error)

ComputeStatus mocks base method.

func (*MockResource) Delete

func (m *MockResource) Delete(arg0 context.Context, arg1 kubernetes.Interface) error

Delete mocks base method.

func (*MockResource) EXPECT

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

func (*MockResource) Events

func (m *MockResource) Events(arg0 context.Context, arg1 kubernetes.Interface) ([]v1.Event, error)

Events mocks base method.

func (*MockResource) Get

Get mocks base method.

func (*MockResource) GetObjectMeta

func (m *MockResource) GetObjectMeta() v10.Object

GetObjectMeta mocks base method.

func (*MockResource) ID

func (m *MockResource) ID() resources.ID

ID mocks base method.

func (*MockResource) String

func (m *MockResource) String() string

String mocks base method.

type MockResourceMockRecorder

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

MockResourceMockRecorder is the mock recorder for MockResource.

func (*MockResourceMockRecorder) Apply

func (mr *MockResourceMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockResourceMockRecorder) Clone

func (mr *MockResourceMockRecorder) Clone() *gomock.Call

Clone indicates an expected call of Clone.

func (*MockResourceMockRecorder) ComputeStatus

func (mr *MockResourceMockRecorder) ComputeStatus(arg0, arg1, arg2 interface{}) *gomock.Call

ComputeStatus indicates an expected call of ComputeStatus.

func (*MockResourceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockResourceMockRecorder) Events

func (mr *MockResourceMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockResourceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockResourceMockRecorder) GetObjectMeta

func (mr *MockResourceMockRecorder) GetObjectMeta() *gomock.Call

GetObjectMeta indicates an expected call of GetObjectMeta.

func (*MockResourceMockRecorder) ID

ID indicates an expected call of ID.

func (*MockResourceMockRecorder) String

func (mr *MockResourceMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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