Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockDashboard
- func (m *MockDashboard) ApplyYAML(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockDashboard) CancelPortForward(arg0 context.Context, arg1 string)
- func (m *MockDashboard) Close() error
- func (m *MockDashboard) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockDashboard) CreateLink(arg0 context.Context, arg1 store.Key) (api.LinkResponse, error)
- func (m *MockDashboard) Delete(arg0 context.Context, arg1 store.Key) error
- func (m *MockDashboard) EXPECT() *MockDashboardMockRecorder
- func (m *MockDashboard) ForceFrontendUpdate(arg0 context.Context) error
- func (m *MockDashboard) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
- func (m *MockDashboard) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, error)
- func (m *MockDashboard) ListNamespaces(arg0 context.Context) (api.NamespacesResponse, error)
- func (m *MockDashboard) PortForward(arg0 context.Context, arg1 api.PortForwardRequest) (api.PortForwardResponse, error)
- func (m *MockDashboard) SendAlert(arg0 context.Context, arg1 string, arg2 action.Alert) error
- func (m *MockDashboard) SendEvent(arg0 context.Context, arg1 string, arg2 event.EventType, arg3 action.Payload) error
- func (m *MockDashboard) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error
- type MockDashboardMockRecorder
- func (mr *MockDashboardMockRecorder) ApplyYAML(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) Close() *gomock.Call
- func (mr *MockDashboardMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) CreateLink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) ForceFrontendUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) PortForward(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) SendAlert(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) SendEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDashboard ¶
type MockDashboard struct {
// contains filtered or unexported fields
}
MockDashboard is a mock of Dashboard interface.
func NewMockDashboard ¶
func NewMockDashboard(ctrl *gomock.Controller) *MockDashboard
NewMockDashboard creates a new mock instance.
func (*MockDashboard) CancelPortForward ¶
func (m *MockDashboard) CancelPortForward(arg0 context.Context, arg1 string)
CancelPortForward mocks base method.
func (*MockDashboard) Create ¶ added in v0.19.0
func (m *MockDashboard) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
Create mocks base method.
func (*MockDashboard) CreateLink ¶ added in v0.19.0
func (m *MockDashboard) CreateLink(arg0 context.Context, arg1 store.Key) (api.LinkResponse, error)
CreateLink mocks base method.
func (*MockDashboard) EXPECT ¶
func (m *MockDashboard) EXPECT() *MockDashboardMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDashboard) ForceFrontendUpdate ¶
func (m *MockDashboard) ForceFrontendUpdate(arg0 context.Context) error
ForceFrontendUpdate mocks base method.
func (*MockDashboard) Get ¶
func (m *MockDashboard) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
Get mocks base method.
func (*MockDashboard) List ¶
func (m *MockDashboard) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, error)
List mocks base method.
func (*MockDashboard) ListNamespaces ¶ added in v0.11.0
func (m *MockDashboard) ListNamespaces(arg0 context.Context) (api.NamespacesResponse, error)
ListNamespaces mocks base method.
func (*MockDashboard) PortForward ¶
func (m *MockDashboard) PortForward(arg0 context.Context, arg1 api.PortForwardRequest) (api.PortForwardResponse, error)
PortForward mocks base method.
func (*MockDashboard) SendEvent ¶ added in v0.23.0
func (m *MockDashboard) SendEvent(arg0 context.Context, arg1 string, arg2 event.EventType, arg3 action.Payload) error
SendEvent mocks base method.
func (*MockDashboard) Update ¶
func (m *MockDashboard) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error
Update mocks base method.
type MockDashboardMockRecorder ¶
type MockDashboardMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardMockRecorder is the mock recorder for MockDashboard.
func (*MockDashboardMockRecorder) ApplyYAML ¶ added in v0.24.0
func (mr *MockDashboardMockRecorder) ApplyYAML(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyYAML indicates an expected call of ApplyYAML.
func (*MockDashboardMockRecorder) CancelPortForward ¶
func (mr *MockDashboardMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call
CancelPortForward indicates an expected call of CancelPortForward.
func (*MockDashboardMockRecorder) Close ¶
func (mr *MockDashboardMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockDashboardMockRecorder) Create ¶ added in v0.19.0
func (mr *MockDashboardMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockDashboardMockRecorder) CreateLink ¶ added in v0.19.0
func (mr *MockDashboardMockRecorder) CreateLink(arg0, arg1 interface{}) *gomock.Call
CreateLink indicates an expected call of CreateLink.
func (*MockDashboardMockRecorder) Delete ¶ added in v0.19.0
func (mr *MockDashboardMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDashboardMockRecorder) ForceFrontendUpdate ¶
func (mr *MockDashboardMockRecorder) ForceFrontendUpdate(arg0 interface{}) *gomock.Call
ForceFrontendUpdate indicates an expected call of ForceFrontendUpdate.
func (*MockDashboardMockRecorder) Get ¶
func (mr *MockDashboardMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockDashboardMockRecorder) List ¶
func (mr *MockDashboardMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockDashboardMockRecorder) ListNamespaces ¶ added in v0.11.0
func (mr *MockDashboardMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockDashboardMockRecorder) PortForward ¶
func (mr *MockDashboardMockRecorder) PortForward(arg0, arg1 interface{}) *gomock.Call
PortForward indicates an expected call of PortForward.
func (*MockDashboardMockRecorder) SendAlert ¶ added in v0.16.0
func (mr *MockDashboardMockRecorder) SendAlert(arg0, arg1, arg2 interface{}) *gomock.Call
SendAlert indicates an expected call of SendAlert.
func (*MockDashboardMockRecorder) SendEvent ¶ added in v0.23.0
func (mr *MockDashboardMockRecorder) SendEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendEvent indicates an expected call of SendEvent.
func (*MockDashboardMockRecorder) Update ¶
func (mr *MockDashboardMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.