Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockDashboard
- func (m *MockDashboard) CancelPortForward(arg0 context.Context, arg1 string)
- func (m *MockDashboard) Close() 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) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error
- type MockDashboardMockRecorder
- func (mr *MockDashboardMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDashboardMockRecorder) Close() *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) 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) 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) 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) 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) 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) Update ¶
func (mr *MockDashboardMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update