Documentation ¶
Overview ¶
Package openpitrix is a generated GoMock package.
Copyright 2020 The KubeSphere Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func ContextWithUsername(username string) context.Context
- func IsDeleted(err error) bool
- func IsNotFound(err error) bool
- func SystemContext() context.Context
- type Client
- type MockClient
- func (m *MockClient) AddClusterNodes(ctx context.Context, in *pb.AddClusterNodesRequest, opts ...grpc.CallOption) (*pb.AddClusterNodesResponse, error)
- func (m *MockClient) AddNodeKeyPairs(ctx context.Context, in *pb.AddNodeKeyPairsRequest, opts ...grpc.CallOption) (*pb.AddNodeKeyPairsResponse, error)
- func (m *MockClient) AddTableClusterNodes(ctx context.Context, in *pb.AddTableClusterNodesRequest, ...) (*empty.Empty, error)
- func (m *MockClient) AdminPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
- func (m *MockClient) AdminRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
- func (m *MockClient) AppendAttachment(ctx context.Context, in *pb.AppendAttachmentRequest, opts ...grpc.CallOption) (*pb.AppendAttachmentResponse, error)
- func (m *MockClient) AttachKeyPairs(ctx context.Context, in *pb.AttachKeyPairsRequest, opts ...grpc.CallOption) (*pb.AttachKeyPairsResponse, error)
- func (m *MockClient) BusinessPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
- func (m *MockClient) BusinessRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
- func (m *MockClient) BusinessReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
- func (m *MockClient) CancelAppVersion(ctx context.Context, in *pb.CancelAppVersionRequest, opts ...grpc.CallOption) (*pb.CancelAppVersionResponse, error)
- func (m *MockClient) CeaseClusters(ctx context.Context, in *pb.CeaseClustersRequest, opts ...grpc.CallOption) (*pb.CeaseClustersResponse, error)
- func (m *MockClient) CleanupRuntime(cluster string) error
- func (m *MockClient) CreateApp(ctx context.Context, in *pb.CreateAppRequest, opts ...grpc.CallOption) (*pb.CreateAppResponse, error)
- func (m *MockClient) CreateAppVersion(ctx context.Context, in *pb.CreateAppVersionRequest, opts ...grpc.CallOption) (*pb.CreateAppVersionResponse, error)
- func (m *MockClient) CreateAttachment(ctx context.Context, in *pb.CreateAttachmentRequest, opts ...grpc.CallOption) (*pb.CreateAttachmentResponse, error)
- func (m *MockClient) CreateCategory(ctx context.Context, in *pb.CreateCategoryRequest, opts ...grpc.CallOption) (*pb.CreateCategoryResponse, error)
- func (m *MockClient) CreateCluster(ctx context.Context, in *pb.CreateClusterRequest, opts ...grpc.CallOption) (*pb.CreateClusterResponse, error)
- func (m *MockClient) CreateDebugCluster(ctx context.Context, in *pb.CreateClusterRequest, opts ...grpc.CallOption) (*pb.CreateClusterResponse, error)
- func (m *MockClient) CreateDebugRuntime(ctx context.Context, in *pb.CreateRuntimeRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeResponse, error)
- func (m *MockClient) CreateDebugRuntimeCredential(ctx context.Context, in *pb.CreateRuntimeCredentialRequest, ...) (*pb.CreateRuntimeCredentialResponse, error)
- func (m *MockClient) CreateKeyPair(ctx context.Context, in *pb.CreateKeyPairRequest, opts ...grpc.CallOption) (*pb.CreateKeyPairResponse, error)
- func (m *MockClient) CreateRepo(ctx context.Context, in *pb.CreateRepoRequest, opts ...grpc.CallOption) (*pb.CreateRepoResponse, error)
- func (m *MockClient) CreateRuntime(ctx context.Context, in *pb.CreateRuntimeRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeResponse, error)
- func (m *MockClient) CreateRuntimeCredential(ctx context.Context, in *pb.CreateRuntimeCredentialRequest, ...) (*pb.CreateRuntimeCredentialResponse, error)
- func (m *MockClient) DeleteAppVersion(ctx context.Context, in *pb.DeleteAppVersionRequest, opts ...grpc.CallOption) (*pb.DeleteAppVersionResponse, error)
- func (m *MockClient) DeleteApps(ctx context.Context, in *pb.DeleteAppsRequest, opts ...grpc.CallOption) (*pb.DeleteAppsResponse, error)
- func (m *MockClient) DeleteAttachments(ctx context.Context, in *pb.DeleteAttachmentsRequest, opts ...grpc.CallOption) (*pb.DeleteAttachmentsResponse, error)
- func (m *MockClient) DeleteCategories(ctx context.Context, in *pb.DeleteCategoriesRequest, opts ...grpc.CallOption) (*pb.DeleteCategoriesResponse, error)
- func (m *MockClient) DeleteClusterInRuntime(ctx context.Context, in *pb.DeleteClusterInRuntimeRequest, ...) (*pb.DeleteClusterInRuntimeResponse, error)
- func (m *MockClient) DeleteClusterNodes(ctx context.Context, in *pb.DeleteClusterNodesRequest, opts ...grpc.CallOption) (*pb.DeleteClusterNodesResponse, error)
- func (m *MockClient) DeleteClusters(ctx context.Context, in *pb.DeleteClustersRequest, opts ...grpc.CallOption) (*pb.DeleteClustersResponse, error)
- func (m *MockClient) DeleteKeyPairs(ctx context.Context, in *pb.DeleteKeyPairsRequest, opts ...grpc.CallOption) (*pb.DeleteKeyPairsResponse, error)
- func (m *MockClient) DeleteNodeKeyPairs(ctx context.Context, in *pb.DeleteNodeKeyPairsRequest, opts ...grpc.CallOption) (*pb.DeleteNodeKeyPairsResponse, error)
- func (m *MockClient) DeleteRepos(ctx context.Context, in *pb.DeleteReposRequest, opts ...grpc.CallOption) (*pb.DeleteReposResponse, error)
- func (m *MockClient) DeleteRuntimeCredentials(ctx context.Context, in *pb.DeleteRuntimeCredentialsRequest, ...) (*pb.DeleteRuntimeCredentialsResponse, error)
- func (m *MockClient) DeleteRuntimes(ctx context.Context, in *pb.DeleteRuntimesRequest, opts ...grpc.CallOption) (*pb.DeleteRuntimesResponse, error)
- func (m *MockClient) DeleteTableClusterNodes(ctx context.Context, in *pb.DeleteTableClusterNodesRequest, ...) (*empty.Empty, error)
- func (m *MockClient) DescribeActiveAppVersions(ctx context.Context, in *pb.DescribeAppVersionsRequest, ...) (*pb.DescribeAppVersionsResponse, error)
- func (m *MockClient) DescribeActiveApps(ctx context.Context, in *pb.DescribeAppsRequest, opts ...grpc.CallOption) (*pb.DescribeAppsResponse, error)
- func (m *MockClient) DescribeAppClusters(ctx context.Context, in *pb.DescribeAppClustersRequest, ...) (*pb.DescribeAppClustersResponse, error)
- func (m *MockClient) DescribeAppVersionAudits(ctx context.Context, in *pb.DescribeAppVersionAuditsRequest, ...) (*pb.DescribeAppVersionAuditsResponse, error)
- func (m *MockClient) DescribeAppVersionReviews(ctx context.Context, in *pb.DescribeAppVersionReviewsRequest, ...) (*pb.DescribeAppVersionReviewsResponse, error)
- func (m *MockClient) DescribeAppVersions(ctx context.Context, in *pb.DescribeAppVersionsRequest, ...) (*pb.DescribeAppVersionsResponse, error)
- func (m *MockClient) DescribeApps(ctx context.Context, in *pb.DescribeAppsRequest, opts ...grpc.CallOption) (*pb.DescribeAppsResponse, error)
- func (m *MockClient) DescribeCategories(ctx context.Context, in *pb.DescribeCategoriesRequest, opts ...grpc.CallOption) (*pb.DescribeCategoriesResponse, error)
- func (m *MockClient) DescribeClusterNodes(ctx context.Context, in *pb.DescribeClusterNodesRequest, ...) (*pb.DescribeClusterNodesResponse, error)
- func (m *MockClient) DescribeClusters(ctx context.Context, in *pb.DescribeClustersRequest, opts ...grpc.CallOption) (*pb.DescribeClustersResponse, error)
- func (m *MockClient) DescribeDebugAppClusters(ctx context.Context, in *pb.DescribeAppClustersRequest, ...) (*pb.DescribeAppClustersResponse, error)
- func (m *MockClient) DescribeDebugClusters(ctx context.Context, in *pb.DescribeClustersRequest, opts ...grpc.CallOption) (*pb.DescribeClustersResponse, error)
- func (m *MockClient) DescribeDebugRuntimeCredentials(ctx context.Context, in *pb.DescribeRuntimeCredentialsRequest, ...) (*pb.DescribeRuntimeCredentialsResponse, error)
- func (m *MockClient) DescribeDebugRuntimes(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimesResponse, error)
- func (m *MockClient) DescribeKeyPairs(ctx context.Context, in *pb.DescribeKeyPairsRequest, opts ...grpc.CallOption) (*pb.DescribeKeyPairsResponse, error)
- func (m *MockClient) DescribeRepoEvents(ctx context.Context, in *pb.DescribeRepoEventsRequest, opts ...grpc.CallOption) (*pb.DescribeRepoEventsResponse, error)
- func (m *MockClient) DescribeRepos(ctx context.Context, in *pb.DescribeReposRequest, opts ...grpc.CallOption) (*pb.DescribeReposResponse, error)
- func (m *MockClient) DescribeRuntimeCredentials(ctx context.Context, in *pb.DescribeRuntimeCredentialsRequest, ...) (*pb.DescribeRuntimeCredentialsResponse, error)
- func (m *MockClient) DescribeRuntimeDetails(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimeDetailsResponse, error)
- func (m *MockClient) DescribeRuntimeProviderZones(ctx context.Context, in *pb.DescribeRuntimeProviderZonesRequest, ...) (*pb.DescribeRuntimeProviderZonesResponse, error)
- func (m *MockClient) DescribeRuntimes(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimesResponse, error)
- func (m *MockClient) DescribeSubnets(ctx context.Context, in *pb.DescribeSubnetsRequest, opts ...grpc.CallOption) (*pb.DescribeSubnetsResponse, error)
- func (m *MockClient) DetachKeyPairs(ctx context.Context, in *pb.DetachKeyPairsRequest, opts ...grpc.CallOption) (*pb.DetachKeyPairsResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetAppStatistics(ctx context.Context, in *pb.GetAppStatisticsRequest, opts ...grpc.CallOption) (*pb.GetAppStatisticsResponse, error)
- func (m *MockClient) GetAppVersionPackage(ctx context.Context, in *pb.GetAppVersionPackageRequest, ...) (*pb.GetAppVersionPackageResponse, error)
- func (m *MockClient) GetAppVersionPackageFiles(ctx context.Context, in *pb.GetAppVersionPackageFilesRequest, ...) (*pb.GetAppVersionPackageFilesResponse, error)
- func (m *MockClient) GetAttachments(ctx context.Context, in *pb.GetAttachmentsRequest, opts ...grpc.CallOption) (*pb.GetAttachmentsResponse, error)
- func (m *MockClient) GetClusterStatistics(ctx context.Context, in *pb.GetClusterStatisticsRequest, ...) (*pb.GetClusterStatisticsResponse, error)
- func (m *MockClient) GetRuntimeStatistics(ctx context.Context, in *pb.GetRuntimeStatisticsRequest, ...) (*pb.GetRuntimeStatisticsResponse, error)
- func (m *MockClient) IndexRepo(ctx context.Context, in *pb.IndexRepoRequest, opts ...grpc.CallOption) (*pb.IndexRepoResponse, error)
- func (m *MockClient) IsvPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
- func (m *MockClient) IsvRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
- func (m *MockClient) IsvReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
- func (m *MockClient) MigrateClusterInRuntime(ctx context.Context, in *pb.MigrateClusterInRuntimeRequest, ...) (*pb.MigrateClusterInRuntimeResponse, error)
- func (m *MockClient) MigrateRuntime(runtimeId, cluster string) error
- func (m *MockClient) ModifyApp(ctx context.Context, in *pb.ModifyAppRequest, opts ...grpc.CallOption) (*pb.ModifyAppResponse, error)
- func (m *MockClient) ModifyAppVersion(ctx context.Context, in *pb.ModifyAppVersionRequest, opts ...grpc.CallOption) (*pb.ModifyAppVersionResponse, error)
- func (m *MockClient) ModifyCategory(ctx context.Context, in *pb.ModifyCategoryRequest, opts ...grpc.CallOption) (*pb.ModifyCategoryResponse, error)
- func (m *MockClient) ModifyCluster(ctx context.Context, in *pb.ModifyClusterRequest, opts ...grpc.CallOption) (*pb.ModifyClusterResponse, error)
- func (m *MockClient) ModifyClusterAttributes(ctx context.Context, in *pb.ModifyClusterAttributesRequest, ...) (*pb.ModifyClusterAttributesResponse, error)
- func (m *MockClient) ModifyClusterNode(ctx context.Context, in *pb.ModifyClusterNodeRequest, opts ...grpc.CallOption) (*pb.ModifyClusterNodeResponse, error)
- func (m *MockClient) ModifyClusterNodeAttributes(ctx context.Context, in *pb.ModifyClusterNodeAttributesRequest, ...) (*pb.ModifyClusterNodeAttributesResponse, error)
- func (m *MockClient) ModifyRepo(ctx context.Context, in *pb.ModifyRepoRequest, opts ...grpc.CallOption) (*pb.ModifyRepoResponse, error)
- func (m *MockClient) ModifyRuntime(ctx context.Context, in *pb.ModifyRuntimeRequest, opts ...grpc.CallOption) (*pb.ModifyRuntimeResponse, error)
- func (m *MockClient) ModifyRuntimeCredential(ctx context.Context, in *pb.ModifyRuntimeCredentialRequest, ...) (*pb.ModifyRuntimeCredentialResponse, error)
- func (m *MockClient) RecoverAppVersion(ctx context.Context, in *pb.RecoverAppVersionRequest, opts ...grpc.CallOption) (*pb.RecoverAppVersionResponse, error)
- func (m *MockClient) RecoverClusters(ctx context.Context, in *pb.RecoverClustersRequest, opts ...grpc.CallOption) (*pb.RecoverClustersResponse, error)
- func (m *MockClient) ReleaseAppVersion(ctx context.Context, in *pb.ReleaseAppVersionRequest, opts ...grpc.CallOption) (*pb.ReleaseAppVersionResponse, error)
- func (m *MockClient) ReplaceAttachment(ctx context.Context, in *pb.ReplaceAttachmentRequest, opts ...grpc.CallOption) (*pb.ReplaceAttachmentResponse, error)
- func (m *MockClient) ResizeCluster(ctx context.Context, in *pb.ResizeClusterRequest, opts ...grpc.CallOption) (*pb.ResizeClusterResponse, error)
- func (m *MockClient) RollbackCluster(ctx context.Context, in *pb.RollbackClusterRequest, opts ...grpc.CallOption) (*pb.RollbackClusterResponse, error)
- func (m *MockClient) StartClusters(ctx context.Context, in *pb.StartClustersRequest, opts ...grpc.CallOption) (*pb.StartClustersResponse, error)
- func (m *MockClient) StopClusters(ctx context.Context, in *pb.StopClustersRequest, opts ...grpc.CallOption) (*pb.StopClustersResponse, error)
- func (m *MockClient) SubmitAppVersion(ctx context.Context, in *pb.SubmitAppVersionRequest, opts ...grpc.CallOption) (*pb.SubmitAppVersionResponse, error)
- func (m *MockClient) SuspendAppVersion(ctx context.Context, in *pb.SuspendAppVersionRequest, opts ...grpc.CallOption) (*pb.SuspendAppVersionResponse, error)
- func (m *MockClient) SyncRepo(ctx context.Context, in *pb.SyncRepoRequest, opts ...grpc.CallOption) (*pb.SyncRepoResponse, error)
- func (m *MockClient) TechnicalPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
- func (m *MockClient) TechnicalRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
- func (m *MockClient) TechnicalReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
- func (m *MockClient) UpdateClusterEnv(ctx context.Context, in *pb.UpdateClusterEnvRequest, opts ...grpc.CallOption) (*pb.UpdateClusterEnvResponse, error)
- func (m *MockClient) UpgradeCluster(ctx context.Context, in *pb.UpgradeClusterRequest, opts ...grpc.CallOption) (*pb.UpgradeClusterResponse, error)
- func (m *MockClient) UploadAppAttachment(ctx context.Context, in *pb.UploadAppAttachmentRequest, ...) (*pb.UploadAppAttachmentResponse, error)
- func (m *MockClient) UpsertRuntime(cluster, kubeConfig string) error
- func (m *MockClient) ValidatePackage(ctx context.Context, in *pb.ValidatePackageRequest, opts ...grpc.CallOption) (*pb.ValidatePackageResponse, error)
- func (m *MockClient) ValidateRepo(ctx context.Context, in *pb.ValidateRepoRequest, opts ...grpc.CallOption) (*pb.ValidateRepoResponse, error)
- func (m *MockClient) ValidateRuntimeCredential(ctx context.Context, in *pb.ValidateRuntimeCredentialRequest, ...) (*pb.ValidateRuntimeCredentialResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddNodeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddTableClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AdminPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AdminRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AppendAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AttachKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) BusinessPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) BusinessRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) BusinessReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CancelAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CeaseClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CleanupRuntime(cluster interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateCategory(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateDebugCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateDebugRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateDebugRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateKeyPair(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAttachments(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteCategories(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteClusterInRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteNodeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteRepos(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteTableClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeActiveAppVersions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeActiveApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeAppClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeAppVersionAudits(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeAppVersionReviews(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeAppVersions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeCategories(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeDebugAppClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeDebugClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeDebugRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeDebugRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRepoEvents(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRepos(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRuntimeDetails(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRuntimeProviderZones(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeSubnets(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DetachKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAppStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAppVersionPackage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAppVersionPackageFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAttachments(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClusterStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetRuntimeStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IndexRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsvPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsvRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsvReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) MigrateClusterInRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) MigrateRuntime(runtimeId, cluster interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyCategory(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyClusterAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyClusterNode(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyClusterNodeAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RecoverAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RecoverClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReleaseAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReplaceAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ResizeCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RollbackCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SubmitAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SuspendAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SyncRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TechnicalPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TechnicalRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TechnicalReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateClusterEnv(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpgradeCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UploadAppAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpsertRuntime(cluster, kubeConfig interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ValidatePackage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ValidateRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ValidateRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type Options
Constants ¶
const ( RuntimeAnnotationKey = "openpitrix_runtime" KubernetesProvider = "kubernetes" Unknown = "-" DeploySuffix = "-Deployment" DaemonSuffix = "-DaemonSet" StateSuffix = "-StatefulSet" SystemUsername = "system" SystemUserPath = ":system" )
Variables ¶
This section is empty.
Functions ¶
func ContextWithUsername ¶
func IsNotFound ¶
func SystemContext ¶
Types ¶
type Client ¶
type Client interface { pb.RuntimeManagerClient pb.ClusterManagerClient pb.AppManagerClient pb.RepoManagerClient pb.CategoryManagerClient pb.AttachmentManagerClient pb.RepoIndexerClient // upsert the openpitrix runtime when cluster is updated or created UpsertRuntime(cluster string, kubeConfig string) error // clean up the openpitrix runtime when cluster is deleted CleanupRuntime(cluster string) error // migrate the openpitrix runtime when upgrade ks2.x to ks3.x MigrateRuntime(runtimeId string, cluster string) error }
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) AddClusterNodes ¶
func (m *MockClient) AddClusterNodes(ctx context.Context, in *pb.AddClusterNodesRequest, opts ...grpc.CallOption) (*pb.AddClusterNodesResponse, error)
AddClusterNodes mocks base method.
func (*MockClient) AddNodeKeyPairs ¶
func (m *MockClient) AddNodeKeyPairs(ctx context.Context, in *pb.AddNodeKeyPairsRequest, opts ...grpc.CallOption) (*pb.AddNodeKeyPairsResponse, error)
AddNodeKeyPairs mocks base method.
func (*MockClient) AddTableClusterNodes ¶
func (m *MockClient) AddTableClusterNodes(ctx context.Context, in *pb.AddTableClusterNodesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
AddTableClusterNodes mocks base method.
func (*MockClient) AdminPassAppVersion ¶
func (m *MockClient) AdminPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
AdminPassAppVersion mocks base method.
func (*MockClient) AdminRejectAppVersion ¶
func (m *MockClient) AdminRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
AdminRejectAppVersion mocks base method.
func (*MockClient) AppendAttachment ¶
func (m *MockClient) AppendAttachment(ctx context.Context, in *pb.AppendAttachmentRequest, opts ...grpc.CallOption) (*pb.AppendAttachmentResponse, error)
AppendAttachment mocks base method.
func (*MockClient) AttachKeyPairs ¶
func (m *MockClient) AttachKeyPairs(ctx context.Context, in *pb.AttachKeyPairsRequest, opts ...grpc.CallOption) (*pb.AttachKeyPairsResponse, error)
AttachKeyPairs mocks base method.
func (*MockClient) BusinessPassAppVersion ¶
func (m *MockClient) BusinessPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
BusinessPassAppVersion mocks base method.
func (*MockClient) BusinessRejectAppVersion ¶
func (m *MockClient) BusinessRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
BusinessRejectAppVersion mocks base method.
func (*MockClient) BusinessReviewAppVersion ¶
func (m *MockClient) BusinessReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
BusinessReviewAppVersion mocks base method.
func (*MockClient) CancelAppVersion ¶
func (m *MockClient) CancelAppVersion(ctx context.Context, in *pb.CancelAppVersionRequest, opts ...grpc.CallOption) (*pb.CancelAppVersionResponse, error)
CancelAppVersion mocks base method.
func (*MockClient) CeaseClusters ¶
func (m *MockClient) CeaseClusters(ctx context.Context, in *pb.CeaseClustersRequest, opts ...grpc.CallOption) (*pb.CeaseClustersResponse, error)
CeaseClusters mocks base method.
func (*MockClient) CleanupRuntime ¶
func (m *MockClient) CleanupRuntime(cluster string) error
CleanupRuntime mocks base method.
func (*MockClient) CreateApp ¶
func (m *MockClient) CreateApp(ctx context.Context, in *pb.CreateAppRequest, opts ...grpc.CallOption) (*pb.CreateAppResponse, error)
CreateApp mocks base method.
func (*MockClient) CreateAppVersion ¶
func (m *MockClient) CreateAppVersion(ctx context.Context, in *pb.CreateAppVersionRequest, opts ...grpc.CallOption) (*pb.CreateAppVersionResponse, error)
CreateAppVersion mocks base method.
func (*MockClient) CreateAttachment ¶
func (m *MockClient) CreateAttachment(ctx context.Context, in *pb.CreateAttachmentRequest, opts ...grpc.CallOption) (*pb.CreateAttachmentResponse, error)
CreateAttachment mocks base method.
func (*MockClient) CreateCategory ¶
func (m *MockClient) CreateCategory(ctx context.Context, in *pb.CreateCategoryRequest, opts ...grpc.CallOption) (*pb.CreateCategoryResponse, error)
CreateCategory mocks base method.
func (*MockClient) CreateCluster ¶
func (m *MockClient) CreateCluster(ctx context.Context, in *pb.CreateClusterRequest, opts ...grpc.CallOption) (*pb.CreateClusterResponse, error)
CreateCluster mocks base method.
func (*MockClient) CreateDebugCluster ¶
func (m *MockClient) CreateDebugCluster(ctx context.Context, in *pb.CreateClusterRequest, opts ...grpc.CallOption) (*pb.CreateClusterResponse, error)
CreateDebugCluster mocks base method.
func (*MockClient) CreateDebugRuntime ¶
func (m *MockClient) CreateDebugRuntime(ctx context.Context, in *pb.CreateRuntimeRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeResponse, error)
CreateDebugRuntime mocks base method.
func (*MockClient) CreateDebugRuntimeCredential ¶
func (m *MockClient) CreateDebugRuntimeCredential(ctx context.Context, in *pb.CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeCredentialResponse, error)
CreateDebugRuntimeCredential mocks base method.
func (*MockClient) CreateKeyPair ¶
func (m *MockClient) CreateKeyPair(ctx context.Context, in *pb.CreateKeyPairRequest, opts ...grpc.CallOption) (*pb.CreateKeyPairResponse, error)
CreateKeyPair mocks base method.
func (*MockClient) CreateRepo ¶
func (m *MockClient) CreateRepo(ctx context.Context, in *pb.CreateRepoRequest, opts ...grpc.CallOption) (*pb.CreateRepoResponse, error)
CreateRepo mocks base method.
func (*MockClient) CreateRuntime ¶
func (m *MockClient) CreateRuntime(ctx context.Context, in *pb.CreateRuntimeRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeResponse, error)
CreateRuntime mocks base method.
func (*MockClient) CreateRuntimeCredential ¶
func (m *MockClient) CreateRuntimeCredential(ctx context.Context, in *pb.CreateRuntimeCredentialRequest, opts ...grpc.CallOption) (*pb.CreateRuntimeCredentialResponse, error)
CreateRuntimeCredential mocks base method.
func (*MockClient) DeleteAppVersion ¶
func (m *MockClient) DeleteAppVersion(ctx context.Context, in *pb.DeleteAppVersionRequest, opts ...grpc.CallOption) (*pb.DeleteAppVersionResponse, error)
DeleteAppVersion mocks base method.
func (*MockClient) DeleteApps ¶
func (m *MockClient) DeleteApps(ctx context.Context, in *pb.DeleteAppsRequest, opts ...grpc.CallOption) (*pb.DeleteAppsResponse, error)
DeleteApps mocks base method.
func (*MockClient) DeleteAttachments ¶
func (m *MockClient) DeleteAttachments(ctx context.Context, in *pb.DeleteAttachmentsRequest, opts ...grpc.CallOption) (*pb.DeleteAttachmentsResponse, error)
DeleteAttachments mocks base method.
func (*MockClient) DeleteCategories ¶
func (m *MockClient) DeleteCategories(ctx context.Context, in *pb.DeleteCategoriesRequest, opts ...grpc.CallOption) (*pb.DeleteCategoriesResponse, error)
DeleteCategories mocks base method.
func (*MockClient) DeleteClusterInRuntime ¶
func (m *MockClient) DeleteClusterInRuntime(ctx context.Context, in *pb.DeleteClusterInRuntimeRequest, opts ...grpc.CallOption) (*pb.DeleteClusterInRuntimeResponse, error)
DeleteClusterInRuntime mocks base method.
func (*MockClient) DeleteClusterNodes ¶
func (m *MockClient) DeleteClusterNodes(ctx context.Context, in *pb.DeleteClusterNodesRequest, opts ...grpc.CallOption) (*pb.DeleteClusterNodesResponse, error)
DeleteClusterNodes mocks base method.
func (*MockClient) DeleteClusters ¶
func (m *MockClient) DeleteClusters(ctx context.Context, in *pb.DeleteClustersRequest, opts ...grpc.CallOption) (*pb.DeleteClustersResponse, error)
DeleteClusters mocks base method.
func (*MockClient) DeleteKeyPairs ¶
func (m *MockClient) DeleteKeyPairs(ctx context.Context, in *pb.DeleteKeyPairsRequest, opts ...grpc.CallOption) (*pb.DeleteKeyPairsResponse, error)
DeleteKeyPairs mocks base method.
func (*MockClient) DeleteNodeKeyPairs ¶
func (m *MockClient) DeleteNodeKeyPairs(ctx context.Context, in *pb.DeleteNodeKeyPairsRequest, opts ...grpc.CallOption) (*pb.DeleteNodeKeyPairsResponse, error)
DeleteNodeKeyPairs mocks base method.
func (*MockClient) DeleteRepos ¶
func (m *MockClient) DeleteRepos(ctx context.Context, in *pb.DeleteReposRequest, opts ...grpc.CallOption) (*pb.DeleteReposResponse, error)
DeleteRepos mocks base method.
func (*MockClient) DeleteRuntimeCredentials ¶
func (m *MockClient) DeleteRuntimeCredentials(ctx context.Context, in *pb.DeleteRuntimeCredentialsRequest, opts ...grpc.CallOption) (*pb.DeleteRuntimeCredentialsResponse, error)
DeleteRuntimeCredentials mocks base method.
func (*MockClient) DeleteRuntimes ¶
func (m *MockClient) DeleteRuntimes(ctx context.Context, in *pb.DeleteRuntimesRequest, opts ...grpc.CallOption) (*pb.DeleteRuntimesResponse, error)
DeleteRuntimes mocks base method.
func (*MockClient) DeleteTableClusterNodes ¶
func (m *MockClient) DeleteTableClusterNodes(ctx context.Context, in *pb.DeleteTableClusterNodesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteTableClusterNodes mocks base method.
func (*MockClient) DescribeActiveAppVersions ¶
func (m *MockClient) DescribeActiveAppVersions(ctx context.Context, in *pb.DescribeAppVersionsRequest, opts ...grpc.CallOption) (*pb.DescribeAppVersionsResponse, error)
DescribeActiveAppVersions mocks base method.
func (*MockClient) DescribeActiveApps ¶
func (m *MockClient) DescribeActiveApps(ctx context.Context, in *pb.DescribeAppsRequest, opts ...grpc.CallOption) (*pb.DescribeAppsResponse, error)
DescribeActiveApps mocks base method.
func (*MockClient) DescribeAppClusters ¶
func (m *MockClient) DescribeAppClusters(ctx context.Context, in *pb.DescribeAppClustersRequest, opts ...grpc.CallOption) (*pb.DescribeAppClustersResponse, error)
DescribeAppClusters mocks base method.
func (*MockClient) DescribeAppVersionAudits ¶
func (m *MockClient) DescribeAppVersionAudits(ctx context.Context, in *pb.DescribeAppVersionAuditsRequest, opts ...grpc.CallOption) (*pb.DescribeAppVersionAuditsResponse, error)
DescribeAppVersionAudits mocks base method.
func (*MockClient) DescribeAppVersionReviews ¶
func (m *MockClient) DescribeAppVersionReviews(ctx context.Context, in *pb.DescribeAppVersionReviewsRequest, opts ...grpc.CallOption) (*pb.DescribeAppVersionReviewsResponse, error)
DescribeAppVersionReviews mocks base method.
func (*MockClient) DescribeAppVersions ¶
func (m *MockClient) DescribeAppVersions(ctx context.Context, in *pb.DescribeAppVersionsRequest, opts ...grpc.CallOption) (*pb.DescribeAppVersionsResponse, error)
DescribeAppVersions mocks base method.
func (*MockClient) DescribeApps ¶
func (m *MockClient) DescribeApps(ctx context.Context, in *pb.DescribeAppsRequest, opts ...grpc.CallOption) (*pb.DescribeAppsResponse, error)
DescribeApps mocks base method.
func (*MockClient) DescribeCategories ¶
func (m *MockClient) DescribeCategories(ctx context.Context, in *pb.DescribeCategoriesRequest, opts ...grpc.CallOption) (*pb.DescribeCategoriesResponse, error)
DescribeCategories mocks base method.
func (*MockClient) DescribeClusterNodes ¶
func (m *MockClient) DescribeClusterNodes(ctx context.Context, in *pb.DescribeClusterNodesRequest, opts ...grpc.CallOption) (*pb.DescribeClusterNodesResponse, error)
DescribeClusterNodes mocks base method.
func (*MockClient) DescribeClusters ¶
func (m *MockClient) DescribeClusters(ctx context.Context, in *pb.DescribeClustersRequest, opts ...grpc.CallOption) (*pb.DescribeClustersResponse, error)
DescribeClusters mocks base method.
func (*MockClient) DescribeDebugAppClusters ¶
func (m *MockClient) DescribeDebugAppClusters(ctx context.Context, in *pb.DescribeAppClustersRequest, opts ...grpc.CallOption) (*pb.DescribeAppClustersResponse, error)
DescribeDebugAppClusters mocks base method.
func (*MockClient) DescribeDebugClusters ¶
func (m *MockClient) DescribeDebugClusters(ctx context.Context, in *pb.DescribeClustersRequest, opts ...grpc.CallOption) (*pb.DescribeClustersResponse, error)
DescribeDebugClusters mocks base method.
func (*MockClient) DescribeDebugRuntimeCredentials ¶
func (m *MockClient) DescribeDebugRuntimeCredentials(ctx context.Context, in *pb.DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimeCredentialsResponse, error)
DescribeDebugRuntimeCredentials mocks base method.
func (*MockClient) DescribeDebugRuntimes ¶
func (m *MockClient) DescribeDebugRuntimes(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimesResponse, error)
DescribeDebugRuntimes mocks base method.
func (*MockClient) DescribeKeyPairs ¶
func (m *MockClient) DescribeKeyPairs(ctx context.Context, in *pb.DescribeKeyPairsRequest, opts ...grpc.CallOption) (*pb.DescribeKeyPairsResponse, error)
DescribeKeyPairs mocks base method.
func (*MockClient) DescribeRepoEvents ¶
func (m *MockClient) DescribeRepoEvents(ctx context.Context, in *pb.DescribeRepoEventsRequest, opts ...grpc.CallOption) (*pb.DescribeRepoEventsResponse, error)
DescribeRepoEvents mocks base method.
func (*MockClient) DescribeRepos ¶
func (m *MockClient) DescribeRepos(ctx context.Context, in *pb.DescribeReposRequest, opts ...grpc.CallOption) (*pb.DescribeReposResponse, error)
DescribeRepos mocks base method.
func (*MockClient) DescribeRuntimeCredentials ¶
func (m *MockClient) DescribeRuntimeCredentials(ctx context.Context, in *pb.DescribeRuntimeCredentialsRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimeCredentialsResponse, error)
DescribeRuntimeCredentials mocks base method.
func (*MockClient) DescribeRuntimeDetails ¶
func (m *MockClient) DescribeRuntimeDetails(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimeDetailsResponse, error)
DescribeRuntimeDetails mocks base method.
func (*MockClient) DescribeRuntimeProviderZones ¶
func (m *MockClient) DescribeRuntimeProviderZones(ctx context.Context, in *pb.DescribeRuntimeProviderZonesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimeProviderZonesResponse, error)
DescribeRuntimeProviderZones mocks base method.
func (*MockClient) DescribeRuntimes ¶
func (m *MockClient) DescribeRuntimes(ctx context.Context, in *pb.DescribeRuntimesRequest, opts ...grpc.CallOption) (*pb.DescribeRuntimesResponse, error)
DescribeRuntimes mocks base method.
func (*MockClient) DescribeSubnets ¶
func (m *MockClient) DescribeSubnets(ctx context.Context, in *pb.DescribeSubnetsRequest, opts ...grpc.CallOption) (*pb.DescribeSubnetsResponse, error)
DescribeSubnets mocks base method.
func (*MockClient) DetachKeyPairs ¶
func (m *MockClient) DetachKeyPairs(ctx context.Context, in *pb.DetachKeyPairsRequest, opts ...grpc.CallOption) (*pb.DetachKeyPairsResponse, error)
DetachKeyPairs mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetAppStatistics ¶
func (m *MockClient) GetAppStatistics(ctx context.Context, in *pb.GetAppStatisticsRequest, opts ...grpc.CallOption) (*pb.GetAppStatisticsResponse, error)
GetAppStatistics mocks base method.
func (*MockClient) GetAppVersionPackage ¶
func (m *MockClient) GetAppVersionPackage(ctx context.Context, in *pb.GetAppVersionPackageRequest, opts ...grpc.CallOption) (*pb.GetAppVersionPackageResponse, error)
GetAppVersionPackage mocks base method.
func (*MockClient) GetAppVersionPackageFiles ¶
func (m *MockClient) GetAppVersionPackageFiles(ctx context.Context, in *pb.GetAppVersionPackageFilesRequest, opts ...grpc.CallOption) (*pb.GetAppVersionPackageFilesResponse, error)
GetAppVersionPackageFiles mocks base method.
func (*MockClient) GetAttachments ¶
func (m *MockClient) GetAttachments(ctx context.Context, in *pb.GetAttachmentsRequest, opts ...grpc.CallOption) (*pb.GetAttachmentsResponse, error)
GetAttachments mocks base method.
func (*MockClient) GetClusterStatistics ¶
func (m *MockClient) GetClusterStatistics(ctx context.Context, in *pb.GetClusterStatisticsRequest, opts ...grpc.CallOption) (*pb.GetClusterStatisticsResponse, error)
GetClusterStatistics mocks base method.
func (*MockClient) GetRuntimeStatistics ¶
func (m *MockClient) GetRuntimeStatistics(ctx context.Context, in *pb.GetRuntimeStatisticsRequest, opts ...grpc.CallOption) (*pb.GetRuntimeStatisticsResponse, error)
GetRuntimeStatistics mocks base method.
func (*MockClient) IndexRepo ¶
func (m *MockClient) IndexRepo(ctx context.Context, in *pb.IndexRepoRequest, opts ...grpc.CallOption) (*pb.IndexRepoResponse, error)
IndexRepo mocks base method.
func (*MockClient) IsvPassAppVersion ¶
func (m *MockClient) IsvPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
IsvPassAppVersion mocks base method.
func (*MockClient) IsvRejectAppVersion ¶
func (m *MockClient) IsvRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
IsvRejectAppVersion mocks base method.
func (*MockClient) IsvReviewAppVersion ¶
func (m *MockClient) IsvReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
IsvReviewAppVersion mocks base method.
func (*MockClient) MigrateClusterInRuntime ¶
func (m *MockClient) MigrateClusterInRuntime(ctx context.Context, in *pb.MigrateClusterInRuntimeRequest, opts ...grpc.CallOption) (*pb.MigrateClusterInRuntimeResponse, error)
MigrateClusterInRuntime mocks base method.
func (*MockClient) MigrateRuntime ¶
func (m *MockClient) MigrateRuntime(runtimeId, cluster string) error
MigrateRuntime mocks base method.
func (*MockClient) ModifyApp ¶
func (m *MockClient) ModifyApp(ctx context.Context, in *pb.ModifyAppRequest, opts ...grpc.CallOption) (*pb.ModifyAppResponse, error)
ModifyApp mocks base method.
func (*MockClient) ModifyAppVersion ¶
func (m *MockClient) ModifyAppVersion(ctx context.Context, in *pb.ModifyAppVersionRequest, opts ...grpc.CallOption) (*pb.ModifyAppVersionResponse, error)
ModifyAppVersion mocks base method.
func (*MockClient) ModifyCategory ¶
func (m *MockClient) ModifyCategory(ctx context.Context, in *pb.ModifyCategoryRequest, opts ...grpc.CallOption) (*pb.ModifyCategoryResponse, error)
ModifyCategory mocks base method.
func (*MockClient) ModifyCluster ¶
func (m *MockClient) ModifyCluster(ctx context.Context, in *pb.ModifyClusterRequest, opts ...grpc.CallOption) (*pb.ModifyClusterResponse, error)
ModifyCluster mocks base method.
func (*MockClient) ModifyClusterAttributes ¶
func (m *MockClient) ModifyClusterAttributes(ctx context.Context, in *pb.ModifyClusterAttributesRequest, opts ...grpc.CallOption) (*pb.ModifyClusterAttributesResponse, error)
ModifyClusterAttributes mocks base method.
func (*MockClient) ModifyClusterNode ¶
func (m *MockClient) ModifyClusterNode(ctx context.Context, in *pb.ModifyClusterNodeRequest, opts ...grpc.CallOption) (*pb.ModifyClusterNodeResponse, error)
ModifyClusterNode mocks base method.
func (*MockClient) ModifyClusterNodeAttributes ¶
func (m *MockClient) ModifyClusterNodeAttributes(ctx context.Context, in *pb.ModifyClusterNodeAttributesRequest, opts ...grpc.CallOption) (*pb.ModifyClusterNodeAttributesResponse, error)
ModifyClusterNodeAttributes mocks base method.
func (*MockClient) ModifyRepo ¶
func (m *MockClient) ModifyRepo(ctx context.Context, in *pb.ModifyRepoRequest, opts ...grpc.CallOption) (*pb.ModifyRepoResponse, error)
ModifyRepo mocks base method.
func (*MockClient) ModifyRuntime ¶
func (m *MockClient) ModifyRuntime(ctx context.Context, in *pb.ModifyRuntimeRequest, opts ...grpc.CallOption) (*pb.ModifyRuntimeResponse, error)
ModifyRuntime mocks base method.
func (*MockClient) ModifyRuntimeCredential ¶
func (m *MockClient) ModifyRuntimeCredential(ctx context.Context, in *pb.ModifyRuntimeCredentialRequest, opts ...grpc.CallOption) (*pb.ModifyRuntimeCredentialResponse, error)
ModifyRuntimeCredential mocks base method.
func (*MockClient) RecoverAppVersion ¶
func (m *MockClient) RecoverAppVersion(ctx context.Context, in *pb.RecoverAppVersionRequest, opts ...grpc.CallOption) (*pb.RecoverAppVersionResponse, error)
RecoverAppVersion mocks base method.
func (*MockClient) RecoverClusters ¶
func (m *MockClient) RecoverClusters(ctx context.Context, in *pb.RecoverClustersRequest, opts ...grpc.CallOption) (*pb.RecoverClustersResponse, error)
RecoverClusters mocks base method.
func (*MockClient) ReleaseAppVersion ¶
func (m *MockClient) ReleaseAppVersion(ctx context.Context, in *pb.ReleaseAppVersionRequest, opts ...grpc.CallOption) (*pb.ReleaseAppVersionResponse, error)
ReleaseAppVersion mocks base method.
func (*MockClient) ReplaceAttachment ¶
func (m *MockClient) ReplaceAttachment(ctx context.Context, in *pb.ReplaceAttachmentRequest, opts ...grpc.CallOption) (*pb.ReplaceAttachmentResponse, error)
ReplaceAttachment mocks base method.
func (*MockClient) ResizeCluster ¶
func (m *MockClient) ResizeCluster(ctx context.Context, in *pb.ResizeClusterRequest, opts ...grpc.CallOption) (*pb.ResizeClusterResponse, error)
ResizeCluster mocks base method.
func (*MockClient) RollbackCluster ¶
func (m *MockClient) RollbackCluster(ctx context.Context, in *pb.RollbackClusterRequest, opts ...grpc.CallOption) (*pb.RollbackClusterResponse, error)
RollbackCluster mocks base method.
func (*MockClient) StartClusters ¶
func (m *MockClient) StartClusters(ctx context.Context, in *pb.StartClustersRequest, opts ...grpc.CallOption) (*pb.StartClustersResponse, error)
StartClusters mocks base method.
func (*MockClient) StopClusters ¶
func (m *MockClient) StopClusters(ctx context.Context, in *pb.StopClustersRequest, opts ...grpc.CallOption) (*pb.StopClustersResponse, error)
StopClusters mocks base method.
func (*MockClient) SubmitAppVersion ¶
func (m *MockClient) SubmitAppVersion(ctx context.Context, in *pb.SubmitAppVersionRequest, opts ...grpc.CallOption) (*pb.SubmitAppVersionResponse, error)
SubmitAppVersion mocks base method.
func (*MockClient) SuspendAppVersion ¶
func (m *MockClient) SuspendAppVersion(ctx context.Context, in *pb.SuspendAppVersionRequest, opts ...grpc.CallOption) (*pb.SuspendAppVersionResponse, error)
SuspendAppVersion mocks base method.
func (*MockClient) SyncRepo ¶
func (m *MockClient) SyncRepo(ctx context.Context, in *pb.SyncRepoRequest, opts ...grpc.CallOption) (*pb.SyncRepoResponse, error)
SyncRepo mocks base method.
func (*MockClient) TechnicalPassAppVersion ¶
func (m *MockClient) TechnicalPassAppVersion(ctx context.Context, in *pb.PassAppVersionRequest, opts ...grpc.CallOption) (*pb.PassAppVersionResponse, error)
TechnicalPassAppVersion mocks base method.
func (*MockClient) TechnicalRejectAppVersion ¶
func (m *MockClient) TechnicalRejectAppVersion(ctx context.Context, in *pb.RejectAppVersionRequest, opts ...grpc.CallOption) (*pb.RejectAppVersionResponse, error)
TechnicalRejectAppVersion mocks base method.
func (*MockClient) TechnicalReviewAppVersion ¶
func (m *MockClient) TechnicalReviewAppVersion(ctx context.Context, in *pb.ReviewAppVersionRequest, opts ...grpc.CallOption) (*pb.ReviewAppVersionResponse, error)
TechnicalReviewAppVersion mocks base method.
func (*MockClient) UpdateClusterEnv ¶
func (m *MockClient) UpdateClusterEnv(ctx context.Context, in *pb.UpdateClusterEnvRequest, opts ...grpc.CallOption) (*pb.UpdateClusterEnvResponse, error)
UpdateClusterEnv mocks base method.
func (*MockClient) UpgradeCluster ¶
func (m *MockClient) UpgradeCluster(ctx context.Context, in *pb.UpgradeClusterRequest, opts ...grpc.CallOption) (*pb.UpgradeClusterResponse, error)
UpgradeCluster mocks base method.
func (*MockClient) UploadAppAttachment ¶
func (m *MockClient) UploadAppAttachment(ctx context.Context, in *pb.UploadAppAttachmentRequest, opts ...grpc.CallOption) (*pb.UploadAppAttachmentResponse, error)
UploadAppAttachment mocks base method.
func (*MockClient) UpsertRuntime ¶
func (m *MockClient) UpsertRuntime(cluster, kubeConfig string) error
UpsertRuntime mocks base method.
func (*MockClient) ValidatePackage ¶
func (m *MockClient) ValidatePackage(ctx context.Context, in *pb.ValidatePackageRequest, opts ...grpc.CallOption) (*pb.ValidatePackageResponse, error)
ValidatePackage mocks base method.
func (*MockClient) ValidateRepo ¶
func (m *MockClient) ValidateRepo(ctx context.Context, in *pb.ValidateRepoRequest, opts ...grpc.CallOption) (*pb.ValidateRepoResponse, error)
ValidateRepo mocks base method.
func (*MockClient) ValidateRuntimeCredential ¶
func (m *MockClient) ValidateRuntimeCredential(ctx context.Context, in *pb.ValidateRuntimeCredentialRequest, opts ...grpc.CallOption) (*pb.ValidateRuntimeCredentialResponse, error)
ValidateRuntimeCredential mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) AddClusterNodes ¶
func (mr *MockClientMockRecorder) AddClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddClusterNodes indicates an expected call of AddClusterNodes.
func (*MockClientMockRecorder) AddNodeKeyPairs ¶
func (mr *MockClientMockRecorder) AddNodeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddNodeKeyPairs indicates an expected call of AddNodeKeyPairs.
func (*MockClientMockRecorder) AddTableClusterNodes ¶
func (mr *MockClientMockRecorder) AddTableClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddTableClusterNodes indicates an expected call of AddTableClusterNodes.
func (*MockClientMockRecorder) AdminPassAppVersion ¶
func (mr *MockClientMockRecorder) AdminPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
AdminPassAppVersion indicates an expected call of AdminPassAppVersion.
func (*MockClientMockRecorder) AdminRejectAppVersion ¶
func (mr *MockClientMockRecorder) AdminRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
AdminRejectAppVersion indicates an expected call of AdminRejectAppVersion.
func (*MockClientMockRecorder) AppendAttachment ¶
func (mr *MockClientMockRecorder) AppendAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
AppendAttachment indicates an expected call of AppendAttachment.
func (*MockClientMockRecorder) AttachKeyPairs ¶
func (mr *MockClientMockRecorder) AttachKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
AttachKeyPairs indicates an expected call of AttachKeyPairs.
func (*MockClientMockRecorder) BusinessPassAppVersion ¶
func (mr *MockClientMockRecorder) BusinessPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
BusinessPassAppVersion indicates an expected call of BusinessPassAppVersion.
func (*MockClientMockRecorder) BusinessRejectAppVersion ¶
func (mr *MockClientMockRecorder) BusinessRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
BusinessRejectAppVersion indicates an expected call of BusinessRejectAppVersion.
func (*MockClientMockRecorder) BusinessReviewAppVersion ¶
func (mr *MockClientMockRecorder) BusinessReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
BusinessReviewAppVersion indicates an expected call of BusinessReviewAppVersion.
func (*MockClientMockRecorder) CancelAppVersion ¶
func (mr *MockClientMockRecorder) CancelAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
CancelAppVersion indicates an expected call of CancelAppVersion.
func (*MockClientMockRecorder) CeaseClusters ¶
func (mr *MockClientMockRecorder) CeaseClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
CeaseClusters indicates an expected call of CeaseClusters.
func (*MockClientMockRecorder) CleanupRuntime ¶
func (mr *MockClientMockRecorder) CleanupRuntime(cluster interface{}) *gomock.Call
CleanupRuntime indicates an expected call of CleanupRuntime.
func (*MockClientMockRecorder) CreateApp ¶
func (mr *MockClientMockRecorder) CreateApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateApp indicates an expected call of CreateApp.
func (*MockClientMockRecorder) CreateAppVersion ¶
func (mr *MockClientMockRecorder) CreateAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateAppVersion indicates an expected call of CreateAppVersion.
func (*MockClientMockRecorder) CreateAttachment ¶
func (mr *MockClientMockRecorder) CreateAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateAttachment indicates an expected call of CreateAttachment.
func (*MockClientMockRecorder) CreateCategory ¶
func (mr *MockClientMockRecorder) CreateCategory(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateCategory indicates an expected call of CreateCategory.
func (*MockClientMockRecorder) CreateCluster ¶
func (mr *MockClientMockRecorder) CreateCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockClientMockRecorder) CreateDebugCluster ¶
func (mr *MockClientMockRecorder) CreateDebugCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateDebugCluster indicates an expected call of CreateDebugCluster.
func (*MockClientMockRecorder) CreateDebugRuntime ¶
func (mr *MockClientMockRecorder) CreateDebugRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateDebugRuntime indicates an expected call of CreateDebugRuntime.
func (*MockClientMockRecorder) CreateDebugRuntimeCredential ¶
func (mr *MockClientMockRecorder) CreateDebugRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateDebugRuntimeCredential indicates an expected call of CreateDebugRuntimeCredential.
func (*MockClientMockRecorder) CreateKeyPair ¶
func (mr *MockClientMockRecorder) CreateKeyPair(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateKeyPair indicates an expected call of CreateKeyPair.
func (*MockClientMockRecorder) CreateRepo ¶
func (mr *MockClientMockRecorder) CreateRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateRepo indicates an expected call of CreateRepo.
func (*MockClientMockRecorder) CreateRuntime ¶
func (mr *MockClientMockRecorder) CreateRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateRuntime indicates an expected call of CreateRuntime.
func (*MockClientMockRecorder) CreateRuntimeCredential ¶
func (mr *MockClientMockRecorder) CreateRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateRuntimeCredential indicates an expected call of CreateRuntimeCredential.
func (*MockClientMockRecorder) DeleteAppVersion ¶
func (mr *MockClientMockRecorder) DeleteAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAppVersion indicates an expected call of DeleteAppVersion.
func (*MockClientMockRecorder) DeleteApps ¶
func (mr *MockClientMockRecorder) DeleteApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteApps indicates an expected call of DeleteApps.
func (*MockClientMockRecorder) DeleteAttachments ¶
func (mr *MockClientMockRecorder) DeleteAttachments(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAttachments indicates an expected call of DeleteAttachments.
func (*MockClientMockRecorder) DeleteCategories ¶
func (mr *MockClientMockRecorder) DeleteCategories(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteCategories indicates an expected call of DeleteCategories.
func (*MockClientMockRecorder) DeleteClusterInRuntime ¶
func (mr *MockClientMockRecorder) DeleteClusterInRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteClusterInRuntime indicates an expected call of DeleteClusterInRuntime.
func (*MockClientMockRecorder) DeleteClusterNodes ¶
func (mr *MockClientMockRecorder) DeleteClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteClusterNodes indicates an expected call of DeleteClusterNodes.
func (*MockClientMockRecorder) DeleteClusters ¶
func (mr *MockClientMockRecorder) DeleteClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteClusters indicates an expected call of DeleteClusters.
func (*MockClientMockRecorder) DeleteKeyPairs ¶
func (mr *MockClientMockRecorder) DeleteKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteKeyPairs indicates an expected call of DeleteKeyPairs.
func (*MockClientMockRecorder) DeleteNodeKeyPairs ¶
func (mr *MockClientMockRecorder) DeleteNodeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteNodeKeyPairs indicates an expected call of DeleteNodeKeyPairs.
func (*MockClientMockRecorder) DeleteRepos ¶
func (mr *MockClientMockRecorder) DeleteRepos(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteRepos indicates an expected call of DeleteRepos.
func (*MockClientMockRecorder) DeleteRuntimeCredentials ¶
func (mr *MockClientMockRecorder) DeleteRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteRuntimeCredentials indicates an expected call of DeleteRuntimeCredentials.
func (*MockClientMockRecorder) DeleteRuntimes ¶
func (mr *MockClientMockRecorder) DeleteRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteRuntimes indicates an expected call of DeleteRuntimes.
func (*MockClientMockRecorder) DeleteTableClusterNodes ¶
func (mr *MockClientMockRecorder) DeleteTableClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteTableClusterNodes indicates an expected call of DeleteTableClusterNodes.
func (*MockClientMockRecorder) DescribeActiveAppVersions ¶
func (mr *MockClientMockRecorder) DescribeActiveAppVersions(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeActiveAppVersions indicates an expected call of DescribeActiveAppVersions.
func (*MockClientMockRecorder) DescribeActiveApps ¶
func (mr *MockClientMockRecorder) DescribeActiveApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeActiveApps indicates an expected call of DescribeActiveApps.
func (*MockClientMockRecorder) DescribeAppClusters ¶
func (mr *MockClientMockRecorder) DescribeAppClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeAppClusters indicates an expected call of DescribeAppClusters.
func (*MockClientMockRecorder) DescribeAppVersionAudits ¶
func (mr *MockClientMockRecorder) DescribeAppVersionAudits(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeAppVersionAudits indicates an expected call of DescribeAppVersionAudits.
func (*MockClientMockRecorder) DescribeAppVersionReviews ¶
func (mr *MockClientMockRecorder) DescribeAppVersionReviews(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeAppVersionReviews indicates an expected call of DescribeAppVersionReviews.
func (*MockClientMockRecorder) DescribeAppVersions ¶
func (mr *MockClientMockRecorder) DescribeAppVersions(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeAppVersions indicates an expected call of DescribeAppVersions.
func (*MockClientMockRecorder) DescribeApps ¶
func (mr *MockClientMockRecorder) DescribeApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeApps indicates an expected call of DescribeApps.
func (*MockClientMockRecorder) DescribeCategories ¶
func (mr *MockClientMockRecorder) DescribeCategories(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeCategories indicates an expected call of DescribeCategories.
func (*MockClientMockRecorder) DescribeClusterNodes ¶
func (mr *MockClientMockRecorder) DescribeClusterNodes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeClusterNodes indicates an expected call of DescribeClusterNodes.
func (*MockClientMockRecorder) DescribeClusters ¶
func (mr *MockClientMockRecorder) DescribeClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeClusters indicates an expected call of DescribeClusters.
func (*MockClientMockRecorder) DescribeDebugAppClusters ¶
func (mr *MockClientMockRecorder) DescribeDebugAppClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeDebugAppClusters indicates an expected call of DescribeDebugAppClusters.
func (*MockClientMockRecorder) DescribeDebugClusters ¶
func (mr *MockClientMockRecorder) DescribeDebugClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeDebugClusters indicates an expected call of DescribeDebugClusters.
func (*MockClientMockRecorder) DescribeDebugRuntimeCredentials ¶
func (mr *MockClientMockRecorder) DescribeDebugRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeDebugRuntimeCredentials indicates an expected call of DescribeDebugRuntimeCredentials.
func (*MockClientMockRecorder) DescribeDebugRuntimes ¶
func (mr *MockClientMockRecorder) DescribeDebugRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeDebugRuntimes indicates an expected call of DescribeDebugRuntimes.
func (*MockClientMockRecorder) DescribeKeyPairs ¶
func (mr *MockClientMockRecorder) DescribeKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeKeyPairs indicates an expected call of DescribeKeyPairs.
func (*MockClientMockRecorder) DescribeRepoEvents ¶
func (mr *MockClientMockRecorder) DescribeRepoEvents(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRepoEvents indicates an expected call of DescribeRepoEvents.
func (*MockClientMockRecorder) DescribeRepos ¶
func (mr *MockClientMockRecorder) DescribeRepos(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRepos indicates an expected call of DescribeRepos.
func (*MockClientMockRecorder) DescribeRuntimeCredentials ¶
func (mr *MockClientMockRecorder) DescribeRuntimeCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRuntimeCredentials indicates an expected call of DescribeRuntimeCredentials.
func (*MockClientMockRecorder) DescribeRuntimeDetails ¶
func (mr *MockClientMockRecorder) DescribeRuntimeDetails(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRuntimeDetails indicates an expected call of DescribeRuntimeDetails.
func (*MockClientMockRecorder) DescribeRuntimeProviderZones ¶
func (mr *MockClientMockRecorder) DescribeRuntimeProviderZones(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRuntimeProviderZones indicates an expected call of DescribeRuntimeProviderZones.
func (*MockClientMockRecorder) DescribeRuntimes ¶
func (mr *MockClientMockRecorder) DescribeRuntimes(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeRuntimes indicates an expected call of DescribeRuntimes.
func (*MockClientMockRecorder) DescribeSubnets ¶
func (mr *MockClientMockRecorder) DescribeSubnets(ctx, in interface{}, opts ...interface{}) *gomock.Call
DescribeSubnets indicates an expected call of DescribeSubnets.
func (*MockClientMockRecorder) DetachKeyPairs ¶
func (mr *MockClientMockRecorder) DetachKeyPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
DetachKeyPairs indicates an expected call of DetachKeyPairs.
func (*MockClientMockRecorder) GetAppStatistics ¶
func (mr *MockClientMockRecorder) GetAppStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppStatistics indicates an expected call of GetAppStatistics.
func (*MockClientMockRecorder) GetAppVersionPackage ¶
func (mr *MockClientMockRecorder) GetAppVersionPackage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppVersionPackage indicates an expected call of GetAppVersionPackage.
func (*MockClientMockRecorder) GetAppVersionPackageFiles ¶
func (mr *MockClientMockRecorder) GetAppVersionPackageFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAppVersionPackageFiles indicates an expected call of GetAppVersionPackageFiles.
func (*MockClientMockRecorder) GetAttachments ¶
func (mr *MockClientMockRecorder) GetAttachments(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAttachments indicates an expected call of GetAttachments.
func (*MockClientMockRecorder) GetClusterStatistics ¶
func (mr *MockClientMockRecorder) GetClusterStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetClusterStatistics indicates an expected call of GetClusterStatistics.
func (*MockClientMockRecorder) GetRuntimeStatistics ¶
func (mr *MockClientMockRecorder) GetRuntimeStatistics(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRuntimeStatistics indicates an expected call of GetRuntimeStatistics.
func (*MockClientMockRecorder) IndexRepo ¶
func (mr *MockClientMockRecorder) IndexRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
IndexRepo indicates an expected call of IndexRepo.
func (*MockClientMockRecorder) IsvPassAppVersion ¶
func (mr *MockClientMockRecorder) IsvPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
IsvPassAppVersion indicates an expected call of IsvPassAppVersion.
func (*MockClientMockRecorder) IsvRejectAppVersion ¶
func (mr *MockClientMockRecorder) IsvRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
IsvRejectAppVersion indicates an expected call of IsvRejectAppVersion.
func (*MockClientMockRecorder) IsvReviewAppVersion ¶
func (mr *MockClientMockRecorder) IsvReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
IsvReviewAppVersion indicates an expected call of IsvReviewAppVersion.
func (*MockClientMockRecorder) MigrateClusterInRuntime ¶
func (mr *MockClientMockRecorder) MigrateClusterInRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
MigrateClusterInRuntime indicates an expected call of MigrateClusterInRuntime.
func (*MockClientMockRecorder) MigrateRuntime ¶
func (mr *MockClientMockRecorder) MigrateRuntime(runtimeId, cluster interface{}) *gomock.Call
MigrateRuntime indicates an expected call of MigrateRuntime.
func (*MockClientMockRecorder) ModifyApp ¶
func (mr *MockClientMockRecorder) ModifyApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyApp indicates an expected call of ModifyApp.
func (*MockClientMockRecorder) ModifyAppVersion ¶
func (mr *MockClientMockRecorder) ModifyAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyAppVersion indicates an expected call of ModifyAppVersion.
func (*MockClientMockRecorder) ModifyCategory ¶
func (mr *MockClientMockRecorder) ModifyCategory(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyCategory indicates an expected call of ModifyCategory.
func (*MockClientMockRecorder) ModifyCluster ¶
func (mr *MockClientMockRecorder) ModifyCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyCluster indicates an expected call of ModifyCluster.
func (*MockClientMockRecorder) ModifyClusterAttributes ¶
func (mr *MockClientMockRecorder) ModifyClusterAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyClusterAttributes indicates an expected call of ModifyClusterAttributes.
func (*MockClientMockRecorder) ModifyClusterNode ¶
func (mr *MockClientMockRecorder) ModifyClusterNode(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyClusterNode indicates an expected call of ModifyClusterNode.
func (*MockClientMockRecorder) ModifyClusterNodeAttributes ¶
func (mr *MockClientMockRecorder) ModifyClusterNodeAttributes(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyClusterNodeAttributes indicates an expected call of ModifyClusterNodeAttributes.
func (*MockClientMockRecorder) ModifyRepo ¶
func (mr *MockClientMockRecorder) ModifyRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyRepo indicates an expected call of ModifyRepo.
func (*MockClientMockRecorder) ModifyRuntime ¶
func (mr *MockClientMockRecorder) ModifyRuntime(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyRuntime indicates an expected call of ModifyRuntime.
func (*MockClientMockRecorder) ModifyRuntimeCredential ¶
func (mr *MockClientMockRecorder) ModifyRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
ModifyRuntimeCredential indicates an expected call of ModifyRuntimeCredential.
func (*MockClientMockRecorder) RecoverAppVersion ¶
func (mr *MockClientMockRecorder) RecoverAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
RecoverAppVersion indicates an expected call of RecoverAppVersion.
func (*MockClientMockRecorder) RecoverClusters ¶
func (mr *MockClientMockRecorder) RecoverClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
RecoverClusters indicates an expected call of RecoverClusters.
func (*MockClientMockRecorder) ReleaseAppVersion ¶
func (mr *MockClientMockRecorder) ReleaseAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReleaseAppVersion indicates an expected call of ReleaseAppVersion.
func (*MockClientMockRecorder) ReplaceAttachment ¶
func (mr *MockClientMockRecorder) ReplaceAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReplaceAttachment indicates an expected call of ReplaceAttachment.
func (*MockClientMockRecorder) ResizeCluster ¶
func (mr *MockClientMockRecorder) ResizeCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
ResizeCluster indicates an expected call of ResizeCluster.
func (*MockClientMockRecorder) RollbackCluster ¶
func (mr *MockClientMockRecorder) RollbackCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
RollbackCluster indicates an expected call of RollbackCluster.
func (*MockClientMockRecorder) StartClusters ¶
func (mr *MockClientMockRecorder) StartClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
StartClusters indicates an expected call of StartClusters.
func (*MockClientMockRecorder) StopClusters ¶
func (mr *MockClientMockRecorder) StopClusters(ctx, in interface{}, opts ...interface{}) *gomock.Call
StopClusters indicates an expected call of StopClusters.
func (*MockClientMockRecorder) SubmitAppVersion ¶
func (mr *MockClientMockRecorder) SubmitAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
SubmitAppVersion indicates an expected call of SubmitAppVersion.
func (*MockClientMockRecorder) SuspendAppVersion ¶
func (mr *MockClientMockRecorder) SuspendAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
SuspendAppVersion indicates an expected call of SuspendAppVersion.
func (*MockClientMockRecorder) SyncRepo ¶
func (mr *MockClientMockRecorder) SyncRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncRepo indicates an expected call of SyncRepo.
func (*MockClientMockRecorder) TechnicalPassAppVersion ¶
func (mr *MockClientMockRecorder) TechnicalPassAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
TechnicalPassAppVersion indicates an expected call of TechnicalPassAppVersion.
func (*MockClientMockRecorder) TechnicalRejectAppVersion ¶
func (mr *MockClientMockRecorder) TechnicalRejectAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
TechnicalRejectAppVersion indicates an expected call of TechnicalRejectAppVersion.
func (*MockClientMockRecorder) TechnicalReviewAppVersion ¶
func (mr *MockClientMockRecorder) TechnicalReviewAppVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
TechnicalReviewAppVersion indicates an expected call of TechnicalReviewAppVersion.
func (*MockClientMockRecorder) UpdateClusterEnv ¶
func (mr *MockClientMockRecorder) UpdateClusterEnv(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateClusterEnv indicates an expected call of UpdateClusterEnv.
func (*MockClientMockRecorder) UpgradeCluster ¶
func (mr *MockClientMockRecorder) UpgradeCluster(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpgradeCluster indicates an expected call of UpgradeCluster.
func (*MockClientMockRecorder) UploadAppAttachment ¶
func (mr *MockClientMockRecorder) UploadAppAttachment(ctx, in interface{}, opts ...interface{}) *gomock.Call
UploadAppAttachment indicates an expected call of UploadAppAttachment.
func (*MockClientMockRecorder) UpsertRuntime ¶
func (mr *MockClientMockRecorder) UpsertRuntime(cluster, kubeConfig interface{}) *gomock.Call
UpsertRuntime indicates an expected call of UpsertRuntime.
func (*MockClientMockRecorder) ValidatePackage ¶
func (mr *MockClientMockRecorder) ValidatePackage(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidatePackage indicates an expected call of ValidatePackage.
func (*MockClientMockRecorder) ValidateRepo ¶
func (mr *MockClientMockRecorder) ValidateRepo(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateRepo indicates an expected call of ValidateRepo.
func (*MockClientMockRecorder) ValidateRuntimeCredential ¶
func (mr *MockClientMockRecorder) ValidateRuntimeCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateRuntimeCredential indicates an expected call of ValidateRuntimeCredential.
type Options ¶
type Options struct { RuntimeManagerEndpoint string `json:"runtimeManagerEndpoint,omitempty" yaml:"runtimeManagerEndpoint,omitempty"` ClusterManagerEndpoint string `json:"clusterManagerEndpoint,omitempty" yaml:"clusterManagerEndpoint,omitempty"` RepoManagerEndpoint string `json:"repoManagerEndpoint,omitempty" yaml:"repoManagerEndpoint,omitempty"` AppManagerEndpoint string `json:"appManagerEndpoint,omitempty" yaml:"appManagerEndpoint,omitempty"` CategoryManagerEndpoint string `json:"categoryManagerEndpoint,omitempty" yaml:"categoryManagerEndpoint,omitempty"` AttachmentManagerEndpoint string `json:"attachmentManagerEndpoint,omitempty" yaml:"attachmentManagerEndpoint,omitempty"` RepoIndexerEndpoint string `json:"repoIndexerEndpoint,omitempty" yaml:"repoIndexerEndpoint,omitempty"` }
func NewOptions ¶
func NewOptions() *Options