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 ¶
- type MockDashboardClientFunction
- type MockDashboardClientFunctionMockRecorder
- type MockGenerator
- type MockGeneratorMockRecorder
- type MockLinkGenerator
- type MockLinkGeneratorMockRecorder
- type MockPodMetricsCRUD
- type MockPodMetricsCRUDMockRecorder
- type MockPodMetricsLoader
- type MockPodMetricsLoaderMockRecorder
- type MockState
- func (m *MockState) AddFilter(arg0 octant.Filter)
- func (m *MockState) Dispatch(arg0 context.Context, arg1 string, arg2 action.Payload) error
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) GetClientID() string
- func (m *MockState) GetContentPath() string
- func (m *MockState) GetFilters() []octant.Filter
- func (m *MockState) GetNamespace() string
- func (m *MockState) GetQueryParams() map[string][]string
- func (m *MockState) OnContentPathUpdate(arg0 octant.ContentPathUpdateFunc) octant.UpdateCancelFunc
- func (m *MockState) OnNamespaceUpdate(arg0 octant.NamespaceUpdateFunc) octant.UpdateCancelFunc
- func (m *MockState) RemoveFilter(arg0 octant.Filter)
- func (m *MockState) SendAlert(arg0 action.Alert)
- func (m *MockState) SetContentPath(arg0 string)
- func (m *MockState) SetContext(arg0 string)
- func (m *MockState) SetFilters(arg0 []octant.Filter)
- func (m *MockState) SetNamespace(arg0 string)
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) AddFilter(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) Dispatch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) GetClientID() *gomock.Call
- func (mr *MockStateMockRecorder) GetContentPath() *gomock.Call
- func (mr *MockStateMockRecorder) GetFilters() *gomock.Call
- func (mr *MockStateMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockStateMockRecorder) GetQueryParams() *gomock.Call
- func (mr *MockStateMockRecorder) OnContentPathUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) OnNamespaceUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) RemoveFilter(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SendAlert(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SetContentPath(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SetContext(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SetFilters(arg0 interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) SetNamespace(arg0 interface{}) *gomock.Call
- type MockStorage
- type MockStorageMockRecorder
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
func (m *MockDashboardClientFunction) Call(arg0 context.Context, arg1 *goja.Runtime) func(goja.FunctionCall) goja.Value
Call mocks base method.
func (*MockDashboardClientFunction) EXPECT ¶ added in v0.15.0
func (m *MockDashboardClientFunction) EXPECT() *MockDashboardClientFunctionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboardClientFunction) Name ¶ added in v0.15.0
func (m *MockDashboardClientFunction) Name() string
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
func (mr *MockDashboardClientFunctionMockRecorder) Name() *gomock.Call
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 ¶
func (m *MockGenerator) EXPECT() *MockGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockGeneratorMockRecorder) Name() *gomock.Call
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
func (m *MockLinkGenerator) EXPECT() *MockLinkGeneratorMockRecorder
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 ¶
func (m *MockPodMetricsCRUD) EXPECT() *MockPodMetricsCRUDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPodMetricsCRUD) Get ¶
func (m *MockPodMetricsCRUD) Get(arg0 context.Context, arg1, arg2 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, 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 ¶
func (m *MockPodMetricsLoader) EXPECT() *MockPodMetricsLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPodMetricsLoader) Load ¶
func (m *MockPodMetricsLoader) Load(arg0 context.Context, arg1, arg2 string) (*unstructured.Unstructured, bool, error)
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) 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
GetClientID mocks base method.
func (*MockState) GetContentPath ¶
GetContentPath mocks base method.
func (*MockState) GetFilters ¶
GetFilters mocks base method.
func (*MockState) GetNamespace ¶
GetNamespace mocks base method.
func (*MockState) GetQueryParams ¶
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 ¶
RemoveFilter mocks base method.
func (*MockState) SetContentPath ¶
SetContentPath mocks base method.
func (*MockState) SetContext ¶
SetContext mocks base method.
func (*MockState) SetFilters ¶
SetFilters mocks base method.
func (*MockState) SetNamespace ¶
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.