Documentation ¶
Overview ¶
Code generated by Kitex v0.1.0. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvoker ¶
func NewInvoker(handler resourceserver.ResourceService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler resourceserver.ResourceService, opts ...server.Option) server.Server
NewServer creates a server.Server with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { GetClusterOverview(ctx context.Context, req *overview.GetClusterOverviewRequest, callOptions ...callopt.Option) (r *overview.GetClusterOverviewResponse, err error) GetKubeConfig(ctx context.Context, req *cluster.GetKubeConfigRequest, callOptions ...callopt.Option) (r *cluster.GetKubeConfigResponse, err error) GetKubeconfig(ctx context.Context, req *cluster.GetKubeconfigRequest, callOptions ...callopt.Option) (r *cluster.GetKubeconfigResponse, err error) RevokeKubeconfig(ctx context.Context, req *cluster.RevokeKubeconfigRequest, callOptions ...callopt.Option) (r *cluster.RevokeKubeconfigResponse, err error) ListKubeconfigUsers(ctx context.Context, req *cluster.ListKubeconfigUsersRequest, callOptions ...callopt.Option) (r *cluster.ListKubeconfigUsersResponse, err error) CreateCluster(ctx context.Context, req *cluster.CreateClusterRequest, callOptions ...callopt.Option) (r *cluster.CreateClusterResponse, err error) RegisterCluster(ctx context.Context, req *cluster.RegisterClusterRequest, callOptions ...callopt.Option) (r *cluster.RegisterClusterResponse, err error) UpdateCluster(ctx context.Context, req *cluster.UpdateClusterRequest, callOptions ...callopt.Option) (r *cluster.UpdateClusterResponse, err error) UpgradeCluster(ctx context.Context, req *cluster.UpgradeClusterRequest, callOptions ...callopt.Option) (r *cluster.UpgradeClusterResponse, err error) DeleteCluster(ctx context.Context, req *cluster.DeleteClusterRequest, callOptions ...callopt.Option) (r *cluster.DeleteClusterResponse, err error) GetCluster(ctx context.Context, req *cluster.GetClusterRequest, callOptions ...callopt.Option) (r *cluster.GetClusterResponse, err error) ListClusters(ctx context.Context, req *cluster.ListClustersRequest, callOptions ...callopt.Option) (r *cluster.ListClustersResponse, err error) GetClusterDeployProgress(ctx context.Context, req *cluster.GetClusterDeployProgressRequest, callOptions ...callopt.Option) (r *cluster.GetClusterDeployProgressResponse, err error) ListSupportedKubernetesVersions(ctx context.Context, req *cluster.ListSupportedKubernetesVersionsRequest, callOptions ...callopt.Option) (r *cluster.ListSupportedKubernetesVersionsResponse, err error) ListClusterNetworkCidrs(ctx context.Context, req *cluster.ListClusterNetworkCidrsRequest, callOptions ...callopt.Option) (r *cluster.ListClusterNetworkCidrsResponse, err error) ListSupportedGpuModels(ctx context.Context, req *cluster.ListSupportedGpuModelsRequest, callOptions ...callopt.Option) (r *cluster.ListSupportedGpuModelsResponse, err error) ListNodes(ctx context.Context, req *cluster.ListNodesRequest, callOptions ...callopt.Option) (r *cluster.ListNodesResponse, err error) AddNodes(ctx context.Context, req *cluster.AddNodesRequest, callOptions ...callopt.Option) (r *cluster.AddNodesResponse, err error) GetNode(ctx context.Context, req *cluster.GetNodeRequest, callOptions ...callopt.Option) (r *cluster.GetNodeResponse, err error) DeleteNodes(ctx context.Context, req *cluster.DeleteNodesRequest, callOptions ...callopt.Option) (r *cluster.DeleteNodesResponse, err error) ListNodeLabels(ctx context.Context, req *cluster.ListNodeLabelsRequest, callOptions ...callopt.Option) (r *cluster.ListNodeLabelsResponse, err error) UpdateNode(ctx context.Context, req *cluster.UpdateNodeRequest, callOptions ...callopt.Option) (r *cluster.UpdateNodeResponse, err error) GetClusterAutoScalingRule(ctx context.Context, req *cluster.GetClusterAutoScalingRuleRequest, callOptions ...callopt.Option) (r *cluster.GetClusterAutoScalingRuleResponse, err error) UpdateClusterAutoScalingRule(ctx context.Context, req *cluster.UpdateClusterAutoScalingRuleRequest, callOptions ...callopt.Option) (r *cluster.UpdateClusterAutoScalingRuleResponse, err error) ScaleUpNodePool(ctx context.Context, req *cluster.ScaleUpNodePoolRequest, callOptions ...callopt.Option) (r *cluster.ScaleUpNodePoolResponse, err error) ScaleDownNodePool(ctx context.Context, req *cluster.ScaleDownNodePoolRequest, callOptions ...callopt.Option) (r *cluster.ScaleDownNodePoolResponse, err error) ListNodePools(ctx context.Context, req *cluster.ListNodePoolsRequest, callOptions ...callopt.Option) (r *cluster.ListNodePoolsResponse, err error) CreateNodePool(ctx context.Context, req *cluster.CreateNodePoolRequest, callOptions ...callopt.Option) (r *cluster.CreateNodePoolResponse, err error) GetNodePool(ctx context.Context, req *cluster.GetNodePoolRequest, callOptions ...callopt.Option) (r *cluster.GetNodePoolResponse, err error) UpdateNodePool(ctx context.Context, req *cluster.UpdateNodePoolRequest, callOptions ...callopt.Option) (r *cluster.UpdateNodePoolResponse, err error) DeleteNodePool(ctx context.Context, req *cluster.DeleteNodePoolRequest, callOptions ...callopt.Option) (r *cluster.DeleteNodePoolResponse, err error) ListNodePoolScalingRecords(ctx context.Context, req *cluster.ListNodePoolScalingRecordsRequest, callOptions ...callopt.Option) (r *cluster.ListNodePoolScalingRecordsResponse, err error) ListNodePoolNodes(ctx context.Context, req *cluster.ListNodePoolNodesRequest, callOptions ...callopt.Option) (r *cluster.ListNodePoolNodesResponse, err error) ListNamespace(ctx context.Context, req *cluster.ListNamespaceRequest, callOptions ...callopt.Option) (r *cluster.ListNamespaceResponse, err error) CreateNamespace(ctx context.Context, req *cluster.CreateNamespaceRequest, callOptions ...callopt.Option) (r *cluster.CreateNamespaceResponse, err error) GetNamespace(ctx context.Context, req *cluster.GetNamespaceRequest, callOptions ...callopt.Option) (r *cluster.GetNamespaceResponse, err error) UpdateNamespace(ctx context.Context, req *cluster.UpdateNamespaceRequest, callOptions ...callopt.Option) (r *cluster.UpdateNamespaceResponse, err error) UpdateNamespaceResource(ctx context.Context, req *cluster.UpdateNamespaceResourceRequest, callOptions ...callopt.Option) (r *cluster.UpdateNamespaceResourceResponse, err error) GetNamespaceResource(ctx context.Context, req *cluster.GetNamespaceResourceRequest, callOptions ...callopt.Option) (r *cluster.GetNamespaceResourceResponse, err error) DeleteNamespace(ctx context.Context, req *cluster.DeleteNamespaceRequest, callOptions ...callopt.Option) (r *cluster.DeleteNamespaceResponse, err error) ListResourceQuota(ctx context.Context, req *cluster.ListResourceQuotaRequest, callOptions ...callopt.Option) (r *cluster.ListResourceQuotaResponse, err error) ListIngressTypes(ctx context.Context, req *network.ListIngressTypeRequest, callOptions ...callopt.Option) (r *network.ListIngressTypeResponse, err error) ListIngress(ctx context.Context, req *network.ListIngressRequest, callOptions ...callopt.Option) (r *network.ListIngressResponse, err error) CreateIngress(ctx context.Context, req *network.CreateIngressRequest, callOptions ...callopt.Option) (r *network.CreateIngressResponse, err error) GetIngress(ctx context.Context, req *network.GetIngressRequest, callOptions ...callopt.Option) (r *network.GetIngressResponse, err error) UpdateIngress(ctx context.Context, req *network.UpdateIngressRequest, callOptions ...callopt.Option) (r *network.UpdateIngressResponse, err error) DeleteIngress(ctx context.Context, req *network.DeleteIngressRequest, callOptions ...callopt.Option) (r *network.DeleteIngressResponse, err error) GetSecretDomains(ctx context.Context, req *network.GetSecretDomainsRequest, callOptions ...callopt.Option) (r *network.GetSecretDomainsResponse, err error) ListStorageClass(ctx context.Context, req *storage.ListStorageClassRequest, callOptions ...callopt.Option) (r *storage.ListStorageClassResponse, err error) CreateStorageClass(ctx context.Context, req *storage.CreateStorageClassRequest, callOptions ...callopt.Option) (r *storage.CreateStorageClassResponse, err error) GetStorageClass(ctx context.Context, req *storage.GetStorageClassRequest, callOptions ...callopt.Option) (r *storage.GetStorageClassResponse, err error) DeleteStorageClass(ctx context.Context, req *storage.DeleteStorageClassRequest, callOptions ...callopt.Option) (r *storage.DeleteStorageClassResponse, err error) ListPersistentVolume(ctx context.Context, req *storage.ListPersistentVolumeRequest, callOptions ...callopt.Option) (r *storage.ListPersistentVolumeResponse, err error) CreatePersistentVolume(ctx context.Context, req *storage.CreatePersistentVolumeRequest, callOptions ...callopt.Option) (r *storage.CreatePersistentVolumeResponse, err error) GetPersistentVolume(ctx context.Context, req *storage.GetPersistentVolumeRequest, callOptions ...callopt.Option) (r *storage.GetPersistentVolumeResponse, err error) DeletePersistentVolume(ctx context.Context, req *storage.DeletePersistentVolumeRequest, callOptions ...callopt.Option) (r *storage.DeletePersistentVolumeResponse, err error) ListPersistentVolumeClaim(ctx context.Context, req *storage.ListPersistentVolumeClaimRequest, callOptions ...callopt.Option) (r *storage.ListPersistentVolumeClaimResponse, err error) CreatePersistentVolumeClaim(ctx context.Context, req *storage.CreatePersistentVolumeClaimRequest, callOptions ...callopt.Option) (r *storage.CreatePersistentVolumeClaimResponse, err error) GetPersistentVolumeClaim(ctx context.Context, req *storage.GetPersistentVolumeClaimRequest, callOptions ...callopt.Option) (r *storage.GetPersistentVolumeClaimResponse, err error) DeletePersistentVolumeClaim(ctx context.Context, req *storage.DeletePersistentVolumeClaimRequest, callOptions ...callopt.Option) (r *storage.DeletePersistentVolumeClaimResponse, err error) ListCephCluster(ctx context.Context, req *storage.ListCephClusterRequest, callOptions ...callopt.Option) (r *storage.ListCephClusterResponse, err error) ListEvent(ctx context.Context, req *event.ListEventRequest, callOptions ...callopt.Option) (r *event.ListEventResponse, err error) ListUserRbacs(ctx context.Context, req *rbac.ListUserRbacRequest, callOptions ...callopt.Option) (r *rbac.ListUserRbacResponse, err error) CreateUserRbac(ctx context.Context, req *rbac.CreateUserRbacRequest, callOptions ...callopt.Option) (r *rbac.CreateUserRbacResponse, err error) UpdateUserRbac(ctx context.Context, req *rbac.UpdateUserRbacRequest, callOptions ...callopt.Option) (r *rbac.UpdateUserRbacResponse, err error) DeleteUserRbac(ctx context.Context, req *rbac.DeleteUserRbacRequest, callOptions ...callopt.Option) (r *rbac.DeleteUserRbacResponse, err error) ListCustomRoles(ctx context.Context, req *rbac.ListCustomRolesRequest, callOptions ...callopt.Option) (r *rbac.ListCustomRolesResponse, err error) ListSupportedAddons(ctx context.Context, req *addon.ListSupportedAddonsRequest, callOptions ...callopt.Option) (r *addon.ListSupportedAddonsResponse, err error) ListAddons(ctx context.Context, req *addon.ListAddonsRequest, callOptions ...callopt.Option) (r *addon.ListAddonsResponse, err error) InstallAddons(ctx context.Context, req *addon.InstallAddonsRequest, callOptions ...callopt.Option) (r *addon.InstallAddonsResponse, err error) ReinstallAddon(ctx context.Context, req *addon.ReinstallAddonRequest, callOptions ...callopt.Option) (r *addon.ReinstallAddonResponse, err error) UninstallAddons(ctx context.Context, req *addon.UninstallAddonsRequest, callOptions ...callopt.Option) (r *addon.UninstallAddonsResponse, err error) UpgradeAddon(ctx context.Context, req *addon.UpgradeAddonRequest, callOptions ...callopt.Option) (r *addon.UpgradeAddonResponse, err error) GetAddon(ctx context.Context, req *addon.GetAddonRequest, callOptions ...callopt.Option) (r *addon.GetAddonResponse, err error) CheckResourceExist(ctx context.Context, req *helper.CheckResourceExistRequest, callOptions ...callopt.Option) (r *helper.CheckResourceExistResponse, err error) ListInstances(ctx context.Context, req *instance.ListInstancesRequest, callOptions ...callopt.Option) (r *instance.ListInstancesResponse, err error) ListFlavors(ctx context.Context, req *instance.ListFlavorsRequest, callOptions ...callopt.Option) (r *instance.ListFlavorsResponse, err error) GetInstanceConsole(ctx context.Context, req *instance.GetInstanceConsoleRequest, callOptions ...callopt.Option) (r *instance.GetInstanceConsoleResponse, err error) ListZones(ctx context.Context, req *instance.ListZonesRequest, callOptions ...callopt.Option) (r *instance.ListZonesResponse, err error) ListVolumes(ctx context.Context, req *instance.ListVolumesRequest, callOptions ...callopt.Option) (r *instance.ListVolumesResponse, err error) ListKeyPairs(ctx context.Context, req *instance.ListKeyPairsRequest, callOptions ...callopt.Option) (r *instance.ListKeyPairsResponse, err error) ListSubnets(ctx context.Context, req *vpc.ListSubnetsRequest, callOptions ...callopt.Option) (r *vpc.ListSubnetsResponse, err error) ListElasticIpPools(ctx context.Context, req *vpc.ListElasticIpPoolsRequest, callOptions ...callopt.Option) (r *vpc.ListElasticIpPoolsResponse, err error) ListVpcs(ctx context.Context, req *vpc.ListVpcsRequest, callOptions ...callopt.Option) (r *vpc.ListVpcsResponse, err error) ListSecurityGroups(ctx context.Context, req *vpc.ListSecurityGroupsRequest, callOptions ...callopt.Option) (r *vpc.ListSecurityGroupsResponse, err error) ListClbs(ctx context.Context, req *clb.ListClbsRequest, callOptions ...callopt.Option) (r *clb.ListClbsResponse, err error) ListClbListeners(ctx context.Context, req *clb.ListClbListenersRequest, callOptions ...callopt.Option) (r *clb.ListClbListenersResponse, err error) ListQuotas(ctx context.Context, req *quota.ListQuotasRequest, callOptions ...callopt.Option) (r *quota.ListQuotasResponse, err error) GetQuota(ctx context.Context, req *quota.GetQuotaRequest, callOptions ...callopt.Option) (r *quota.GetQuotaResponse, err error) CreateBareMachine(ctx context.Context, req *baremachine.CreateBareMachineRequest, callOptions ...callopt.Option) (r *baremachine.CreateBareMachineResponse, err error) UpdateBareMachine(ctx context.Context, req *baremachine.UpdateBareMachineRequest, callOptions ...callopt.Option) (r *baremachine.UpdateBareMachineResponse, err error) DeleteBareMachine(ctx context.Context, req *baremachine.DeleteBareMachineRequest, callOptions ...callopt.Option) (r *baremachine.DeleteBareMachineResponse, err error) GetBareMachine(ctx context.Context, req *baremachine.GetBareMachineRequest, callOptions ...callopt.Option) (r *baremachine.GetBareMachineResponse, err error) ListBareMachine(ctx context.Context, req *baremachine.ListBareMachineRequest, callOptions ...callopt.Option) (r *baremachine.ListBareMachineResponse, err error) GetBareMachineSshPublicKey(ctx context.Context, req *baremachine.GetBareMachineSshPublicKeyRequest, callOptions ...callopt.Option) (r *baremachine.GetBareMachineSshPublicKeyResponse, err error) ListBareMachineExpectOs(ctx context.Context, req *baremachine.ListBareMachineExpectOsRequest, callOptions ...callopt.Option) (r *baremachine.ListBareMachineExpectOsResponse, err error) GetBareMachineImportExcelTemplate(ctx context.Context, req *baremachine.GetBareMachineImportExcelTemplateRequest, callOptions ...callopt.Option) (r *baremachine.GetBareMachineImportExcelTemplateResponse, err error) CheckCidrConflict(ctx context.Context, req *cluster.CheckCidrConflictRequest, callOptions ...callopt.Option) (r *cluster.CheckCidrConflictResponse, err error) RecommendCidr(ctx context.Context, req *cluster.RecommendCidrRequest, callOptions ...callopt.Option) (r *cluster.RecommendCidrResponse, err error) AddVciSubnets(ctx context.Context, req *cluster.AddVciSubnetsRequest, callOptions ...callopt.Option) (r *cluster.AddVciSubnetsResponse, err error) IsInShortTermWhiteList(ctx context.Context, req *trade.IsInShortTermWhiteListRequest, callOptions ...callopt.Option) (r *trade.IsInShortTermWhiteListResponse, err error) AllowUserPublicTest(ctx context.Context, req *publicverify.PublicTestAllowedReq, callOptions ...callopt.Option) (r *publicverify.PublicTestAllowedResp, err error) ListVciAvailabilityZones(ctx context.Context, req *vci.ListVciAvailabilityZonesRequest, callOptions ...callopt.Option) (r *vci.ListVciAvailabilityZonesResponse, err error) ListNodeZones(ctx context.Context, req *cluster.ListNodeZonesRequest, callOptions ...callopt.Option) (r *cluster.ListNodeZonesResponse, err error) }
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
Click to show internal directories.
Click to hide internal directories.