fake

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDashboardClient

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

MockDashboardClient is a mock of DashboardClient interface.

func NewMockDashboardClient

func NewMockDashboardClient(ctrl *gomock.Controller) *MockDashboardClient

NewMockDashboardClient creates a new mock instance.

func (*MockDashboardClient) ApplyYAML added in v0.24.0

ApplyYAML mocks base method.

func (*MockDashboardClient) CancelPortForward

func (m *MockDashboardClient) CancelPortForward(arg0 context.Context, arg1 *proto.CancelPortForwardRequest, arg2 ...grpc.CallOption) (*proto.Empty, error)

CancelPortForward mocks base method.

func (*MockDashboardClient) Create added in v0.12.0

Create mocks base method.

func (m *MockDashboardClient) CreateLink(arg0 context.Context, arg1 *proto.KeyRequest, arg2 ...grpc.CallOption) (*proto.LinkResponse, error)

CreateLink mocks base method.

func (*MockDashboardClient) Delete added in v0.19.0

Delete mocks base method.

func (*MockDashboardClient) EXPECT

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

func (*MockDashboardClient) ForceFrontendUpdate

func (m *MockDashboardClient) ForceFrontendUpdate(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.Empty, error)

ForceFrontendUpdate mocks base method.

func (*MockDashboardClient) Get

Get mocks base method.

func (*MockDashboardClient) List

List mocks base method.

func (*MockDashboardClient) ListNamespaces added in v0.11.0

func (m *MockDashboardClient) ListNamespaces(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.NamespacesResponse, error)

ListNamespaces mocks base method.

func (*MockDashboardClient) PortForward

PortForward mocks base method.

func (*MockDashboardClient) SendAlert added in v0.16.0

func (m *MockDashboardClient) SendAlert(arg0 context.Context, arg1 *proto.AlertRequest, arg2 ...grpc.CallOption) (*proto.Empty, error)

SendAlert mocks base method.

func (*MockDashboardClient) SendEvent added in v0.23.0

SendEvent mocks base method.

func (*MockDashboardClient) Update

Update mocks base method.

type MockDashboardClientMockRecorder

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

MockDashboardClientMockRecorder is the mock recorder for MockDashboardClient.

func (*MockDashboardClientMockRecorder) ApplyYAML added in v0.24.0

func (mr *MockDashboardClientMockRecorder) ApplyYAML(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ApplyYAML indicates an expected call of ApplyYAML.

func (*MockDashboardClientMockRecorder) CancelPortForward

func (mr *MockDashboardClientMockRecorder) CancelPortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CancelPortForward indicates an expected call of CancelPortForward.

func (*MockDashboardClientMockRecorder) Create added in v0.12.0

func (mr *MockDashboardClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (mr *MockDashboardClientMockRecorder) CreateLink(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateLink indicates an expected call of CreateLink.

func (*MockDashboardClientMockRecorder) Delete added in v0.19.0

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

Delete indicates an expected call of Delete.

func (*MockDashboardClientMockRecorder) ForceFrontendUpdate

func (mr *MockDashboardClientMockRecorder) ForceFrontendUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ForceFrontendUpdate indicates an expected call of ForceFrontendUpdate.

func (*MockDashboardClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockDashboardClientMockRecorder) List

func (mr *MockDashboardClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockDashboardClientMockRecorder) ListNamespaces added in v0.11.0

func (mr *MockDashboardClientMockRecorder) ListNamespaces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListNamespaces indicates an expected call of ListNamespaces.

func (*MockDashboardClientMockRecorder) PortForward

func (mr *MockDashboardClientMockRecorder) PortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PortForward indicates an expected call of PortForward.

func (*MockDashboardClientMockRecorder) SendAlert added in v0.16.0

func (mr *MockDashboardClientMockRecorder) SendAlert(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SendAlert indicates an expected call of SendAlert.

func (*MockDashboardClientMockRecorder) SendEvent added in v0.23.0

func (mr *MockDashboardClientMockRecorder) SendEvent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SendEvent indicates an expected call of SendEvent.

func (*MockDashboardClientMockRecorder) Update

func (mr *MockDashboardClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockDashboardConnection

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

MockDashboardConnection is a mock of DashboardConnection interface.

func NewMockDashboardConnection

func NewMockDashboardConnection(ctrl *gomock.Controller) *MockDashboardConnection

NewMockDashboardConnection creates a new mock instance.

func (*MockDashboardConnection) Client

Client mocks base method.

func (*MockDashboardConnection) Close

func (m *MockDashboardConnection) Close() error

Close mocks base method.

func (*MockDashboardConnection) EXPECT

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

type MockDashboardConnectionMockRecorder

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

MockDashboardConnectionMockRecorder is the mock recorder for MockDashboardConnection.

func (*MockDashboardConnectionMockRecorder) Client

Client indicates an expected call of Client.

func (*MockDashboardConnectionMockRecorder) Close

Close indicates an expected call of Close.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) ApplyYAML added in v0.24.0

func (m *MockService) ApplyYAML(arg0 context.Context, arg1, arg2 string) ([]string, error)

ApplyYAML mocks base method.

func (*MockService) CancelPortForward

func (m *MockService) CancelPortForward(arg0 context.Context, arg1 string)

CancelPortForward mocks base method.

func (*MockService) Create added in v0.12.0

func (m *MockService) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error

Create mocks base method.

func (m *MockService) CreateLink(arg0 context.Context, arg1 store.Key) (api.LinkResponse, error)

CreateLink mocks base method.

func (*MockService) Delete added in v0.19.0

func (m *MockService) Delete(arg0 context.Context, arg1 store.Key) error

Delete mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) ForceFrontendUpdate

func (m *MockService) ForceFrontendUpdate(arg0 context.Context) error

ForceFrontendUpdate mocks base method.

func (*MockService) Get

Get mocks base method.

func (*MockService) List

List mocks base method.

func (*MockService) ListNamespaces added in v0.11.0

func (m *MockService) ListNamespaces(arg0 context.Context) (api.NamespacesResponse, error)

ListNamespaces mocks base method.

func (*MockService) PortForward

PortForward mocks base method.

func (*MockService) SendAlert added in v0.16.0

func (m *MockService) SendAlert(arg0 context.Context, arg1 string, arg2 action.Alert) error

SendAlert mocks base method.

func (*MockService) SendEvent added in v0.23.0

func (m *MockService) SendEvent(arg0 context.Context, arg1 string, arg2 event.EventType, arg3 action.Payload) error

SendEvent mocks base method.

func (*MockService) Update

func (m *MockService) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error

Update mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) ApplyYAML added in v0.24.0

func (mr *MockServiceMockRecorder) ApplyYAML(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyYAML indicates an expected call of ApplyYAML.

func (*MockServiceMockRecorder) CancelPortForward

func (mr *MockServiceMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call

CancelPortForward indicates an expected call of CancelPortForward.

func (*MockServiceMockRecorder) Create added in v0.12.0

func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (mr *MockServiceMockRecorder) CreateLink(arg0, arg1 interface{}) *gomock.Call

CreateLink indicates an expected call of CreateLink.

func (*MockServiceMockRecorder) Delete added in v0.19.0

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

Delete indicates an expected call of Delete.

func (*MockServiceMockRecorder) ForceFrontendUpdate

func (mr *MockServiceMockRecorder) ForceFrontendUpdate(arg0 interface{}) *gomock.Call

ForceFrontendUpdate indicates an expected call of ForceFrontendUpdate.

func (*MockServiceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockServiceMockRecorder) ListNamespaces added in v0.11.0

func (mr *MockServiceMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call

ListNamespaces indicates an expected call of ListNamespaces.

func (*MockServiceMockRecorder) PortForward

func (mr *MockServiceMockRecorder) PortForward(arg0, arg1 interface{}) *gomock.Call

PortForward indicates an expected call of PortForward.

func (*MockServiceMockRecorder) SendAlert added in v0.16.0

func (mr *MockServiceMockRecorder) SendAlert(arg0, arg1, arg2 interface{}) *gomock.Call

SendAlert indicates an expected call of SendAlert.

func (*MockServiceMockRecorder) SendEvent added in v0.23.0

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

SendEvent indicates an expected call of SendEvent.

func (*MockServiceMockRecorder) Update

func (mr *MockServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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