Documentation ¶
Overview ¶
Package mockhelper is a generated GoMock package.
Index ¶
- type MockKeServiceClient
- func (m *MockKeServiceClient) CreateCluster(arg0 context.Context, arg1 *helper.CreateClusterRequest) (*helper.Cluster, error)
- func (m *MockKeServiceClient) DeleteCluster(arg0 context.Context, arg1 *helper.DeleteClusterRequest) (*helper.Empty, error)
- func (m *MockKeServiceClient) EXPECT() *MockKeServiceClientMockRecorder
- func (m *MockKeServiceClient) GetCluster(arg0 context.Context, arg1 *helper.GetClusterRequest) (*helper.Cluster, error)
- func (m *MockKeServiceClient) ListCluster(arg0 context.Context, arg1 *helper.ListClusterRequest) (*helper.ListClusterResponse, error)
- func (m *MockKeServiceClient) UpdateCluster(arg0 context.Context, arg1 *helper.UpdateClusterRequest) (*helper.Cluster, error)
- type MockKeServiceClientMockRecorder
- func (mr *MockKeServiceClientMockRecorder) CreateCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeServiceClientMockRecorder) DeleteCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeServiceClientMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeServiceClientMockRecorder) ListCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeServiceClientMockRecorder) UpdateCluster(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeServiceClient ¶
type MockKeServiceClient struct {
// contains filtered or unexported fields
}
MockKeServiceClient is a mock of KeServiceClient interface.
func NewMockKeServiceClient ¶
func NewMockKeServiceClient(ctrl *gomock.Controller) *MockKeServiceClient
NewMockKeServiceClient creates a new mock instance.
func (*MockKeServiceClient) CreateCluster ¶
func (m *MockKeServiceClient) CreateCluster(arg0 context.Context, arg1 *helper.CreateClusterRequest) (*helper.Cluster, error)
CreateCluster mocks base method.
func (*MockKeServiceClient) DeleteCluster ¶
func (m *MockKeServiceClient) DeleteCluster(arg0 context.Context, arg1 *helper.DeleteClusterRequest) (*helper.Empty, error)
DeleteCluster mocks base method.
func (*MockKeServiceClient) EXPECT ¶
func (m *MockKeServiceClient) EXPECT() *MockKeServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeServiceClient) GetCluster ¶
func (m *MockKeServiceClient) GetCluster(arg0 context.Context, arg1 *helper.GetClusterRequest) (*helper.Cluster, error)
GetCluster mocks base method.
func (*MockKeServiceClient) ListCluster ¶
func (m *MockKeServiceClient) ListCluster(arg0 context.Context, arg1 *helper.ListClusterRequest) (*helper.ListClusterResponse, error)
ListCluster mocks base method.
func (*MockKeServiceClient) UpdateCluster ¶
func (m *MockKeServiceClient) UpdateCluster(arg0 context.Context, arg1 *helper.UpdateClusterRequest) (*helper.Cluster, error)
UpdateCluster mocks base method.
type MockKeServiceClientMockRecorder ¶
type MockKeServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKeServiceClientMockRecorder is the mock recorder for MockKeServiceClient.
func (*MockKeServiceClientMockRecorder) CreateCluster ¶
func (mr *MockKeServiceClientMockRecorder) CreateCluster(arg0, arg1 interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockKeServiceClientMockRecorder) DeleteCluster ¶
func (mr *MockKeServiceClientMockRecorder) DeleteCluster(arg0, arg1 interface{}) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockKeServiceClientMockRecorder) GetCluster ¶
func (mr *MockKeServiceClientMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockKeServiceClientMockRecorder) ListCluster ¶
func (mr *MockKeServiceClientMockRecorder) ListCluster(arg0, arg1 interface{}) *gomock.Call
ListCluster indicates an expected call of ListCluster.
func (*MockKeServiceClientMockRecorder) UpdateCluster ¶
func (mr *MockKeServiceClientMockRecorder) UpdateCluster(arg0, arg1 interface{}) *gomock.Call
UpdateCluster indicates an expected call of UpdateCluster.