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.

Package fake is a generated GoMock package.

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 MockDashboardClientFunction added in v0.15.0

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

MockDashboardClientFunction is a mock of DashboardClientFunction interface.

func NewMockDashboardClientFunction added in v0.15.0

func NewMockDashboardClientFunction(ctrl *gomock.Controller) *MockDashboardClientFunction

NewMockDashboardClientFunction creates a new mock instance.

func (*MockDashboardClientFunction) Call added in v0.15.0

Call mocks base method.

func (*MockDashboardClientFunction) EXPECT added in v0.15.0

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

func (*MockDashboardClientFunction) Name added in v0.15.0

Name mocks base method.

type MockDashboardClientFunctionMockRecorder added in v0.15.0

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

MockDashboardClientFunctionMockRecorder is the mock recorder for MockDashboardClientFunction.

func (*MockDashboardClientFunctionMockRecorder) Call added in v0.15.0

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

Call indicates an expected call of Call.

func (*MockDashboardClientFunctionMockRecorder) Name added in v0.15.0

Name indicates an expected call of Name.

type MockGenerator

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

MockGenerator is a mock of Generator interface.

func NewMockGenerator

func NewMockGenerator(ctrl *gomock.Controller) *MockGenerator

NewMockGenerator creates a new mock instance.

func (*MockGenerator) EXPECT

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

func (*MockGenerator) Events added in v0.21.0

func (m *MockGenerator) Events(arg0 context.Context) ([]event.Event, error)

Events mocks base method.

func (*MockGenerator) Name

func (m *MockGenerator) Name() string

Name mocks base method.

func (*MockGenerator) ScheduleDelay

func (m *MockGenerator) ScheduleDelay() time.Duration

ScheduleDelay mocks base method.

type MockGeneratorMockRecorder

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

MockGeneratorMockRecorder is the mock recorder for MockGenerator.

func (*MockGeneratorMockRecorder) Events added in v0.21.0

func (mr *MockGeneratorMockRecorder) Events(arg0 interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockGeneratorMockRecorder) Name

Name indicates an expected call of Name.

func (*MockGeneratorMockRecorder) ScheduleDelay

func (mr *MockGeneratorMockRecorder) ScheduleDelay() *gomock.Call

ScheduleDelay indicates an expected call of ScheduleDelay.

type MockLinkGenerator added in v0.15.0

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

MockLinkGenerator is a mock of LinkGenerator interface.

func NewMockLinkGenerator added in v0.15.0

func NewMockLinkGenerator(ctrl *gomock.Controller) *MockLinkGenerator

NewMockLinkGenerator creates a new mock instance.

func (*MockLinkGenerator) EXPECT added in v0.15.0

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

func (*MockLinkGenerator) ObjectPath added in v0.15.0

func (m *MockLinkGenerator) ObjectPath(arg0, arg1, arg2, arg3 string) (string, error)

ObjectPath mocks base method.

type MockLinkGeneratorMockRecorder added in v0.15.0

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

MockLinkGeneratorMockRecorder is the mock recorder for MockLinkGenerator.

func (*MockLinkGeneratorMockRecorder) ObjectPath added in v0.15.0

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

ObjectPath indicates an expected call of ObjectPath.

type MockPodMetricsCRUD

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

MockPodMetricsCRUD is a mock of PodMetricsCRUD interface.

func NewMockPodMetricsCRUD

func NewMockPodMetricsCRUD(ctrl *gomock.Controller) *MockPodMetricsCRUD

NewMockPodMetricsCRUD creates a new mock instance.

func (*MockPodMetricsCRUD) EXPECT

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

func (*MockPodMetricsCRUD) Get

Get mocks base method.

type MockPodMetricsCRUDMockRecorder

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

MockPodMetricsCRUDMockRecorder is the mock recorder for MockPodMetricsCRUD.

func (*MockPodMetricsCRUDMockRecorder) Get

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

Get indicates an expected call of Get.

type MockPodMetricsLoader

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

MockPodMetricsLoader is a mock of PodMetricsLoader interface.

func NewMockPodMetricsLoader

func NewMockPodMetricsLoader(ctrl *gomock.Controller) *MockPodMetricsLoader

NewMockPodMetricsLoader creates a new mock instance.

func (*MockPodMetricsLoader) EXPECT

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

func (*MockPodMetricsLoader) Load

Load mocks base method.

func (*MockPodMetricsLoader) SupportsMetrics

func (m *MockPodMetricsLoader) SupportsMetrics(arg0 context.Context) (bool, error)

SupportsMetrics mocks base method.

type MockPodMetricsLoaderMockRecorder

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

MockPodMetricsLoaderMockRecorder is the mock recorder for MockPodMetricsLoader.

func (*MockPodMetricsLoaderMockRecorder) Load

func (mr *MockPodMetricsLoaderMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockPodMetricsLoaderMockRecorder) SupportsMetrics

func (mr *MockPodMetricsLoaderMockRecorder) SupportsMetrics(arg0 interface{}) *gomock.Call

SupportsMetrics indicates an expected call of SupportsMetrics.

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) AddFilter

func (m *MockState) AddFilter(arg0 octant.Filter)

AddFilter mocks base method.

func (*MockState) Dispatch

func (m *MockState) Dispatch(arg0 context.Context, arg1 string, arg2 action.Payload) error

Dispatch mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) GetClientID added in v0.16.0

func (m *MockState) GetClientID() string

GetClientID mocks base method.

func (*MockState) GetContentPath

func (m *MockState) GetContentPath() string

GetContentPath mocks base method.

func (*MockState) GetFilters

func (m *MockState) GetFilters() []octant.Filter

GetFilters mocks base method.

func (*MockState) GetNamespace

func (m *MockState) GetNamespace() string

GetNamespace mocks base method.

func (*MockState) GetQueryParams

func (m *MockState) GetQueryParams() map[string][]string

GetQueryParams mocks base method.

func (*MockState) OnContentPathUpdate

func (m *MockState) OnContentPathUpdate(arg0 octant.ContentPathUpdateFunc) octant.UpdateCancelFunc

OnContentPathUpdate mocks base method.

func (*MockState) OnNamespaceUpdate

func (m *MockState) OnNamespaceUpdate(arg0 octant.NamespaceUpdateFunc) octant.UpdateCancelFunc

OnNamespaceUpdate mocks base method.

func (*MockState) RemoveFilter

func (m *MockState) RemoveFilter(arg0 octant.Filter)

RemoveFilter mocks base method.

func (*MockState) SendAlert

func (m *MockState) SendAlert(arg0 action.Alert)

SendAlert mocks base method.

func (*MockState) SetContentPath

func (m *MockState) SetContentPath(arg0 string)

SetContentPath mocks base method.

func (*MockState) SetContext

func (m *MockState) SetContext(arg0 string)

SetContext mocks base method.

func (*MockState) SetFilters

func (m *MockState) SetFilters(arg0 []octant.Filter)

SetFilters mocks base method.

func (*MockState) SetNamespace

func (m *MockState) SetNamespace(arg0 string)

SetNamespace mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) AddFilter

func (mr *MockStateMockRecorder) AddFilter(arg0 interface{}) *gomock.Call

AddFilter indicates an expected call of AddFilter.

func (*MockStateMockRecorder) Dispatch

func (mr *MockStateMockRecorder) Dispatch(arg0, arg1, arg2 interface{}) *gomock.Call

Dispatch indicates an expected call of Dispatch.

func (*MockStateMockRecorder) GetClientID added in v0.16.0

func (mr *MockStateMockRecorder) GetClientID() *gomock.Call

GetClientID indicates an expected call of GetClientID.

func (*MockStateMockRecorder) GetContentPath

func (mr *MockStateMockRecorder) GetContentPath() *gomock.Call

GetContentPath indicates an expected call of GetContentPath.

func (*MockStateMockRecorder) GetFilters

func (mr *MockStateMockRecorder) GetFilters() *gomock.Call

GetFilters indicates an expected call of GetFilters.

func (*MockStateMockRecorder) GetNamespace

func (mr *MockStateMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockStateMockRecorder) GetQueryParams

func (mr *MockStateMockRecorder) GetQueryParams() *gomock.Call

GetQueryParams indicates an expected call of GetQueryParams.

func (*MockStateMockRecorder) OnContentPathUpdate

func (mr *MockStateMockRecorder) OnContentPathUpdate(arg0 interface{}) *gomock.Call

OnContentPathUpdate indicates an expected call of OnContentPathUpdate.

func (*MockStateMockRecorder) OnNamespaceUpdate

func (mr *MockStateMockRecorder) OnNamespaceUpdate(arg0 interface{}) *gomock.Call

OnNamespaceUpdate indicates an expected call of OnNamespaceUpdate.

func (*MockStateMockRecorder) RemoveFilter

func (mr *MockStateMockRecorder) RemoveFilter(arg0 interface{}) *gomock.Call

RemoveFilter indicates an expected call of RemoveFilter.

func (*MockStateMockRecorder) SendAlert

func (mr *MockStateMockRecorder) SendAlert(arg0 interface{}) *gomock.Call

SendAlert indicates an expected call of SendAlert.

func (*MockStateMockRecorder) SetContentPath

func (mr *MockStateMockRecorder) SetContentPath(arg0 interface{}) *gomock.Call

SetContentPath indicates an expected call of SetContentPath.

func (*MockStateMockRecorder) SetContext

func (mr *MockStateMockRecorder) SetContext(arg0 interface{}) *gomock.Call

SetContext indicates an expected call of SetContext.

func (*MockStateMockRecorder) SetFilters

func (mr *MockStateMockRecorder) SetFilters(arg0 interface{}) *gomock.Call

SetFilters indicates an expected call of SetFilters.

func (*MockStateMockRecorder) SetNamespace

func (mr *MockStateMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call

SetNamespace indicates an expected call of SetNamespace.

type MockStorage added in v0.15.0

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

MockStorage is a mock of Storage interface.

func NewMockStorage added in v0.15.0

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) EXPECT added in v0.15.0

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) ObjectStore added in v0.15.0

func (m *MockStorage) ObjectStore() store.Store

ObjectStore mocks base method.

type MockStorageMockRecorder added in v0.15.0

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) ObjectStore added in v0.15.0

func (mr *MockStorageMockRecorder) ObjectStore() *gomock.Call

ObjectStore indicates an expected call of ObjectStore.

Jump to

Keyboard shortcuts

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