Documentation ¶
Overview ¶
Package cluster is a generated GoMock package.
Index ¶
- type MockServiceClient
- func (m *MockServiceClient) Create(ctx context.Context, in *cluster.ClusterCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
- func (m *MockServiceClient) Delete(ctx context.Context, in *cluster.ClusterQuery, opts ...grpc.CallOption) (*cluster.ClusterResponse, error)
- func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
- func (m *MockServiceClient) Get(ctx context.Context, in *cluster.ClusterQuery, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
- func (m *MockServiceClient) Update(ctx context.Context, in *cluster.ClusterUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
- type MockServiceClientMockRecorder
- func (mr *MockServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServiceClient ¶
type MockServiceClient struct {
// contains filtered or unexported fields
}
MockServiceClient is a mock of ServiceClient interface.
func NewMockServiceClient ¶
func NewMockServiceClient(ctrl *gomock.Controller) *MockServiceClient
NewMockServiceClient creates a new mock instance.
func (*MockServiceClient) Create ¶
func (m *MockServiceClient) Create(ctx context.Context, in *cluster.ClusterCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
Create mocks base method.
func (*MockServiceClient) Delete ¶
func (m *MockServiceClient) Delete(ctx context.Context, in *cluster.ClusterQuery, opts ...grpc.CallOption) (*cluster.ClusterResponse, error)
Delete mocks base method.
func (*MockServiceClient) EXPECT ¶
func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServiceClient) Get ¶
func (m *MockServiceClient) Get(ctx context.Context, in *cluster.ClusterQuery, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
Get mocks base method.
func (*MockServiceClient) Update ¶
func (m *MockServiceClient) Update(ctx context.Context, in *cluster.ClusterUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Cluster, error)
Update mocks base method.
type MockServiceClientMockRecorder ¶
type MockServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceClientMockRecorder is the mock recorder for MockServiceClient.
func (*MockServiceClientMockRecorder) Create ¶
func (mr *MockServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceClientMockRecorder) Delete ¶
func (mr *MockServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockServiceClientMockRecorder) Get ¶
func (mr *MockServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockServiceClientMockRecorder) Update ¶
func (mr *MockServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.