fake

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 7 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Event

func (m *MockGenerator) Event(arg0 context.Context) (octant.Event, error)

Event 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) Event

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

Event indicates an expected call of Event

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 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

func (m *MockPodMetricsCRUD) Get(arg0, arg1 string) (*unstructured.Unstructured, bool, error)

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 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() (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 interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockPodMetricsLoaderMockRecorder) SupportsMetrics

func (mr *MockPodMetricsLoaderMockRecorder) SupportsMetrics() *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) 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) 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

Jump to

Keyboard shortcuts

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