Documentation ¶
Overview ¶
Package mock_capability is a generated GoMock package.
Package mock_capability is a generated GoMock package.
Index ¶
- type MockBackend
- type MockBackendClient
- func (m *MockBackendClient) CanInstall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
- func (m *MockBackendClient) Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*capability.InfoResponse, error)
- func (m *MockBackendClient) Install(ctx context.Context, in *capability.InstallRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockBackendClient) InstallerTemplate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*capability.InstallerTemplateResponse, error)
- func (m *MockBackendClient) Uninstall(ctx context.Context, in *capability.UninstallRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type MockBackendClientMockRecorder
- func (mr *MockBackendClientMockRecorder) CanInstall(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBackendClientMockRecorder) Info(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBackendClientMockRecorder) Install(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBackendClientMockRecorder) InstallerTemplate(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBackendClientMockRecorder) Uninstall(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockBackendMockRecorder
- type MockBackendServer
- func (m *MockBackendServer) CanInstall(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)
- func (m *MockBackendServer) EXPECT() *MockBackendServerMockRecorder
- func (m *MockBackendServer) Info(arg0 context.Context, arg1 *emptypb.Empty) (*capability.InfoResponse, error)
- func (m *MockBackendServer) Install(arg0 context.Context, arg1 *capability.InstallRequest) (*emptypb.Empty, error)
- func (m *MockBackendServer) InstallerTemplate(arg0 context.Context, arg1 *emptypb.Empty) (*capability.InstallerTemplateResponse, error)
- func (m *MockBackendServer) Uninstall(arg0 context.Context, arg1 *capability.UninstallRequest) (*emptypb.Empty, error)
- type MockBackendServerMockRecorder
- func (mr *MockBackendServerMockRecorder) CanInstall(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendServerMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendServerMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendServerMockRecorder) InstallerTemplate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendServerMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeBackendServer
- type MockUnsafeBackendServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface.
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance.
func (*MockBackend) CanInstall ¶
func (m *MockBackend) CanInstall() error
CanInstall mocks base method.
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackend) Install ¶
func (m *MockBackend) Install(cluster *v1.Reference) error
Install mocks base method.
func (*MockBackend) InstallerTemplate ¶
func (m *MockBackend) InstallerTemplate() string
InstallerTemplate mocks base method.
type MockBackendClient ¶
type MockBackendClient struct {
// contains filtered or unexported fields
}
MockBackendClient is a mock of BackendClient interface.
func NewMockBackendClient ¶
func NewMockBackendClient(ctrl *gomock.Controller) *MockBackendClient
NewMockBackendClient creates a new mock instance.
func (*MockBackendClient) CanInstall ¶
func (m *MockBackendClient) CanInstall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
CanInstall mocks base method.
func (*MockBackendClient) EXPECT ¶
func (m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendClient) Info ¶
func (m *MockBackendClient) Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*capability.InfoResponse, error)
Info mocks base method.
func (*MockBackendClient) Install ¶
func (m *MockBackendClient) Install(ctx context.Context, in *capability.InstallRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Install mocks base method.
func (*MockBackendClient) InstallerTemplate ¶
func (m *MockBackendClient) InstallerTemplate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*capability.InstallerTemplateResponse, error)
InstallerTemplate mocks base method.
func (*MockBackendClient) Uninstall ¶
func (m *MockBackendClient) Uninstall(ctx context.Context, in *capability.UninstallRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Uninstall mocks base method.
type MockBackendClientMockRecorder ¶
type MockBackendClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendClientMockRecorder is the mock recorder for MockBackendClient.
func (*MockBackendClientMockRecorder) CanInstall ¶
func (mr *MockBackendClientMockRecorder) CanInstall(ctx, in interface{}, opts ...interface{}) *gomock.Call
CanInstall indicates an expected call of CanInstall.
func (*MockBackendClientMockRecorder) Info ¶
func (mr *MockBackendClientMockRecorder) Info(ctx, in interface{}, opts ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockBackendClientMockRecorder) Install ¶
func (mr *MockBackendClientMockRecorder) Install(ctx, in interface{}, opts ...interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockBackendClientMockRecorder) InstallerTemplate ¶
func (mr *MockBackendClientMockRecorder) InstallerTemplate(ctx, in interface{}, opts ...interface{}) *gomock.Call
InstallerTemplate indicates an expected call of InstallerTemplate.
func (*MockBackendClientMockRecorder) Uninstall ¶
func (mr *MockBackendClientMockRecorder) Uninstall(ctx, in interface{}, opts ...interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) CanInstall ¶
func (mr *MockBackendMockRecorder) CanInstall() *gomock.Call
CanInstall indicates an expected call of CanInstall.
func (*MockBackendMockRecorder) Install ¶
func (mr *MockBackendMockRecorder) Install(cluster interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockBackendMockRecorder) InstallerTemplate ¶
func (mr *MockBackendMockRecorder) InstallerTemplate() *gomock.Call
InstallerTemplate indicates an expected call of InstallerTemplate.
func (*MockBackendMockRecorder) Uninstall ¶ added in v0.4.2
func (mr *MockBackendMockRecorder) Uninstall(cluster interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.
type MockBackendServer ¶
type MockBackendServer struct {
// contains filtered or unexported fields
}
MockBackendServer is a mock of BackendServer interface.
func NewMockBackendServer ¶
func NewMockBackendServer(ctrl *gomock.Controller) *MockBackendServer
NewMockBackendServer creates a new mock instance.
func (*MockBackendServer) CanInstall ¶
func (m *MockBackendServer) CanInstall(arg0 context.Context, arg1 *emptypb.Empty) (*emptypb.Empty, error)
CanInstall mocks base method.
func (*MockBackendServer) EXPECT ¶
func (m *MockBackendServer) EXPECT() *MockBackendServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendServer) Info ¶
func (m *MockBackendServer) Info(arg0 context.Context, arg1 *emptypb.Empty) (*capability.InfoResponse, error)
Info mocks base method.
func (*MockBackendServer) Install ¶
func (m *MockBackendServer) Install(arg0 context.Context, arg1 *capability.InstallRequest) (*emptypb.Empty, error)
Install mocks base method.
func (*MockBackendServer) InstallerTemplate ¶
func (m *MockBackendServer) InstallerTemplate(arg0 context.Context, arg1 *emptypb.Empty) (*capability.InstallerTemplateResponse, error)
InstallerTemplate mocks base method.
func (*MockBackendServer) Uninstall ¶
func (m *MockBackendServer) Uninstall(arg0 context.Context, arg1 *capability.UninstallRequest) (*emptypb.Empty, error)
Uninstall mocks base method.
type MockBackendServerMockRecorder ¶
type MockBackendServerMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendServerMockRecorder is the mock recorder for MockBackendServer.
func (*MockBackendServerMockRecorder) CanInstall ¶
func (mr *MockBackendServerMockRecorder) CanInstall(arg0, arg1 interface{}) *gomock.Call
CanInstall indicates an expected call of CanInstall.
func (*MockBackendServerMockRecorder) Info ¶
func (mr *MockBackendServerMockRecorder) Info(arg0, arg1 interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockBackendServerMockRecorder) Install ¶
func (mr *MockBackendServerMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockBackendServerMockRecorder) InstallerTemplate ¶
func (mr *MockBackendServerMockRecorder) InstallerTemplate(arg0, arg1 interface{}) *gomock.Call
InstallerTemplate indicates an expected call of InstallerTemplate.
func (*MockBackendServerMockRecorder) Uninstall ¶
func (mr *MockBackendServerMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.
type MockUnsafeBackendServer ¶
type MockUnsafeBackendServer struct {
// contains filtered or unexported fields
}
MockUnsafeBackendServer is a mock of UnsafeBackendServer interface.
func NewMockUnsafeBackendServer ¶
func NewMockUnsafeBackendServer(ctrl *gomock.Controller) *MockUnsafeBackendServer
NewMockUnsafeBackendServer creates a new mock instance.
func (*MockUnsafeBackendServer) EXPECT ¶
func (m *MockUnsafeBackendServer) EXPECT() *MockUnsafeBackendServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeBackendServerMockRecorder ¶
type MockUnsafeBackendServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeBackendServerMockRecorder is the mock recorder for MockUnsafeBackendServer.