Documentation ¶
Overview ¶
Package mock_pbgo is a generated GoMock package.
Package mock_pbgo is a generated GoMock package.
Package mock_pbgo is a generated GoMock package.
Index ¶
- type MockAppInfoServiceClient
- func (m *MockAppInfoServiceClient) CreateAppGroup(ctx context.Context, in *pbgo.CreateAppGroupRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
- func (m *MockAppInfoServiceClient) DeleteAppGroup(ctx context.Context, in *pbgo.DeleteAppGroupRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
- func (m *MockAppInfoServiceClient) EXPECT() *MockAppInfoServiceClientMockRecorder
- func (m *MockAppInfoServiceClient) GetAppGroup(ctx context.Context, in *pbgo.GetAppGroupRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupResponse, error)
- func (m *MockAppInfoServiceClient) GetAppGroups(ctx context.Context, in *pbgo.GetAppGroupsRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupsResponse, error)
- func (m *MockAppInfoServiceClient) GetAppGroupsByClusterID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupsResponse, error)
- func (m *MockAppInfoServiceClient) GetApps(ctx context.Context, in *pbgo.GetAppsRequest, opts ...grpc.CallOption) (*pbgo.GetAppsResponse, error)
- func (m *MockAppInfoServiceClient) GetAppsByAppGroupID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetAppsResponse, error)
- func (m *MockAppInfoServiceClient) UpdateApp(ctx context.Context, in *pbgo.UpdateAppRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
- func (m *MockAppInfoServiceClient) UpdateAppGroupStatus(ctx context.Context, in *pbgo.UpdateAppGroupStatusRequest, ...) (*pbgo.SimpleResponse, error)
- type MockAppInfoServiceClientMockRecorder
- func (mr *MockAppInfoServiceClientMockRecorder) CreateAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) DeleteAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroupsByClusterID(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) GetApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) GetAppsByAppGroupID(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) UpdateApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAppInfoServiceClientMockRecorder) UpdateAppGroupStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAppInfoServiceServer
- func (m *MockAppInfoServiceServer) CreateAppGroup(arg0 context.Context, arg1 *pbgo.CreateAppGroupRequest) (*pbgo.IDResponse, error)
- func (m *MockAppInfoServiceServer) DeleteAppGroup(arg0 context.Context, arg1 *pbgo.DeleteAppGroupRequest) (*pbgo.SimpleResponse, error)
- func (m *MockAppInfoServiceServer) EXPECT() *MockAppInfoServiceServerMockRecorder
- func (m *MockAppInfoServiceServer) GetAppGroup(arg0 context.Context, arg1 *pbgo.GetAppGroupRequest) (*pbgo.GetAppGroupResponse, error)
- func (m *MockAppInfoServiceServer) GetAppGroups(arg0 context.Context, arg1 *pbgo.GetAppGroupsRequest) (*pbgo.GetAppGroupsResponse, error)
- func (m *MockAppInfoServiceServer) GetAppGroupsByClusterID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetAppGroupsResponse, error)
- func (m *MockAppInfoServiceServer) GetApps(arg0 context.Context, arg1 *pbgo.GetAppsRequest) (*pbgo.GetAppsResponse, error)
- func (m *MockAppInfoServiceServer) GetAppsByAppGroupID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetAppsResponse, error)
- func (m *MockAppInfoServiceServer) UpdateApp(arg0 context.Context, arg1 *pbgo.UpdateAppRequest) (*pbgo.SimpleResponse, error)
- func (m *MockAppInfoServiceServer) UpdateAppGroupStatus(arg0 context.Context, arg1 *pbgo.UpdateAppGroupStatusRequest) (*pbgo.SimpleResponse, error)
- type MockAppInfoServiceServerMockRecorder
- func (mr *MockAppInfoServiceServerMockRecorder) CreateAppGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) DeleteAppGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroupsByClusterID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) GetApps(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) GetAppsByAppGroupID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) UpdateApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppInfoServiceServerMockRecorder) UpdateAppGroupStatus(arg0, arg1 interface{}) *gomock.Call
- type MockClusterLcmServiceClient
- func (m *MockClusterLcmServiceClient) CreateCluster(ctx context.Context, in *pbgo.CreateClusterRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
- func (m *MockClusterLcmServiceClient) EXPECT() *MockClusterLcmServiceClientMockRecorder
- func (m *MockClusterLcmServiceClient) InstallAppGroups(ctx context.Context, in *pbgo.InstallAppGroupsRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
- func (m *MockClusterLcmServiceClient) ScaleCluster(ctx context.Context, in *pbgo.ScaleClusterRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
- func (m *MockClusterLcmServiceClient) UninstallAppGroups(ctx context.Context, in *pbgo.UninstallAppGroupsRequest, ...) (*pbgo.SimpleResponse, error)
- type MockClusterLcmServiceClientMockRecorder
- func (mr *MockClusterLcmServiceClientMockRecorder) CreateCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceClientMockRecorder) InstallAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceClientMockRecorder) ScaleCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceClientMockRecorder) UninstallAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockClusterLcmServiceServer
- func (m *MockClusterLcmServiceServer) CreateCluster(arg0 context.Context, arg1 *pbgo.CreateClusterRequest) (*pbgo.IDsResponse, error)
- func (m *MockClusterLcmServiceServer) EXPECT() *MockClusterLcmServiceServerMockRecorder
- func (m *MockClusterLcmServiceServer) InstallAppGroups(arg0 context.Context, arg1 *pbgo.InstallAppGroupsRequest) (*pbgo.IDsResponse, error)
- func (m *MockClusterLcmServiceServer) ScaleCluster(arg0 context.Context, arg1 *pbgo.ScaleClusterRequest) (*pbgo.SimpleResponse, error)
- func (m *MockClusterLcmServiceServer) UninstallAppGroups(arg0 context.Context, arg1 *pbgo.UninstallAppGroupsRequest) (*pbgo.SimpleResponse, error)
- type MockClusterLcmServiceServerMockRecorder
- func (mr *MockClusterLcmServiceServerMockRecorder) CreateCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceServerMockRecorder) InstallAppGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceServerMockRecorder) ScaleCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterLcmServiceServerMockRecorder) UninstallAppGroups(arg0, arg1 interface{}) *gomock.Call
- type MockContractServiceClient
- func (m *MockContractServiceClient) CreateContract(ctx context.Context, in *pbgo.CreateContractRequest, opts ...grpc.CallOption) (*pbgo.CreateContractResponse, error)
- func (m *MockContractServiceClient) EXPECT() *MockContractServiceClientMockRecorder
- func (m *MockContractServiceClient) GetAvailableServices(ctx context.Context, in *pbgo.GetAvailableServicesRequest, ...) (*pbgo.GetAvailableServicesResponse, error)
- func (m *MockContractServiceClient) GetContract(ctx context.Context, in *pbgo.GetContractRequest, opts ...grpc.CallOption) (*pbgo.GetContractResponse, error)
- func (m *MockContractServiceClient) GetContracts(ctx context.Context, in *pbgo.GetContractsRequest, opts ...grpc.CallOption) (*pbgo.GetContractsResponse, error)
- func (m *MockContractServiceClient) GetQuota(ctx context.Context, in *pbgo.GetQuotaRequest, opts ...grpc.CallOption) (*pbgo.GetQuotaResponse, error)
- func (m *MockContractServiceClient) UpdateQuota(ctx context.Context, in *pbgo.UpdateQuotaRequest, opts ...grpc.CallOption) (*pbgo.UpdateQuotaResponse, error)
- func (m *MockContractServiceClient) UpdateServices(ctx context.Context, in *pbgo.UpdateServicesRequest, opts ...grpc.CallOption) (*pbgo.UpdateServicesResponse, error)
- type MockContractServiceClientMockRecorder
- func (mr *MockContractServiceClientMockRecorder) CreateContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) GetAvailableServices(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) GetContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) GetContracts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) GetQuota(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) UpdateQuota(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockContractServiceClientMockRecorder) UpdateServices(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockContractServiceServer
- func (m *MockContractServiceServer) CreateContract(arg0 context.Context, arg1 *pbgo.CreateContractRequest) (*pbgo.CreateContractResponse, error)
- func (m *MockContractServiceServer) EXPECT() *MockContractServiceServerMockRecorder
- func (m *MockContractServiceServer) GetAvailableServices(arg0 context.Context, arg1 *pbgo.GetAvailableServicesRequest) (*pbgo.GetAvailableServicesResponse, error)
- func (m *MockContractServiceServer) GetContract(arg0 context.Context, arg1 *pbgo.GetContractRequest) (*pbgo.GetContractResponse, error)
- func (m *MockContractServiceServer) GetContracts(arg0 context.Context, arg1 *pbgo.GetContractsRequest) (*pbgo.GetContractsResponse, error)
- func (m *MockContractServiceServer) GetQuota(arg0 context.Context, arg1 *pbgo.GetQuotaRequest) (*pbgo.GetQuotaResponse, error)
- func (m *MockContractServiceServer) UpdateQuota(arg0 context.Context, arg1 *pbgo.UpdateQuotaRequest) (*pbgo.UpdateQuotaResponse, error)
- func (m *MockContractServiceServer) UpdateServices(arg0 context.Context, arg1 *pbgo.UpdateServicesRequest) (*pbgo.UpdateServicesResponse, error)
- type MockContractServiceServerMockRecorder
- func (mr *MockContractServiceServerMockRecorder) CreateContract(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) GetAvailableServices(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) GetContract(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) GetContracts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) GetQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) UpdateQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContractServiceServerMockRecorder) UpdateServices(arg0, arg1 interface{}) *gomock.Call
- type MockInfoServiceClient
- func (m *MockInfoServiceClient) AddClusterInfo(ctx context.Context, in *pbgo.AddClusterInfoRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
- func (m *MockInfoServiceClient) CreateCSPInfo(ctx context.Context, in *pbgo.CreateCSPInfoRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
- func (m *MockInfoServiceClient) EXPECT() *MockInfoServiceClientMockRecorder
- func (m *MockInfoServiceClient) GetCSPAuth(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetCSPAuthResponse, error)
- func (m *MockInfoServiceClient) GetCSPIDs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
- func (m *MockInfoServiceClient) GetCSPIDsByContractID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
- func (m *MockInfoServiceClient) GetCluster(ctx context.Context, in *pbgo.GetClusterRequest, opts ...grpc.CallOption) (*pbgo.GetClusterResponse, error)
- func (m *MockInfoServiceClient) GetClusters(ctx context.Context, in *pbgo.GetClustersRequest, opts ...grpc.CallOption) (*pbgo.GetClustersResponse, error)
- func (m *MockInfoServiceClient) UpdateCSPInfo(ctx context.Context, in *pbgo.UpdateCSPInfoRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
- func (m *MockInfoServiceClient) UpdateClusterConf(ctx context.Context, in *pbgo.UpdateClusterConfRequest, ...) (*pbgo.SimpleResponse, error)
- func (m *MockInfoServiceClient) UpdateClusterStatus(ctx context.Context, in *pbgo.UpdateClusterStatusRequest, ...) (*pbgo.SimpleResponse, error)
- type MockInfoServiceClientMockRecorder
- func (mr *MockInfoServiceClientMockRecorder) AddClusterInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) CreateCSPInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) GetCSPAuth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) GetCSPIDs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) GetCSPIDsByContractID(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) GetCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) GetClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) UpdateCSPInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) UpdateClusterConf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInfoServiceClientMockRecorder) UpdateClusterStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockInfoServiceServer
- func (m *MockInfoServiceServer) AddClusterInfo(arg0 context.Context, arg1 *pbgo.AddClusterInfoRequest) (*pbgo.IDResponse, error)
- func (m *MockInfoServiceServer) CreateCSPInfo(arg0 context.Context, arg1 *pbgo.CreateCSPInfoRequest) (*pbgo.IDResponse, error)
- func (m *MockInfoServiceServer) EXPECT() *MockInfoServiceServerMockRecorder
- func (m *MockInfoServiceServer) GetCSPAuth(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetCSPAuthResponse, error)
- func (m *MockInfoServiceServer) GetCSPIDs(arg0 context.Context, arg1 *emptypb.Empty) (*pbgo.IDsResponse, error)
- func (m *MockInfoServiceServer) GetCSPIDsByContractID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.IDsResponse, error)
- func (m *MockInfoServiceServer) GetCluster(arg0 context.Context, arg1 *pbgo.GetClusterRequest) (*pbgo.GetClusterResponse, error)
- func (m *MockInfoServiceServer) GetClusters(arg0 context.Context, arg1 *pbgo.GetClustersRequest) (*pbgo.GetClustersResponse, error)
- func (m *MockInfoServiceServer) UpdateCSPInfo(arg0 context.Context, arg1 *pbgo.UpdateCSPInfoRequest) (*pbgo.SimpleResponse, error)
- func (m *MockInfoServiceServer) UpdateClusterConf(arg0 context.Context, arg1 *pbgo.UpdateClusterConfRequest) (*pbgo.SimpleResponse, error)
- func (m *MockInfoServiceServer) UpdateClusterStatus(arg0 context.Context, arg1 *pbgo.UpdateClusterStatusRequest) (*pbgo.SimpleResponse, error)
- type MockInfoServiceServerMockRecorder
- func (mr *MockInfoServiceServerMockRecorder) AddClusterInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) CreateCSPInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) GetCSPAuth(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) GetCSPIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) GetCSPIDsByContractID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) UpdateCSPInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) UpdateClusterConf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfoServiceServerMockRecorder) UpdateClusterStatus(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeAppInfoServiceServer
- type MockUnsafeAppInfoServiceServerMockRecorder
- type MockUnsafeClusterLcmServiceServer
- type MockUnsafeClusterLcmServiceServerMockRecorder
- type MockUnsafeContractServiceServer
- type MockUnsafeContractServiceServerMockRecorder
- type MockUnsafeInfoServiceServer
- type MockUnsafeInfoServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAppInfoServiceClient ¶
type MockAppInfoServiceClient struct {
// contains filtered or unexported fields
}
MockAppInfoServiceClient is a mock of AppInfoServiceClient interface.
func NewMockAppInfoServiceClient ¶
func NewMockAppInfoServiceClient(ctrl *gomock.Controller) *MockAppInfoServiceClient
NewMockAppInfoServiceClient creates a new mock instance.
func (*MockAppInfoServiceClient) CreateAppGroup ¶
func (m *MockAppInfoServiceClient) CreateAppGroup(ctx context.Context, in *pbgo.CreateAppGroupRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
CreateAppGroup mocks base method.
func (*MockAppInfoServiceClient) DeleteAppGroup ¶
func (m *MockAppInfoServiceClient) DeleteAppGroup(ctx context.Context, in *pbgo.DeleteAppGroupRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
DeleteAppGroup mocks base method.
func (*MockAppInfoServiceClient) EXPECT ¶
func (m *MockAppInfoServiceClient) EXPECT() *MockAppInfoServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppInfoServiceClient) GetAppGroup ¶
func (m *MockAppInfoServiceClient) GetAppGroup(ctx context.Context, in *pbgo.GetAppGroupRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupResponse, error)
GetAppGroup mocks base method.
func (*MockAppInfoServiceClient) GetAppGroups ¶
func (m *MockAppInfoServiceClient) GetAppGroups(ctx context.Context, in *pbgo.GetAppGroupsRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupsResponse, error)
GetAppGroups mocks base method.
func (*MockAppInfoServiceClient) GetAppGroupsByClusterID ¶
func (m *MockAppInfoServiceClient) GetAppGroupsByClusterID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetAppGroupsResponse, error)
GetAppGroupsByClusterID mocks base method.
func (*MockAppInfoServiceClient) GetApps ¶
func (m *MockAppInfoServiceClient) GetApps(ctx context.Context, in *pbgo.GetAppsRequest, opts ...grpc.CallOption) (*pbgo.GetAppsResponse, error)
GetApps mocks base method.
func (*MockAppInfoServiceClient) GetAppsByAppGroupID ¶
func (m *MockAppInfoServiceClient) GetAppsByAppGroupID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetAppsResponse, error)
GetAppsByAppGroupID mocks base method.
func (*MockAppInfoServiceClient) UpdateApp ¶
func (m *MockAppInfoServiceClient) UpdateApp(ctx context.Context, in *pbgo.UpdateAppRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UpdateApp mocks base method.
func (*MockAppInfoServiceClient) UpdateAppGroupStatus ¶
func (m *MockAppInfoServiceClient) UpdateAppGroupStatus(ctx context.Context, in *pbgo.UpdateAppGroupStatusRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UpdateAppGroupStatus mocks base method.
type MockAppInfoServiceClientMockRecorder ¶
type MockAppInfoServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAppInfoServiceClientMockRecorder is the mock recorder for MockAppInfoServiceClient.
func (*MockAppInfoServiceClientMockRecorder) CreateAppGroup ¶
func (mr *MockAppInfoServiceClientMockRecorder) CreateAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateAppGroup indicates an expected call of CreateAppGroup.
func (*MockAppInfoServiceClientMockRecorder) DeleteAppGroup ¶
func (mr *MockAppInfoServiceClientMockRecorder) DeleteAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAppGroup indicates an expected call of DeleteAppGroup.
func (*MockAppInfoServiceClientMockRecorder) GetAppGroup ¶
func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroup(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppGroup indicates an expected call of GetAppGroup.
func (*MockAppInfoServiceClientMockRecorder) GetAppGroups ¶
func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppGroups indicates an expected call of GetAppGroups.
func (*MockAppInfoServiceClientMockRecorder) GetAppGroupsByClusterID ¶
func (mr *MockAppInfoServiceClientMockRecorder) GetAppGroupsByClusterID(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppGroupsByClusterID indicates an expected call of GetAppGroupsByClusterID.
func (*MockAppInfoServiceClientMockRecorder) GetApps ¶
func (mr *MockAppInfoServiceClientMockRecorder) GetApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetApps indicates an expected call of GetApps.
func (*MockAppInfoServiceClientMockRecorder) GetAppsByAppGroupID ¶
func (mr *MockAppInfoServiceClientMockRecorder) GetAppsByAppGroupID(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppsByAppGroupID indicates an expected call of GetAppsByAppGroupID.
func (*MockAppInfoServiceClientMockRecorder) UpdateApp ¶
func (mr *MockAppInfoServiceClientMockRecorder) UpdateApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateApp indicates an expected call of UpdateApp.
func (*MockAppInfoServiceClientMockRecorder) UpdateAppGroupStatus ¶
func (mr *MockAppInfoServiceClientMockRecorder) UpdateAppGroupStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateAppGroupStatus indicates an expected call of UpdateAppGroupStatus.
type MockAppInfoServiceServer ¶
type MockAppInfoServiceServer struct {
// contains filtered or unexported fields
}
MockAppInfoServiceServer is a mock of AppInfoServiceServer interface.
func NewMockAppInfoServiceServer ¶
func NewMockAppInfoServiceServer(ctrl *gomock.Controller) *MockAppInfoServiceServer
NewMockAppInfoServiceServer creates a new mock instance.
func (*MockAppInfoServiceServer) CreateAppGroup ¶
func (m *MockAppInfoServiceServer) CreateAppGroup(arg0 context.Context, arg1 *pbgo.CreateAppGroupRequest) (*pbgo.IDResponse, error)
CreateAppGroup mocks base method.
func (*MockAppInfoServiceServer) DeleteAppGroup ¶
func (m *MockAppInfoServiceServer) DeleteAppGroup(arg0 context.Context, arg1 *pbgo.DeleteAppGroupRequest) (*pbgo.SimpleResponse, error)
DeleteAppGroup mocks base method.
func (*MockAppInfoServiceServer) EXPECT ¶
func (m *MockAppInfoServiceServer) EXPECT() *MockAppInfoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppInfoServiceServer) GetAppGroup ¶
func (m *MockAppInfoServiceServer) GetAppGroup(arg0 context.Context, arg1 *pbgo.GetAppGroupRequest) (*pbgo.GetAppGroupResponse, error)
GetAppGroup mocks base method.
func (*MockAppInfoServiceServer) GetAppGroups ¶
func (m *MockAppInfoServiceServer) GetAppGroups(arg0 context.Context, arg1 *pbgo.GetAppGroupsRequest) (*pbgo.GetAppGroupsResponse, error)
GetAppGroups mocks base method.
func (*MockAppInfoServiceServer) GetAppGroupsByClusterID ¶
func (m *MockAppInfoServiceServer) GetAppGroupsByClusterID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetAppGroupsResponse, error)
GetAppGroupsByClusterID mocks base method.
func (*MockAppInfoServiceServer) GetApps ¶
func (m *MockAppInfoServiceServer) GetApps(arg0 context.Context, arg1 *pbgo.GetAppsRequest) (*pbgo.GetAppsResponse, error)
GetApps mocks base method.
func (*MockAppInfoServiceServer) GetAppsByAppGroupID ¶
func (m *MockAppInfoServiceServer) GetAppsByAppGroupID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetAppsResponse, error)
GetAppsByAppGroupID mocks base method.
func (*MockAppInfoServiceServer) UpdateApp ¶
func (m *MockAppInfoServiceServer) UpdateApp(arg0 context.Context, arg1 *pbgo.UpdateAppRequest) (*pbgo.SimpleResponse, error)
UpdateApp mocks base method.
func (*MockAppInfoServiceServer) UpdateAppGroupStatus ¶
func (m *MockAppInfoServiceServer) UpdateAppGroupStatus(arg0 context.Context, arg1 *pbgo.UpdateAppGroupStatusRequest) (*pbgo.SimpleResponse, error)
UpdateAppGroupStatus mocks base method.
type MockAppInfoServiceServerMockRecorder ¶
type MockAppInfoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAppInfoServiceServerMockRecorder is the mock recorder for MockAppInfoServiceServer.
func (*MockAppInfoServiceServerMockRecorder) CreateAppGroup ¶
func (mr *MockAppInfoServiceServerMockRecorder) CreateAppGroup(arg0, arg1 interface{}) *gomock.Call
CreateAppGroup indicates an expected call of CreateAppGroup.
func (*MockAppInfoServiceServerMockRecorder) DeleteAppGroup ¶
func (mr *MockAppInfoServiceServerMockRecorder) DeleteAppGroup(arg0, arg1 interface{}) *gomock.Call
DeleteAppGroup indicates an expected call of DeleteAppGroup.
func (*MockAppInfoServiceServerMockRecorder) GetAppGroup ¶
func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroup(arg0, arg1 interface{}) *gomock.Call
GetAppGroup indicates an expected call of GetAppGroup.
func (*MockAppInfoServiceServerMockRecorder) GetAppGroups ¶
func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroups(arg0, arg1 interface{}) *gomock.Call
GetAppGroups indicates an expected call of GetAppGroups.
func (*MockAppInfoServiceServerMockRecorder) GetAppGroupsByClusterID ¶
func (mr *MockAppInfoServiceServerMockRecorder) GetAppGroupsByClusterID(arg0, arg1 interface{}) *gomock.Call
GetAppGroupsByClusterID indicates an expected call of GetAppGroupsByClusterID.
func (*MockAppInfoServiceServerMockRecorder) GetApps ¶
func (mr *MockAppInfoServiceServerMockRecorder) GetApps(arg0, arg1 interface{}) *gomock.Call
GetApps indicates an expected call of GetApps.
func (*MockAppInfoServiceServerMockRecorder) GetAppsByAppGroupID ¶
func (mr *MockAppInfoServiceServerMockRecorder) GetAppsByAppGroupID(arg0, arg1 interface{}) *gomock.Call
GetAppsByAppGroupID indicates an expected call of GetAppsByAppGroupID.
func (*MockAppInfoServiceServerMockRecorder) UpdateApp ¶
func (mr *MockAppInfoServiceServerMockRecorder) UpdateApp(arg0, arg1 interface{}) *gomock.Call
UpdateApp indicates an expected call of UpdateApp.
func (*MockAppInfoServiceServerMockRecorder) UpdateAppGroupStatus ¶
func (mr *MockAppInfoServiceServerMockRecorder) UpdateAppGroupStatus(arg0, arg1 interface{}) *gomock.Call
UpdateAppGroupStatus indicates an expected call of UpdateAppGroupStatus.
type MockClusterLcmServiceClient ¶
type MockClusterLcmServiceClient struct {
// contains filtered or unexported fields
}
MockClusterLcmServiceClient is a mock of ClusterLcmServiceClient interface.
func NewMockClusterLcmServiceClient ¶
func NewMockClusterLcmServiceClient(ctrl *gomock.Controller) *MockClusterLcmServiceClient
NewMockClusterLcmServiceClient creates a new mock instance.
func (*MockClusterLcmServiceClient) CreateCluster ¶
func (m *MockClusterLcmServiceClient) CreateCluster(ctx context.Context, in *pbgo.CreateClusterRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
CreateCluster mocks base method.
func (*MockClusterLcmServiceClient) EXPECT ¶
func (m *MockClusterLcmServiceClient) EXPECT() *MockClusterLcmServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterLcmServiceClient) InstallAppGroups ¶
func (m *MockClusterLcmServiceClient) InstallAppGroups(ctx context.Context, in *pbgo.InstallAppGroupsRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
InstallAppGroups mocks base method.
func (*MockClusterLcmServiceClient) ScaleCluster ¶
func (m *MockClusterLcmServiceClient) ScaleCluster(ctx context.Context, in *pbgo.ScaleClusterRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
ScaleCluster mocks base method.
func (*MockClusterLcmServiceClient) UninstallAppGroups ¶
func (m *MockClusterLcmServiceClient) UninstallAppGroups(ctx context.Context, in *pbgo.UninstallAppGroupsRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UninstallAppGroups mocks base method.
type MockClusterLcmServiceClientMockRecorder ¶
type MockClusterLcmServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterLcmServiceClientMockRecorder is the mock recorder for MockClusterLcmServiceClient.
func (*MockClusterLcmServiceClientMockRecorder) CreateCluster ¶
func (mr *MockClusterLcmServiceClientMockRecorder) CreateCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockClusterLcmServiceClientMockRecorder) InstallAppGroups ¶
func (mr *MockClusterLcmServiceClientMockRecorder) InstallAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
InstallAppGroups indicates an expected call of InstallAppGroups.
func (*MockClusterLcmServiceClientMockRecorder) ScaleCluster ¶
func (mr *MockClusterLcmServiceClientMockRecorder) ScaleCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
ScaleCluster indicates an expected call of ScaleCluster.
func (*MockClusterLcmServiceClientMockRecorder) UninstallAppGroups ¶
func (mr *MockClusterLcmServiceClientMockRecorder) UninstallAppGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
UninstallAppGroups indicates an expected call of UninstallAppGroups.
type MockClusterLcmServiceServer ¶
type MockClusterLcmServiceServer struct {
// contains filtered or unexported fields
}
MockClusterLcmServiceServer is a mock of ClusterLcmServiceServer interface.
func NewMockClusterLcmServiceServer ¶
func NewMockClusterLcmServiceServer(ctrl *gomock.Controller) *MockClusterLcmServiceServer
NewMockClusterLcmServiceServer creates a new mock instance.
func (*MockClusterLcmServiceServer) CreateCluster ¶
func (m *MockClusterLcmServiceServer) CreateCluster(arg0 context.Context, arg1 *pbgo.CreateClusterRequest) (*pbgo.IDsResponse, error)
CreateCluster mocks base method.
func (*MockClusterLcmServiceServer) EXPECT ¶
func (m *MockClusterLcmServiceServer) EXPECT() *MockClusterLcmServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterLcmServiceServer) InstallAppGroups ¶
func (m *MockClusterLcmServiceServer) InstallAppGroups(arg0 context.Context, arg1 *pbgo.InstallAppGroupsRequest) (*pbgo.IDsResponse, error)
InstallAppGroups mocks base method.
func (*MockClusterLcmServiceServer) ScaleCluster ¶
func (m *MockClusterLcmServiceServer) ScaleCluster(arg0 context.Context, arg1 *pbgo.ScaleClusterRequest) (*pbgo.SimpleResponse, error)
ScaleCluster mocks base method.
func (*MockClusterLcmServiceServer) UninstallAppGroups ¶
func (m *MockClusterLcmServiceServer) UninstallAppGroups(arg0 context.Context, arg1 *pbgo.UninstallAppGroupsRequest) (*pbgo.SimpleResponse, error)
UninstallAppGroups mocks base method.
type MockClusterLcmServiceServerMockRecorder ¶
type MockClusterLcmServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterLcmServiceServerMockRecorder is the mock recorder for MockClusterLcmServiceServer.
func (*MockClusterLcmServiceServerMockRecorder) CreateCluster ¶
func (mr *MockClusterLcmServiceServerMockRecorder) CreateCluster(arg0, arg1 interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockClusterLcmServiceServerMockRecorder) InstallAppGroups ¶
func (mr *MockClusterLcmServiceServerMockRecorder) InstallAppGroups(arg0, arg1 interface{}) *gomock.Call
InstallAppGroups indicates an expected call of InstallAppGroups.
func (*MockClusterLcmServiceServerMockRecorder) ScaleCluster ¶
func (mr *MockClusterLcmServiceServerMockRecorder) ScaleCluster(arg0, arg1 interface{}) *gomock.Call
ScaleCluster indicates an expected call of ScaleCluster.
func (*MockClusterLcmServiceServerMockRecorder) UninstallAppGroups ¶
func (mr *MockClusterLcmServiceServerMockRecorder) UninstallAppGroups(arg0, arg1 interface{}) *gomock.Call
UninstallAppGroups indicates an expected call of UninstallAppGroups.
type MockContractServiceClient ¶
type MockContractServiceClient struct {
// contains filtered or unexported fields
}
MockContractServiceClient is a mock of ContractServiceClient interface.
func NewMockContractServiceClient ¶
func NewMockContractServiceClient(ctrl *gomock.Controller) *MockContractServiceClient
NewMockContractServiceClient creates a new mock instance.
func (*MockContractServiceClient) CreateContract ¶
func (m *MockContractServiceClient) CreateContract(ctx context.Context, in *pbgo.CreateContractRequest, opts ...grpc.CallOption) (*pbgo.CreateContractResponse, error)
CreateContract mocks base method.
func (*MockContractServiceClient) EXPECT ¶
func (m *MockContractServiceClient) EXPECT() *MockContractServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContractServiceClient) GetAvailableServices ¶
func (m *MockContractServiceClient) GetAvailableServices(ctx context.Context, in *pbgo.GetAvailableServicesRequest, opts ...grpc.CallOption) (*pbgo.GetAvailableServicesResponse, error)
GetAvailableServices mocks base method.
func (*MockContractServiceClient) GetContract ¶
func (m *MockContractServiceClient) GetContract(ctx context.Context, in *pbgo.GetContractRequest, opts ...grpc.CallOption) (*pbgo.GetContractResponse, error)
GetContract mocks base method.
func (*MockContractServiceClient) GetContracts ¶
func (m *MockContractServiceClient) GetContracts(ctx context.Context, in *pbgo.GetContractsRequest, opts ...grpc.CallOption) (*pbgo.GetContractsResponse, error)
GetContracts mocks base method.
func (*MockContractServiceClient) GetQuota ¶
func (m *MockContractServiceClient) GetQuota(ctx context.Context, in *pbgo.GetQuotaRequest, opts ...grpc.CallOption) (*pbgo.GetQuotaResponse, error)
GetQuota mocks base method.
func (*MockContractServiceClient) UpdateQuota ¶
func (m *MockContractServiceClient) UpdateQuota(ctx context.Context, in *pbgo.UpdateQuotaRequest, opts ...grpc.CallOption) (*pbgo.UpdateQuotaResponse, error)
UpdateQuota mocks base method.
func (*MockContractServiceClient) UpdateServices ¶
func (m *MockContractServiceClient) UpdateServices(ctx context.Context, in *pbgo.UpdateServicesRequest, opts ...grpc.CallOption) (*pbgo.UpdateServicesResponse, error)
UpdateServices mocks base method.
type MockContractServiceClientMockRecorder ¶
type MockContractServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockContractServiceClientMockRecorder is the mock recorder for MockContractServiceClient.
func (*MockContractServiceClientMockRecorder) CreateContract ¶
func (mr *MockContractServiceClientMockRecorder) CreateContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateContract indicates an expected call of CreateContract.
func (*MockContractServiceClientMockRecorder) GetAvailableServices ¶
func (mr *MockContractServiceClientMockRecorder) GetAvailableServices(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAvailableServices indicates an expected call of GetAvailableServices.
func (*MockContractServiceClientMockRecorder) GetContract ¶
func (mr *MockContractServiceClientMockRecorder) GetContract(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetContract indicates an expected call of GetContract.
func (*MockContractServiceClientMockRecorder) GetContracts ¶
func (mr *MockContractServiceClientMockRecorder) GetContracts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetContracts indicates an expected call of GetContracts.
func (*MockContractServiceClientMockRecorder) GetQuota ¶
func (mr *MockContractServiceClientMockRecorder) GetQuota(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetQuota indicates an expected call of GetQuota.
func (*MockContractServiceClientMockRecorder) UpdateQuota ¶
func (mr *MockContractServiceClientMockRecorder) UpdateQuota(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateQuota indicates an expected call of UpdateQuota.
func (*MockContractServiceClientMockRecorder) UpdateServices ¶
func (mr *MockContractServiceClientMockRecorder) UpdateServices(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateServices indicates an expected call of UpdateServices.
type MockContractServiceServer ¶
type MockContractServiceServer struct {
// contains filtered or unexported fields
}
MockContractServiceServer is a mock of ContractServiceServer interface.
func NewMockContractServiceServer ¶
func NewMockContractServiceServer(ctrl *gomock.Controller) *MockContractServiceServer
NewMockContractServiceServer creates a new mock instance.
func (*MockContractServiceServer) CreateContract ¶
func (m *MockContractServiceServer) CreateContract(arg0 context.Context, arg1 *pbgo.CreateContractRequest) (*pbgo.CreateContractResponse, error)
CreateContract mocks base method.
func (*MockContractServiceServer) EXPECT ¶
func (m *MockContractServiceServer) EXPECT() *MockContractServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContractServiceServer) GetAvailableServices ¶
func (m *MockContractServiceServer) GetAvailableServices(arg0 context.Context, arg1 *pbgo.GetAvailableServicesRequest) (*pbgo.GetAvailableServicesResponse, error)
GetAvailableServices mocks base method.
func (*MockContractServiceServer) GetContract ¶
func (m *MockContractServiceServer) GetContract(arg0 context.Context, arg1 *pbgo.GetContractRequest) (*pbgo.GetContractResponse, error)
GetContract mocks base method.
func (*MockContractServiceServer) GetContracts ¶
func (m *MockContractServiceServer) GetContracts(arg0 context.Context, arg1 *pbgo.GetContractsRequest) (*pbgo.GetContractsResponse, error)
GetContracts mocks base method.
func (*MockContractServiceServer) GetQuota ¶
func (m *MockContractServiceServer) GetQuota(arg0 context.Context, arg1 *pbgo.GetQuotaRequest) (*pbgo.GetQuotaResponse, error)
GetQuota mocks base method.
func (*MockContractServiceServer) UpdateQuota ¶
func (m *MockContractServiceServer) UpdateQuota(arg0 context.Context, arg1 *pbgo.UpdateQuotaRequest) (*pbgo.UpdateQuotaResponse, error)
UpdateQuota mocks base method.
func (*MockContractServiceServer) UpdateServices ¶
func (m *MockContractServiceServer) UpdateServices(arg0 context.Context, arg1 *pbgo.UpdateServicesRequest) (*pbgo.UpdateServicesResponse, error)
UpdateServices mocks base method.
type MockContractServiceServerMockRecorder ¶
type MockContractServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockContractServiceServerMockRecorder is the mock recorder for MockContractServiceServer.
func (*MockContractServiceServerMockRecorder) CreateContract ¶
func (mr *MockContractServiceServerMockRecorder) CreateContract(arg0, arg1 interface{}) *gomock.Call
CreateContract indicates an expected call of CreateContract.
func (*MockContractServiceServerMockRecorder) GetAvailableServices ¶
func (mr *MockContractServiceServerMockRecorder) GetAvailableServices(arg0, arg1 interface{}) *gomock.Call
GetAvailableServices indicates an expected call of GetAvailableServices.
func (*MockContractServiceServerMockRecorder) GetContract ¶
func (mr *MockContractServiceServerMockRecorder) GetContract(arg0, arg1 interface{}) *gomock.Call
GetContract indicates an expected call of GetContract.
func (*MockContractServiceServerMockRecorder) GetContracts ¶
func (mr *MockContractServiceServerMockRecorder) GetContracts(arg0, arg1 interface{}) *gomock.Call
GetContracts indicates an expected call of GetContracts.
func (*MockContractServiceServerMockRecorder) GetQuota ¶
func (mr *MockContractServiceServerMockRecorder) GetQuota(arg0, arg1 interface{}) *gomock.Call
GetQuota indicates an expected call of GetQuota.
func (*MockContractServiceServerMockRecorder) UpdateQuota ¶
func (mr *MockContractServiceServerMockRecorder) UpdateQuota(arg0, arg1 interface{}) *gomock.Call
UpdateQuota indicates an expected call of UpdateQuota.
func (*MockContractServiceServerMockRecorder) UpdateServices ¶
func (mr *MockContractServiceServerMockRecorder) UpdateServices(arg0, arg1 interface{}) *gomock.Call
UpdateServices indicates an expected call of UpdateServices.
type MockInfoServiceClient ¶
type MockInfoServiceClient struct {
// contains filtered or unexported fields
}
MockInfoServiceClient is a mock of InfoServiceClient interface.
func NewMockInfoServiceClient ¶
func NewMockInfoServiceClient(ctrl *gomock.Controller) *MockInfoServiceClient
NewMockInfoServiceClient creates a new mock instance.
func (*MockInfoServiceClient) AddClusterInfo ¶
func (m *MockInfoServiceClient) AddClusterInfo(ctx context.Context, in *pbgo.AddClusterInfoRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
AddClusterInfo mocks base method.
func (*MockInfoServiceClient) CreateCSPInfo ¶
func (m *MockInfoServiceClient) CreateCSPInfo(ctx context.Context, in *pbgo.CreateCSPInfoRequest, opts ...grpc.CallOption) (*pbgo.IDResponse, error)
CreateCSPInfo mocks base method.
func (*MockInfoServiceClient) EXPECT ¶
func (m *MockInfoServiceClient) EXPECT() *MockInfoServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInfoServiceClient) GetCSPAuth ¶
func (m *MockInfoServiceClient) GetCSPAuth(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.GetCSPAuthResponse, error)
GetCSPAuth mocks base method.
func (*MockInfoServiceClient) GetCSPIDs ¶
func (m *MockInfoServiceClient) GetCSPIDs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
GetCSPIDs mocks base method.
func (*MockInfoServiceClient) GetCSPIDsByContractID ¶
func (m *MockInfoServiceClient) GetCSPIDsByContractID(ctx context.Context, in *pbgo.IDRequest, opts ...grpc.CallOption) (*pbgo.IDsResponse, error)
GetCSPIDsByContractID mocks base method.
func (*MockInfoServiceClient) GetCluster ¶
func (m *MockInfoServiceClient) GetCluster(ctx context.Context, in *pbgo.GetClusterRequest, opts ...grpc.CallOption) (*pbgo.GetClusterResponse, error)
GetCluster mocks base method.
func (*MockInfoServiceClient) GetClusters ¶
func (m *MockInfoServiceClient) GetClusters(ctx context.Context, in *pbgo.GetClustersRequest, opts ...grpc.CallOption) (*pbgo.GetClustersResponse, error)
GetClusters mocks base method.
func (*MockInfoServiceClient) UpdateCSPInfo ¶
func (m *MockInfoServiceClient) UpdateCSPInfo(ctx context.Context, in *pbgo.UpdateCSPInfoRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UpdateCSPInfo mocks base method.
func (*MockInfoServiceClient) UpdateClusterConf ¶
func (m *MockInfoServiceClient) UpdateClusterConf(ctx context.Context, in *pbgo.UpdateClusterConfRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UpdateClusterConf mocks base method.
func (*MockInfoServiceClient) UpdateClusterStatus ¶
func (m *MockInfoServiceClient) UpdateClusterStatus(ctx context.Context, in *pbgo.UpdateClusterStatusRequest, opts ...grpc.CallOption) (*pbgo.SimpleResponse, error)
UpdateClusterStatus mocks base method.
type MockInfoServiceClientMockRecorder ¶
type MockInfoServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockInfoServiceClientMockRecorder is the mock recorder for MockInfoServiceClient.
func (*MockInfoServiceClientMockRecorder) AddClusterInfo ¶
func (mr *MockInfoServiceClientMockRecorder) AddClusterInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddClusterInfo indicates an expected call of AddClusterInfo.
func (*MockInfoServiceClientMockRecorder) CreateCSPInfo ¶
func (mr *MockInfoServiceClientMockRecorder) CreateCSPInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateCSPInfo indicates an expected call of CreateCSPInfo.
func (*MockInfoServiceClientMockRecorder) GetCSPAuth ¶
func (mr *MockInfoServiceClientMockRecorder) GetCSPAuth(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCSPAuth indicates an expected call of GetCSPAuth.
func (*MockInfoServiceClientMockRecorder) GetCSPIDs ¶
func (mr *MockInfoServiceClientMockRecorder) GetCSPIDs(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCSPIDs indicates an expected call of GetCSPIDs.
func (*MockInfoServiceClientMockRecorder) GetCSPIDsByContractID ¶
func (mr *MockInfoServiceClientMockRecorder) GetCSPIDsByContractID(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCSPIDsByContractID indicates an expected call of GetCSPIDsByContractID.
func (*MockInfoServiceClientMockRecorder) GetCluster ¶
func (mr *MockInfoServiceClientMockRecorder) GetCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockInfoServiceClientMockRecorder) GetClusters ¶
func (mr *MockInfoServiceClientMockRecorder) GetClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetClusters indicates an expected call of GetClusters.
func (*MockInfoServiceClientMockRecorder) UpdateCSPInfo ¶
func (mr *MockInfoServiceClientMockRecorder) UpdateCSPInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateCSPInfo indicates an expected call of UpdateCSPInfo.
func (*MockInfoServiceClientMockRecorder) UpdateClusterConf ¶
func (mr *MockInfoServiceClientMockRecorder) UpdateClusterConf(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateClusterConf indicates an expected call of UpdateClusterConf.
func (*MockInfoServiceClientMockRecorder) UpdateClusterStatus ¶
func (mr *MockInfoServiceClientMockRecorder) UpdateClusterStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateClusterStatus indicates an expected call of UpdateClusterStatus.
type MockInfoServiceServer ¶
type MockInfoServiceServer struct {
// contains filtered or unexported fields
}
MockInfoServiceServer is a mock of InfoServiceServer interface.
func NewMockInfoServiceServer ¶
func NewMockInfoServiceServer(ctrl *gomock.Controller) *MockInfoServiceServer
NewMockInfoServiceServer creates a new mock instance.
func (*MockInfoServiceServer) AddClusterInfo ¶
func (m *MockInfoServiceServer) AddClusterInfo(arg0 context.Context, arg1 *pbgo.AddClusterInfoRequest) (*pbgo.IDResponse, error)
AddClusterInfo mocks base method.
func (*MockInfoServiceServer) CreateCSPInfo ¶
func (m *MockInfoServiceServer) CreateCSPInfo(arg0 context.Context, arg1 *pbgo.CreateCSPInfoRequest) (*pbgo.IDResponse, error)
CreateCSPInfo mocks base method.
func (*MockInfoServiceServer) EXPECT ¶
func (m *MockInfoServiceServer) EXPECT() *MockInfoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInfoServiceServer) GetCSPAuth ¶
func (m *MockInfoServiceServer) GetCSPAuth(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.GetCSPAuthResponse, error)
GetCSPAuth mocks base method.
func (*MockInfoServiceServer) GetCSPIDs ¶
func (m *MockInfoServiceServer) GetCSPIDs(arg0 context.Context, arg1 *emptypb.Empty) (*pbgo.IDsResponse, error)
GetCSPIDs mocks base method.
func (*MockInfoServiceServer) GetCSPIDsByContractID ¶
func (m *MockInfoServiceServer) GetCSPIDsByContractID(arg0 context.Context, arg1 *pbgo.IDRequest) (*pbgo.IDsResponse, error)
GetCSPIDsByContractID mocks base method.
func (*MockInfoServiceServer) GetCluster ¶
func (m *MockInfoServiceServer) GetCluster(arg0 context.Context, arg1 *pbgo.GetClusterRequest) (*pbgo.GetClusterResponse, error)
GetCluster mocks base method.
func (*MockInfoServiceServer) GetClusters ¶
func (m *MockInfoServiceServer) GetClusters(arg0 context.Context, arg1 *pbgo.GetClustersRequest) (*pbgo.GetClustersResponse, error)
GetClusters mocks base method.
func (*MockInfoServiceServer) UpdateCSPInfo ¶
func (m *MockInfoServiceServer) UpdateCSPInfo(arg0 context.Context, arg1 *pbgo.UpdateCSPInfoRequest) (*pbgo.SimpleResponse, error)
UpdateCSPInfo mocks base method.
func (*MockInfoServiceServer) UpdateClusterConf ¶
func (m *MockInfoServiceServer) UpdateClusterConf(arg0 context.Context, arg1 *pbgo.UpdateClusterConfRequest) (*pbgo.SimpleResponse, error)
UpdateClusterConf mocks base method.
func (*MockInfoServiceServer) UpdateClusterStatus ¶
func (m *MockInfoServiceServer) UpdateClusterStatus(arg0 context.Context, arg1 *pbgo.UpdateClusterStatusRequest) (*pbgo.SimpleResponse, error)
UpdateClusterStatus mocks base method.
type MockInfoServiceServerMockRecorder ¶
type MockInfoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockInfoServiceServerMockRecorder is the mock recorder for MockInfoServiceServer.
func (*MockInfoServiceServerMockRecorder) AddClusterInfo ¶
func (mr *MockInfoServiceServerMockRecorder) AddClusterInfo(arg0, arg1 interface{}) *gomock.Call
AddClusterInfo indicates an expected call of AddClusterInfo.
func (*MockInfoServiceServerMockRecorder) CreateCSPInfo ¶
func (mr *MockInfoServiceServerMockRecorder) CreateCSPInfo(arg0, arg1 interface{}) *gomock.Call
CreateCSPInfo indicates an expected call of CreateCSPInfo.
func (*MockInfoServiceServerMockRecorder) GetCSPAuth ¶
func (mr *MockInfoServiceServerMockRecorder) GetCSPAuth(arg0, arg1 interface{}) *gomock.Call
GetCSPAuth indicates an expected call of GetCSPAuth.
func (*MockInfoServiceServerMockRecorder) GetCSPIDs ¶
func (mr *MockInfoServiceServerMockRecorder) GetCSPIDs(arg0, arg1 interface{}) *gomock.Call
GetCSPIDs indicates an expected call of GetCSPIDs.
func (*MockInfoServiceServerMockRecorder) GetCSPIDsByContractID ¶
func (mr *MockInfoServiceServerMockRecorder) GetCSPIDsByContractID(arg0, arg1 interface{}) *gomock.Call
GetCSPIDsByContractID indicates an expected call of GetCSPIDsByContractID.
func (*MockInfoServiceServerMockRecorder) GetCluster ¶
func (mr *MockInfoServiceServerMockRecorder) GetCluster(arg0, arg1 interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockInfoServiceServerMockRecorder) GetClusters ¶
func (mr *MockInfoServiceServerMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call
GetClusters indicates an expected call of GetClusters.
func (*MockInfoServiceServerMockRecorder) UpdateCSPInfo ¶
func (mr *MockInfoServiceServerMockRecorder) UpdateCSPInfo(arg0, arg1 interface{}) *gomock.Call
UpdateCSPInfo indicates an expected call of UpdateCSPInfo.
func (*MockInfoServiceServerMockRecorder) UpdateClusterConf ¶
func (mr *MockInfoServiceServerMockRecorder) UpdateClusterConf(arg0, arg1 interface{}) *gomock.Call
UpdateClusterConf indicates an expected call of UpdateClusterConf.
func (*MockInfoServiceServerMockRecorder) UpdateClusterStatus ¶
func (mr *MockInfoServiceServerMockRecorder) UpdateClusterStatus(arg0, arg1 interface{}) *gomock.Call
UpdateClusterStatus indicates an expected call of UpdateClusterStatus.
type MockUnsafeAppInfoServiceServer ¶
type MockUnsafeAppInfoServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeAppInfoServiceServer is a mock of UnsafeAppInfoServiceServer interface.
func NewMockUnsafeAppInfoServiceServer ¶
func NewMockUnsafeAppInfoServiceServer(ctrl *gomock.Controller) *MockUnsafeAppInfoServiceServer
NewMockUnsafeAppInfoServiceServer creates a new mock instance.
func (*MockUnsafeAppInfoServiceServer) EXPECT ¶
func (m *MockUnsafeAppInfoServiceServer) EXPECT() *MockUnsafeAppInfoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAppInfoServiceServerMockRecorder ¶
type MockUnsafeAppInfoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAppInfoServiceServerMockRecorder is the mock recorder for MockUnsafeAppInfoServiceServer.
type MockUnsafeClusterLcmServiceServer ¶
type MockUnsafeClusterLcmServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeClusterLcmServiceServer is a mock of UnsafeClusterLcmServiceServer interface.
func NewMockUnsafeClusterLcmServiceServer ¶
func NewMockUnsafeClusterLcmServiceServer(ctrl *gomock.Controller) *MockUnsafeClusterLcmServiceServer
NewMockUnsafeClusterLcmServiceServer creates a new mock instance.
func (*MockUnsafeClusterLcmServiceServer) EXPECT ¶
func (m *MockUnsafeClusterLcmServiceServer) EXPECT() *MockUnsafeClusterLcmServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeClusterLcmServiceServerMockRecorder ¶
type MockUnsafeClusterLcmServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeClusterLcmServiceServerMockRecorder is the mock recorder for MockUnsafeClusterLcmServiceServer.
type MockUnsafeContractServiceServer ¶
type MockUnsafeContractServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeContractServiceServer is a mock of UnsafeContractServiceServer interface.
func NewMockUnsafeContractServiceServer ¶
func NewMockUnsafeContractServiceServer(ctrl *gomock.Controller) *MockUnsafeContractServiceServer
NewMockUnsafeContractServiceServer creates a new mock instance.
func (*MockUnsafeContractServiceServer) EXPECT ¶
func (m *MockUnsafeContractServiceServer) EXPECT() *MockUnsafeContractServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeContractServiceServerMockRecorder ¶
type MockUnsafeContractServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeContractServiceServerMockRecorder is the mock recorder for MockUnsafeContractServiceServer.
type MockUnsafeInfoServiceServer ¶
type MockUnsafeInfoServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeInfoServiceServer is a mock of UnsafeInfoServiceServer interface.
func NewMockUnsafeInfoServiceServer ¶
func NewMockUnsafeInfoServiceServer(ctrl *gomock.Controller) *MockUnsafeInfoServiceServer
NewMockUnsafeInfoServiceServer creates a new mock instance.
func (*MockUnsafeInfoServiceServer) EXPECT ¶
func (m *MockUnsafeInfoServiceServer) EXPECT() *MockUnsafeInfoServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeInfoServiceServerMockRecorder ¶
type MockUnsafeInfoServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeInfoServiceServerMockRecorder is the mock recorder for MockUnsafeInfoServiceServer.