mock_pbgo

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 6 Imported by: 0

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

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

CreateAppGroup mocks base method.

func (*MockAppInfoServiceClient) DeleteAppGroup

DeleteAppGroup mocks base method.

func (*MockAppInfoServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppInfoServiceClient) GetAppGroup

GetAppGroup mocks base method.

func (*MockAppInfoServiceClient) GetAppGroups

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

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

UpdateApp mocks base method.

func (*MockAppInfoServiceClient) UpdateAppGroupStatus

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

CreateAppGroup mocks base method.

func (*MockAppInfoServiceServer) DeleteAppGroup

DeleteAppGroup mocks base method.

func (*MockAppInfoServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppInfoServiceServer) GetAppGroup

GetAppGroup mocks base method.

func (*MockAppInfoServiceServer) GetAppGroups

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

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

UpdateApp mocks base method.

func (*MockAppInfoServiceServer) UpdateAppGroupStatus

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

CreateCluster mocks base method.

func (*MockClusterLcmServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterLcmServiceClient) InstallAppGroups

InstallAppGroups mocks base method.

func (*MockClusterLcmServiceClient) ScaleCluster

ScaleCluster mocks base method.

func (*MockClusterLcmServiceClient) UninstallAppGroups

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

CreateCluster mocks base method.

func (*MockClusterLcmServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterLcmServiceServer) InstallAppGroups

InstallAppGroups mocks base method.

func (*MockClusterLcmServiceServer) ScaleCluster

ScaleCluster mocks base method.

func (*MockClusterLcmServiceServer) UninstallAppGroups

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

CreateContract mocks base method.

func (*MockContractServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContractServiceClient) GetAvailableServices

GetAvailableServices mocks base method.

func (*MockContractServiceClient) GetContract

GetContract mocks base method.

func (*MockContractServiceClient) GetContracts

GetContracts mocks base method.

func (*MockContractServiceClient) GetQuota

GetQuota mocks base method.

func (*MockContractServiceClient) UpdateQuota

UpdateQuota mocks base method.

func (*MockContractServiceClient) UpdateServices

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

CreateContract mocks base method.

func (*MockContractServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContractServiceServer) GetAvailableServices

GetAvailableServices mocks base method.

func (*MockContractServiceServer) GetContract

GetContract mocks base method.

func (*MockContractServiceServer) GetContracts

GetContracts mocks base method.

func (*MockContractServiceServer) GetQuota

GetQuota mocks base method.

func (*MockContractServiceServer) UpdateQuota

UpdateQuota mocks base method.

func (*MockContractServiceServer) UpdateServices

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

AddClusterInfo mocks base method.

func (*MockInfoServiceClient) CreateCSPInfo

CreateCSPInfo mocks base method.

func (*MockInfoServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInfoServiceClient) GetCSPAuth

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

GetCluster mocks base method.

func (*MockInfoServiceClient) GetClusters

GetClusters mocks base method.

func (*MockInfoServiceClient) UpdateCSPInfo

UpdateCSPInfo mocks base method.

func (*MockInfoServiceClient) UpdateClusterConf

UpdateClusterConf mocks base method.

func (*MockInfoServiceClient) UpdateClusterStatus

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

AddClusterInfo mocks base method.

func (*MockInfoServiceServer) CreateCSPInfo

CreateCSPInfo mocks base method.

func (*MockInfoServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInfoServiceServer) GetCSPAuth

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

GetCluster mocks base method.

func (*MockInfoServiceServer) GetClusters

GetClusters mocks base method.

func (*MockInfoServiceServer) UpdateCSPInfo

UpdateCSPInfo mocks base method.

func (*MockInfoServiceServer) UpdateClusterConf

UpdateClusterConf mocks base method.

func (*MockInfoServiceServer) UpdateClusterStatus

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL