Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Index ¶
- type MockDashboardClient
- func (m *MockDashboardClient) CancelPortForward(arg0 context.Context, arg1 *proto.CancelPortForwardRequest, ...) (*proto.Empty, error)
- func (m *MockDashboardClient) Create(arg0 context.Context, arg1 *proto.CreateRequest, arg2 ...grpc.CallOption) (*proto.CreateResponse, error)
- func (m *MockDashboardClient) EXPECT() *MockDashboardClientMockRecorder
- func (m *MockDashboardClient) ForceFrontendUpdate(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.Empty, error)
- func (m *MockDashboardClient) Get(arg0 context.Context, arg1 *proto.KeyRequest, arg2 ...grpc.CallOption) (*proto.GetResponse, error)
- func (m *MockDashboardClient) List(arg0 context.Context, arg1 *proto.KeyRequest, arg2 ...grpc.CallOption) (*proto.ListResponse, error)
- func (m *MockDashboardClient) ListNamespaces(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.NamespacesResponse, error)
- func (m *MockDashboardClient) PortForward(arg0 context.Context, arg1 *proto.PortForwardRequest, arg2 ...grpc.CallOption) (*proto.PortForwardResponse, error)
- func (m *MockDashboardClient) SendAlert(arg0 context.Context, arg1 *proto.AlertRequest, arg2 ...grpc.CallOption) (*proto.Empty, error)
- func (m *MockDashboardClient) Update(arg0 context.Context, arg1 *proto.UpdateRequest, arg2 ...grpc.CallOption) (*proto.UpdateResponse, error)
- type MockDashboardClientMockRecorder
- func (mr *MockDashboardClientMockRecorder) CancelPortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) ForceFrontendUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) ListNamespaces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) PortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) SendAlert(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDashboardClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockDashboardConnection
- type MockDashboardConnectionMockRecorder
- type MockService
- func (m *MockService) CancelPortForward(arg0 context.Context, arg1 string)
- func (m *MockService) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ForceFrontendUpdate(arg0 context.Context) error
- func (m *MockService) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
- func (m *MockService) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, error)
- func (m *MockService) ListNamespaces(arg0 context.Context) (api.NamespacesResponse, error)
- func (m *MockService) PortForward(arg0 context.Context, arg1 api.PortForwardRequest) (api.PortForwardResponse, error)
- func (m *MockService) SendAlert(arg0 context.Context, arg1 string, arg2 action.Alert) error
- func (m *MockService) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ForceFrontendUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) PortForward(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SendAlert(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDashboardClient ¶
type MockDashboardClient struct {
// contains filtered or unexported fields
}
MockDashboardClient is a mock of DashboardClient interface
func NewMockDashboardClient ¶
func NewMockDashboardClient(ctrl *gomock.Controller) *MockDashboardClient
NewMockDashboardClient creates a new mock instance
func (*MockDashboardClient) CancelPortForward ¶
func (m *MockDashboardClient) CancelPortForward(arg0 context.Context, arg1 *proto.CancelPortForwardRequest, arg2 ...grpc.CallOption) (*proto.Empty, error)
CancelPortForward mocks base method
func (*MockDashboardClient) Create ¶ added in v0.12.0
func (m *MockDashboardClient) Create(arg0 context.Context, arg1 *proto.CreateRequest, arg2 ...grpc.CallOption) (*proto.CreateResponse, error)
Create mocks base method
func (*MockDashboardClient) EXPECT ¶
func (m *MockDashboardClient) EXPECT() *MockDashboardClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDashboardClient) ForceFrontendUpdate ¶
func (m *MockDashboardClient) ForceFrontendUpdate(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.Empty, error)
ForceFrontendUpdate mocks base method
func (*MockDashboardClient) Get ¶
func (m *MockDashboardClient) Get(arg0 context.Context, arg1 *proto.KeyRequest, arg2 ...grpc.CallOption) (*proto.GetResponse, error)
Get mocks base method
func (*MockDashboardClient) List ¶
func (m *MockDashboardClient) List(arg0 context.Context, arg1 *proto.KeyRequest, arg2 ...grpc.CallOption) (*proto.ListResponse, error)
List mocks base method
func (*MockDashboardClient) ListNamespaces ¶ added in v0.11.0
func (m *MockDashboardClient) ListNamespaces(arg0 context.Context, arg1 *proto.Empty, arg2 ...grpc.CallOption) (*proto.NamespacesResponse, error)
ListNamespaces mocks base method
func (*MockDashboardClient) PortForward ¶
func (m *MockDashboardClient) PortForward(arg0 context.Context, arg1 *proto.PortForwardRequest, arg2 ...grpc.CallOption) (*proto.PortForwardResponse, error)
PortForward mocks base method
func (*MockDashboardClient) SendAlert ¶ added in v0.16.0
func (m *MockDashboardClient) SendAlert(arg0 context.Context, arg1 *proto.AlertRequest, arg2 ...grpc.CallOption) (*proto.Empty, error)
SendAlert mocks base method
func (*MockDashboardClient) Update ¶
func (m *MockDashboardClient) Update(arg0 context.Context, arg1 *proto.UpdateRequest, arg2 ...grpc.CallOption) (*proto.UpdateResponse, error)
Update mocks base method
type MockDashboardClientMockRecorder ¶
type MockDashboardClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardClientMockRecorder is the mock recorder for MockDashboardClient
func (*MockDashboardClientMockRecorder) CancelPortForward ¶
func (mr *MockDashboardClientMockRecorder) CancelPortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CancelPortForward indicates an expected call of CancelPortForward
func (*MockDashboardClientMockRecorder) Create ¶ added in v0.12.0
func (mr *MockDashboardClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDashboardClientMockRecorder) ForceFrontendUpdate ¶
func (mr *MockDashboardClientMockRecorder) ForceFrontendUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ForceFrontendUpdate indicates an expected call of ForceFrontendUpdate
func (*MockDashboardClientMockRecorder) Get ¶
func (mr *MockDashboardClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDashboardClientMockRecorder) List ¶
func (mr *MockDashboardClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDashboardClientMockRecorder) ListNamespaces ¶ added in v0.11.0
func (mr *MockDashboardClientMockRecorder) ListNamespaces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces
func (*MockDashboardClientMockRecorder) PortForward ¶
func (mr *MockDashboardClientMockRecorder) PortForward(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PortForward indicates an expected call of PortForward
func (*MockDashboardClientMockRecorder) SendAlert ¶ added in v0.16.0
func (mr *MockDashboardClientMockRecorder) SendAlert(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendAlert indicates an expected call of SendAlert
func (*MockDashboardClientMockRecorder) Update ¶
func (mr *MockDashboardClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update
type MockDashboardConnection ¶
type MockDashboardConnection struct {
// contains filtered or unexported fields
}
MockDashboardConnection is a mock of DashboardConnection interface
func NewMockDashboardConnection ¶
func NewMockDashboardConnection(ctrl *gomock.Controller) *MockDashboardConnection
NewMockDashboardConnection creates a new mock instance
func (*MockDashboardConnection) Client ¶
func (m *MockDashboardConnection) Client() proto.DashboardClient
Client mocks base method
func (*MockDashboardConnection) Close ¶
func (m *MockDashboardConnection) Close() error
Close mocks base method
func (*MockDashboardConnection) EXPECT ¶
func (m *MockDashboardConnection) EXPECT() *MockDashboardConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDashboardConnectionMockRecorder ¶
type MockDashboardConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockDashboardConnectionMockRecorder is the mock recorder for MockDashboardConnection
func (*MockDashboardConnectionMockRecorder) Client ¶
func (mr *MockDashboardConnectionMockRecorder) Client() *gomock.Call
Client indicates an expected call of Client
func (*MockDashboardConnectionMockRecorder) Close ¶
func (mr *MockDashboardConnectionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) CancelPortForward ¶
func (m *MockService) CancelPortForward(arg0 context.Context, arg1 string)
CancelPortForward mocks base method
func (*MockService) Create ¶ added in v0.12.0
func (m *MockService) Create(arg0 context.Context, arg1 *unstructured.Unstructured) error
Create mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) ForceFrontendUpdate ¶
func (m *MockService) ForceFrontendUpdate(arg0 context.Context) error
ForceFrontendUpdate mocks base method
func (*MockService) Get ¶
func (m *MockService) Get(arg0 context.Context, arg1 store.Key) (*unstructured.Unstructured, error)
Get mocks base method
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context, arg1 store.Key) (*unstructured.UnstructuredList, error)
List mocks base method
func (*MockService) ListNamespaces ¶ added in v0.11.0
func (m *MockService) ListNamespaces(arg0 context.Context) (api.NamespacesResponse, error)
ListNamespaces mocks base method
func (*MockService) PortForward ¶
func (m *MockService) PortForward(arg0 context.Context, arg1 api.PortForwardRequest) (api.PortForwardResponse, error)
PortForward mocks base method
func (*MockService) Update ¶
func (m *MockService) Update(arg0 context.Context, arg1 *unstructured.Unstructured) error
Update mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) CancelPortForward ¶
func (mr *MockServiceMockRecorder) CancelPortForward(arg0, arg1 interface{}) *gomock.Call
CancelPortForward indicates an expected call of CancelPortForward
func (*MockServiceMockRecorder) Create ¶ added in v0.12.0
func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockServiceMockRecorder) ForceFrontendUpdate ¶
func (mr *MockServiceMockRecorder) ForceFrontendUpdate(arg0 interface{}) *gomock.Call
ForceFrontendUpdate indicates an expected call of ForceFrontendUpdate
func (*MockServiceMockRecorder) Get ¶
func (mr *MockServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockServiceMockRecorder) ListNamespaces ¶ added in v0.11.0
func (mr *MockServiceMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces
func (*MockServiceMockRecorder) PortForward ¶
func (mr *MockServiceMockRecorder) PortForward(arg0, arg1 interface{}) *gomock.Call
PortForward indicates an expected call of PortForward
func (*MockServiceMockRecorder) SendAlert ¶ added in v0.16.0
func (mr *MockServiceMockRecorder) SendAlert(arg0, arg1, arg2 interface{}) *gomock.Call
SendAlert indicates an expected call of SendAlert
func (*MockServiceMockRecorder) Update ¶
func (mr *MockServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update