Documentation ¶
Index ¶
- Variables
- func RegisterAppInfoServiceServer(s grpc.ServiceRegistrar, srv AppInfoServiceServer)
- func RegisterAppServeAppServiceServer(s grpc.ServiceRegistrar, srv AppServeAppServiceServer)
- func RegisterClusterInfoServiceServer(s grpc.ServiceRegistrar, srv ClusterInfoServiceServer)
- func RegisterClusterLcmServiceServer(s grpc.ServiceRegistrar, srv ClusterLcmServiceServer)
- func RegisterContractServiceServer(s grpc.ServiceRegistrar, srv ContractServiceServer)
- func RegisterCspInfoServiceServer(s grpc.ServiceRegistrar, srv CspInfoServiceServer)
- func RegisterKeycloakInfoServiceServer(s grpc.ServiceRegistrar, srv KeycloakInfoServiceServer)
- type AddClusterInfoRequest
- func (*AddClusterInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterInfoRequest) GetConf() *ClusterConf
- func (x *AddClusterInfoRequest) GetContractId() string
- func (x *AddClusterInfoRequest) GetCreator() string
- func (x *AddClusterInfoRequest) GetCspId() string
- func (x *AddClusterInfoRequest) GetDescription() string
- func (x *AddClusterInfoRequest) GetName() string
- func (*AddClusterInfoRequest) ProtoMessage()
- func (x *AddClusterInfoRequest) ProtoReflect() protoreflect.Message
- func (x *AddClusterInfoRequest) Reset()
- func (x *AddClusterInfoRequest) String() string
- type AppGroup
- func (*AppGroup) Descriptor() ([]byte, []int)deprecated
- func (x *AppGroup) GetAppGroupId() string
- func (x *AppGroup) GetAppGroupName() string
- func (x *AppGroup) GetClusterId() string
- func (x *AppGroup) GetCreatedAt() *timestamppb.Timestamp
- func (x *AppGroup) GetCreator() string
- func (x *AppGroup) GetDescription() string
- func (x *AppGroup) GetExternalLabel() string
- func (x *AppGroup) GetStatus() AppGroupStatus
- func (x *AppGroup) GetStatusDesc() string
- func (x *AppGroup) GetType() AppGroupType
- func (x *AppGroup) GetUpdatedAt() *timestamppb.Timestamp
- func (x *AppGroup) GetWorkflowId() string
- func (*AppGroup) ProtoMessage()
- func (x *AppGroup) ProtoReflect() protoreflect.Message
- func (x *AppGroup) Reset()
- func (x *AppGroup) String() string
- type AppGroupStatus
- func (AppGroupStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AppGroupStatus) Enum() *AppGroupStatus
- func (AppGroupStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppGroupStatus) Number() protoreflect.EnumNumber
- func (x AppGroupStatus) String() string
- func (AppGroupStatus) Type() protoreflect.EnumType
- type AppGroupType
- func (AppGroupType) Descriptor() protoreflect.EnumDescriptor
- func (x AppGroupType) Enum() *AppGroupType
- func (AppGroupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppGroupType) Number() protoreflect.EnumNumber
- func (x AppGroupType) String() string
- func (AppGroupType) Type() protoreflect.EnumType
- type AppInfoServiceClient
- type AppInfoServiceServer
- type AppServeApp
- func (*AppServeApp) Descriptor() ([]byte, []int)deprecated
- func (x *AppServeApp) GetAppType() string
- func (x *AppServeApp) GetContractId() string
- func (x *AppServeApp) GetCreatedAt() *timestamppb.Timestamp
- func (x *AppServeApp) GetEndpointUrl() string
- func (x *AppServeApp) GetId() string
- func (x *AppServeApp) GetName() string
- func (x *AppServeApp) GetPreviewEndpointUrl() string
- func (x *AppServeApp) GetStatus() string
- func (x *AppServeApp) GetTargetClusterId() string
- func (x *AppServeApp) GetType() string
- func (x *AppServeApp) GetUpdatedAt() *timestamppb.Timestamp
- func (*AppServeApp) ProtoMessage()
- func (x *AppServeApp) ProtoReflect() protoreflect.Message
- func (x *AppServeApp) Reset()
- func (x *AppServeApp) String() string
- type AppServeAppCombined
- func (*AppServeAppCombined) Descriptor() ([]byte, []int)deprecated
- func (x *AppServeAppCombined) GetAppServeApp() *AppServeApp
- func (x *AppServeAppCombined) GetTasks() []*AppServeAppTask
- func (*AppServeAppCombined) ProtoMessage()
- func (x *AppServeAppCombined) ProtoReflect() protoreflect.Message
- func (x *AppServeAppCombined) Reset()
- func (x *AppServeAppCombined) String() string
- type AppServeAppServiceClient
- type AppServeAppServiceServer
- type AppServeAppTask
- func (*AppServeAppTask) Descriptor() ([]byte, []int)deprecated
- func (x *AppServeAppTask) GetAppConfig() string
- func (x *AppServeAppTask) GetAppSecret() string
- func (x *AppServeAppTask) GetAppServeAppId() string
- func (x *AppServeAppTask) GetArtifactUrl() string
- func (x *AppServeAppTask) GetCreatedAt() *timestamppb.Timestamp
- func (x *AppServeAppTask) GetExecutablePath() string
- func (x *AppServeAppTask) GetExtraEnv() string
- func (x *AppServeAppTask) GetHelmRevision() int32
- func (x *AppServeAppTask) GetId() string
- func (x *AppServeAppTask) GetImageUrl() string
- func (x *AppServeAppTask) GetOutput() string
- func (x *AppServeAppTask) GetPort() string
- func (x *AppServeAppTask) GetProfile() string
- func (x *AppServeAppTask) GetResourceSpec() string
- func (x *AppServeAppTask) GetStatus() string
- func (x *AppServeAppTask) GetStrategy() string
- func (x *AppServeAppTask) GetUpdatedAt() *timestamppb.Timestamp
- func (x *AppServeAppTask) GetVersion() string
- func (*AppServeAppTask) ProtoMessage()
- func (x *AppServeAppTask) ProtoReflect() protoreflect.Message
- func (x *AppServeAppTask) Reset()
- func (x *AppServeAppTask) String() string
- type AppType
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetAppGroupId() string
- func (x *Application) GetAppId() string
- func (x *Application) GetCreatedAt() *timestamppb.Timestamp
- func (x *Application) GetEndpoint() string
- func (x *Application) GetMetadata() string
- func (x *Application) GetType() AppType
- func (x *Application) GetUpdatedAt() *timestamppb.Timestamp
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetAppGroups() []*AppGroup
- func (x *Cluster) GetConf() *ClusterConf
- func (x *Cluster) GetContractId() string
- func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
- func (x *Cluster) GetCreator() string
- func (x *Cluster) GetCspId() string
- func (x *Cluster) GetDescription() string
- func (x *Cluster) GetId() string
- func (x *Cluster) GetKubeconfig() string
- func (x *Cluster) GetName() string
- func (x *Cluster) GetStatus() ClusterStatus
- func (x *Cluster) GetStatusDesc() string
- func (x *Cluster) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Cluster) GetWorkflowId() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type ClusterConf
- func (*ClusterConf) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConf) GetMachineType() string
- func (x *ClusterConf) GetMaxSizePerAz() int32
- func (x *ClusterConf) GetMinSizePerAz() int32
- func (x *ClusterConf) GetNumOfAz() int32
- func (x *ClusterConf) GetRegion() string
- func (x *ClusterConf) GetSshKeyName() string
- func (*ClusterConf) ProtoMessage()
- func (x *ClusterConf) ProtoReflect() protoreflect.Message
- func (x *ClusterConf) Reset()
- func (x *ClusterConf) String() string
- type ClusterInfoServiceClient
- type ClusterInfoServiceServer
- type ClusterLcmServiceClient
- type ClusterLcmServiceServer
- type ClusterRawConf
- func (*ClusterRawConf) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterRawConf) GetMachineReplicas() int32
- func (x *ClusterRawConf) GetMachineType() string
- func (x *ClusterRawConf) GetNumOfAz() int32
- func (x *ClusterRawConf) GetRegion() string
- func (x *ClusterRawConf) GetSshKeyName() string
- func (*ClusterRawConf) ProtoMessage()
- func (x *ClusterRawConf) ProtoReflect() protoreflect.Message
- func (x *ClusterRawConf) Reset()
- func (x *ClusterRawConf) String() string
- type ClusterStatus
- func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterStatus) Enum() *ClusterStatus
- func (ClusterStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterStatus) Number() protoreflect.EnumNumber
- func (x ClusterStatus) String() string
- func (ClusterStatus) Type() protoreflect.EnumType
- type Code
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Contract) GetAvailableServices() []string
- func (x *Contract) GetContractId() string
- func (x *Contract) GetContractorName() string
- func (x *Contract) GetCreatedAt() *timestamppb.Timestamp
- func (x *Contract) GetCreator() string
- func (x *Contract) GetCspId() string
- func (x *Contract) GetDescription() string
- func (x *Contract) GetQuota() *ContractQuota
- func (x *Contract) GetUpdatedAt() *timestamppb.Timestamp
- func (*Contract) ProtoMessage()
- func (x *Contract) ProtoReflect() protoreflect.Message
- func (x *Contract) Reset()
- func (x *Contract) String() string
- type ContractQuota
- func (*ContractQuota) Descriptor() ([]byte, []int)deprecated
- func (x *ContractQuota) GetBlock() int64
- func (x *ContractQuota) GetBlockSsd() int64
- func (x *ContractQuota) GetCpu() int64
- func (x *ContractQuota) GetFs() int64
- func (x *ContractQuota) GetFsSsd() int64
- func (x *ContractQuota) GetMemory() int64
- func (*ContractQuota) ProtoMessage()
- func (x *ContractQuota) ProtoReflect() protoreflect.Message
- func (x *ContractQuota) Reset()
- func (x *ContractQuota) String() string
- type ContractServiceClient
- type ContractServiceServer
- type CreateAppGroupRequest
- func (*CreateAppGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppGroupRequest) GetAppGroup() *AppGroup
- func (x *CreateAppGroupRequest) GetClusterId() string
- func (*CreateAppGroupRequest) ProtoMessage()
- func (x *CreateAppGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppGroupRequest) Reset()
- func (x *CreateAppGroupRequest) String() string
- type CreateAppServeAppRequest
- func (*CreateAppServeAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppServeAppRequest) GetAppServeApp() *AppServeApp
- func (x *CreateAppServeAppRequest) GetAppServeAppTask() *AppServeAppTask
- func (*CreateAppServeAppRequest) ProtoMessage()
- func (x *CreateAppServeAppRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppServeAppRequest) Reset()
- func (x *CreateAppServeAppRequest) String() string
- type CreateAppServeAppResponse
- func (*CreateAppServeAppResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppServeAppResponse) GetCode() Code
- func (x *CreateAppServeAppResponse) GetError() *Error
- func (x *CreateAppServeAppResponse) GetId() string
- func (x *CreateAppServeAppResponse) GetTaskId() string
- func (*CreateAppServeAppResponse) ProtoMessage()
- func (x *CreateAppServeAppResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAppServeAppResponse) Reset()
- func (x *CreateAppServeAppResponse) String() string
- type CreateCSPInfoRequest
- func (*CreateCSPInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCSPInfoRequest) GetAuth() string
- func (x *CreateCSPInfoRequest) GetContractId() string
- func (x *CreateCSPInfoRequest) GetCspName() string
- func (x *CreateCSPInfoRequest) GetCspType() CspType
- func (*CreateCSPInfoRequest) ProtoMessage()
- func (x *CreateCSPInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCSPInfoRequest) Reset()
- func (x *CreateCSPInfoRequest) String() string
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetConf() *ClusterRawConf
- func (x *CreateClusterRequest) GetContractId() string
- func (x *CreateClusterRequest) GetCreator() string
- func (x *CreateClusterRequest) GetCspId() string
- func (x *CreateClusterRequest) GetDescription() string
- func (x *CreateClusterRequest) GetName() string
- func (x *CreateClusterRequest) GetTemplateName() string
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (x *CreateClusterRequest) String() string
- type CreateContractRequest
- func (*CreateContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContractRequest) GetAvailableServices() []string
- func (x *CreateContractRequest) GetContractorName() string
- func (x *CreateContractRequest) GetCreator() string
- func (x *CreateContractRequest) GetCspAuth() string
- func (x *CreateContractRequest) GetCspName() string
- func (x *CreateContractRequest) GetDescription() string
- func (x *CreateContractRequest) GetQuota() *ContractQuota
- func (*CreateContractRequest) ProtoMessage()
- func (x *CreateContractRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContractRequest) Reset()
- func (x *CreateContractRequest) String() string
- type CreateContractResponse
- func (*CreateContractResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContractResponse) GetCode() Code
- func (x *CreateContractResponse) GetContractId() string
- func (x *CreateContractResponse) GetCspId() string
- func (x *CreateContractResponse) GetError() *Error
- func (*CreateContractResponse) ProtoMessage()
- func (x *CreateContractResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContractResponse) Reset()
- func (x *CreateContractResponse) String() string
- type CreateKeycloakInfoRequest
- func (*CreateKeycloakInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeycloakInfoRequest) GetClientId() string
- func (x *CreateKeycloakInfoRequest) GetClusterId() string
- func (x *CreateKeycloakInfoRequest) GetPrivateKey() string
- func (x *CreateKeycloakInfoRequest) GetRealm() string
- func (x *CreateKeycloakInfoRequest) GetSecret() string
- func (*CreateKeycloakInfoRequest) ProtoMessage()
- func (x *CreateKeycloakInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeycloakInfoRequest) Reset()
- func (x *CreateKeycloakInfoRequest) String() string
- type CspInfoServiceClient
- type CspInfoServiceServer
- type CspType
- type DeleteAppGroupRequest
- func (*DeleteAppGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppGroupRequest) GetAppGroupId() string
- func (*DeleteAppGroupRequest) ProtoMessage()
- func (x *DeleteAppGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAppGroupRequest) Reset()
- func (x *DeleteAppGroupRequest) String() string
- type Error
- type GetAppGroupRequest
- func (*GetAppGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppGroupRequest) GetAppGroupId() string
- func (*GetAppGroupRequest) ProtoMessage()
- func (x *GetAppGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppGroupRequest) Reset()
- func (x *GetAppGroupRequest) String() string
- type GetAppGroupResponse
- func (*GetAppGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppGroupResponse) GetAppGroup() *AppGroup
- func (x *GetAppGroupResponse) GetCode() Code
- func (x *GetAppGroupResponse) GetError() *Error
- func (*GetAppGroupResponse) ProtoMessage()
- func (x *GetAppGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppGroupResponse) Reset()
- func (x *GetAppGroupResponse) String() string
- type GetAppGroupsRequest
- func (*GetAppGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppGroupsRequest) GetAppGroupName() string
- func (x *GetAppGroupsRequest) GetType() AppGroupType
- func (*GetAppGroupsRequest) ProtoMessage()
- func (x *GetAppGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppGroupsRequest) Reset()
- func (x *GetAppGroupsRequest) String() string
- type GetAppGroupsResponse
- func (*GetAppGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppGroupsResponse) GetAppGroups() []*AppGroup
- func (x *GetAppGroupsResponse) GetCode() Code
- func (x *GetAppGroupsResponse) GetError() *Error
- func (*GetAppGroupsResponse) ProtoMessage()
- func (x *GetAppGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppGroupsResponse) Reset()
- func (x *GetAppGroupsResponse) String() string
- type GetAppServeAppRequest
- func (*GetAppServeAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppServeAppRequest) GetAppServeAppId() string
- func (*GetAppServeAppRequest) ProtoMessage()
- func (x *GetAppServeAppRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppServeAppRequest) Reset()
- func (x *GetAppServeAppRequest) String() string
- type GetAppServeAppResponse
- func (*GetAppServeAppResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppServeAppResponse) GetAppServeAppCombined() *AppServeAppCombined
- func (x *GetAppServeAppResponse) GetCode() Code
- func (x *GetAppServeAppResponse) GetError() *Error
- func (*GetAppServeAppResponse) ProtoMessage()
- func (x *GetAppServeAppResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppServeAppResponse) Reset()
- func (x *GetAppServeAppResponse) String() string
- type GetAppServeAppsRequest
- func (*GetAppServeAppsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppServeAppsRequest) GetContractId() string
- func (x *GetAppServeAppsRequest) GetShowAll() bool
- func (*GetAppServeAppsRequest) ProtoMessage()
- func (x *GetAppServeAppsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppServeAppsRequest) Reset()
- func (x *GetAppServeAppsRequest) String() string
- type GetAppServeAppsResponse
- func (*GetAppServeAppsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppServeAppsResponse) GetAppServeApps() []*AppServeApp
- func (x *GetAppServeAppsResponse) GetCode() Code
- func (x *GetAppServeAppsResponse) GetError() *Error
- func (*GetAppServeAppsResponse) ProtoMessage()
- func (x *GetAppServeAppsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppServeAppsResponse) Reset()
- func (x *GetAppServeAppsResponse) String() string
- type GetAppsRequest
- func (*GetAppsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppsRequest) GetAppGroupId() string
- func (x *GetAppsRequest) GetType() AppType
- func (*GetAppsRequest) ProtoMessage()
- func (x *GetAppsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppsRequest) Reset()
- func (x *GetAppsRequest) String() string
- type GetAppsResponse
- func (*GetAppsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppsResponse) GetApps() []*Application
- func (x *GetAppsResponse) GetCode() Code
- func (x *GetAppsResponse) GetError() *Error
- func (*GetAppsResponse) ProtoMessage()
- func (x *GetAppsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAppsResponse) Reset()
- func (x *GetAppsResponse) String() string
- type GetAvailableServicesRequest
- func (*GetAvailableServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableServicesRequest) GetContractId() string
- func (*GetAvailableServicesRequest) ProtoMessage()
- func (x *GetAvailableServicesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAvailableServicesRequest) Reset()
- func (x *GetAvailableServicesRequest) String() string
- type GetAvailableServicesResponse
- func (*GetAvailableServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableServicesResponse) GetAvaiableServiceApps() []string
- func (x *GetAvailableServicesResponse) GetCode() Code
- func (x *GetAvailableServicesResponse) GetError() *Error
- func (*GetAvailableServicesResponse) ProtoMessage()
- func (x *GetAvailableServicesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvailableServicesResponse) Reset()
- func (x *GetAvailableServicesResponse) String() string
- type GetCSPAuthResponse
- func (*GetCSPAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCSPAuthResponse) GetAuth() string
- func (x *GetCSPAuthResponse) GetCode() Code
- func (x *GetCSPAuthResponse) GetError() *Error
- func (*GetCSPAuthResponse) ProtoMessage()
- func (x *GetCSPAuthResponse) ProtoReflect() protoreflect.Message
- func (x *GetCSPAuthResponse) Reset()
- func (x *GetCSPAuthResponse) String() string
- type GetCSPInfoResponse
- func (*GetCSPInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCSPInfoResponse) GetAuth() string
- func (x *GetCSPInfoResponse) GetCode() Code
- func (x *GetCSPInfoResponse) GetContractId() string
- func (x *GetCSPInfoResponse) GetCspName() string
- func (x *GetCSPInfoResponse) GetCspType() CspType
- func (x *GetCSPInfoResponse) GetError() *Error
- func (*GetCSPInfoResponse) ProtoMessage()
- func (x *GetCSPInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetCSPInfoResponse) Reset()
- func (x *GetCSPInfoResponse) String() string
- type GetClusterRequest
- type GetClusterResponse
- func (*GetClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterResponse) GetCluster() *Cluster
- func (x *GetClusterResponse) GetCode() Code
- func (x *GetClusterResponse) GetError() *Error
- func (*GetClusterResponse) ProtoMessage()
- func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
- func (x *GetClusterResponse) Reset()
- func (x *GetClusterResponse) String() string
- type GetClustersRequest
- func (*GetClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClustersRequest) GetContractId() string
- func (x *GetClustersRequest) GetCspId() string
- func (*GetClustersRequest) ProtoMessage()
- func (x *GetClustersRequest) ProtoReflect() protoreflect.Message
- func (x *GetClustersRequest) Reset()
- func (x *GetClustersRequest) String() string
- type GetClustersResponse
- func (*GetClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClustersResponse) GetClusters() []*Cluster
- func (x *GetClustersResponse) GetCode() Code
- func (x *GetClustersResponse) GetError() *Error
- func (*GetClustersResponse) ProtoMessage()
- func (x *GetClustersResponse) ProtoReflect() protoreflect.Message
- func (x *GetClustersResponse) Reset()
- func (x *GetClustersResponse) String() string
- type GetContractRequest
- func (*GetContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContractRequest) GetContractId() string
- func (*GetContractRequest) ProtoMessage()
- func (x *GetContractRequest) ProtoReflect() protoreflect.Message
- func (x *GetContractRequest) Reset()
- func (x *GetContractRequest) String() string
- type GetContractResponse
- func (*GetContractResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContractResponse) GetCode() Code
- func (x *GetContractResponse) GetContract() *Contract
- func (x *GetContractResponse) GetError() *Error
- func (*GetContractResponse) ProtoMessage()
- func (x *GetContractResponse) ProtoReflect() protoreflect.Message
- func (x *GetContractResponse) Reset()
- func (x *GetContractResponse) String() string
- type GetContractsRequest
- type GetContractsResponse
- func (*GetContractsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContractsResponse) GetCode() Code
- func (x *GetContractsResponse) GetContracts() []*Contract
- func (x *GetContractsResponse) GetError() *Error
- func (*GetContractsResponse) ProtoMessage()
- func (x *GetContractsResponse) ProtoReflect() protoreflect.Message
- func (x *GetContractsResponse) Reset()
- func (x *GetContractsResponse) String() string
- type GetKeycloakInfoResponse
- func (*GetKeycloakInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeycloakInfoResponse) GetCode() Code
- func (x *GetKeycloakInfoResponse) GetError() *Error
- func (x *GetKeycloakInfoResponse) GetKeycloakInfos() []*KeycloakInfo
- func (*GetKeycloakInfoResponse) ProtoMessage()
- func (x *GetKeycloakInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeycloakInfoResponse) Reset()
- func (x *GetKeycloakInfoResponse) String() string
- type GetQuotaRequest
- type GetQuotaResponse
- func (*GetQuotaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuotaResponse) GetCode() Code
- func (x *GetQuotaResponse) GetError() *Error
- func (x *GetQuotaResponse) GetQuota() *ContractQuota
- func (*GetQuotaResponse) ProtoMessage()
- func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message
- func (x *GetQuotaResponse) Reset()
- func (x *GetQuotaResponse) String() string
- type IDRequest
- type IDResponse
- func (*IDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IDResponse) GetCode() Code
- func (x *IDResponse) GetError() *Error
- func (x *IDResponse) GetId() string
- func (*IDResponse) ProtoMessage()
- func (x *IDResponse) ProtoReflect() protoreflect.Message
- func (x *IDResponse) Reset()
- func (x *IDResponse) String() string
- type IDsResponse
- func (*IDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IDsResponse) GetCode() Code
- func (x *IDsResponse) GetError() *Error
- func (x *IDsResponse) GetIds() []string
- func (*IDsResponse) ProtoMessage()
- func (x *IDsResponse) ProtoReflect() protoreflect.Message
- func (x *IDsResponse) Reset()
- func (x *IDsResponse) String() string
- type ImportClusterRequest
- func (*ImportClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportClusterRequest) GetContractId() string
- func (x *ImportClusterRequest) GetCreator() string
- func (x *ImportClusterRequest) GetDescription() string
- func (x *ImportClusterRequest) GetKubeconfig() []byte
- func (x *ImportClusterRequest) GetName() string
- func (x *ImportClusterRequest) GetTemplateName() string
- func (*ImportClusterRequest) ProtoMessage()
- func (x *ImportClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ImportClusterRequest) Reset()
- func (x *ImportClusterRequest) String() string
- type InstallAppGroupsRequest
- func (*InstallAppGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallAppGroupsRequest) GetAppGroups() []*AppGroup
- func (*InstallAppGroupsRequest) ProtoMessage()
- func (x *InstallAppGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *InstallAppGroupsRequest) Reset()
- func (x *InstallAppGroupsRequest) String() string
- type KeycloakInfo
- func (*KeycloakInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KeycloakInfo) GetClientId() string
- func (x *KeycloakInfo) GetClusterId() string
- func (x *KeycloakInfo) GetPrivateKey() string
- func (x *KeycloakInfo) GetRealm() string
- func (x *KeycloakInfo) GetSecret() string
- func (*KeycloakInfo) ProtoMessage()
- func (x *KeycloakInfo) ProtoReflect() protoreflect.Message
- func (x *KeycloakInfo) Reset()
- func (x *KeycloakInfo) String() string
- type KeycloakInfoServiceClient
- type KeycloakInfoServiceServer
- type ScaleClusterRequest
- func (*ScaleClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleClusterRequest) GetClusterId() string
- func (x *ScaleClusterRequest) GetMasterReplicas() int32
- func (x *ScaleClusterRequest) GetWorkerReplicas() int32
- func (*ScaleClusterRequest) ProtoMessage()
- func (x *ScaleClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ScaleClusterRequest) Reset()
- func (x *ScaleClusterRequest) String() string
- type SimpleResponse
- func (*SimpleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleResponse) GetCode() Code
- func (x *SimpleResponse) GetError() *Error
- func (*SimpleResponse) ProtoMessage()
- func (x *SimpleResponse) ProtoReflect() protoreflect.Message
- func (x *SimpleResponse) Reset()
- func (x *SimpleResponse) String() string
- type UnimplementedAppInfoServiceServer
- func (UnimplementedAppInfoServiceServer) CreateAppGroup(context.Context, *CreateAppGroupRequest) (*IDResponse, error)
- func (UnimplementedAppInfoServiceServer) DeleteAppGroup(context.Context, *DeleteAppGroupRequest) (*SimpleResponse, error)
- func (UnimplementedAppInfoServiceServer) GetAppGroup(context.Context, *GetAppGroupRequest) (*GetAppGroupResponse, error)
- func (UnimplementedAppInfoServiceServer) GetAppGroups(context.Context, *GetAppGroupsRequest) (*GetAppGroupsResponse, error)
- func (UnimplementedAppInfoServiceServer) GetAppGroupsByClusterID(context.Context, *IDRequest) (*GetAppGroupsResponse, error)
- func (UnimplementedAppInfoServiceServer) GetApps(context.Context, *GetAppsRequest) (*GetAppsResponse, error)
- func (UnimplementedAppInfoServiceServer) GetAppsByAppGroupID(context.Context, *IDRequest) (*GetAppsResponse, error)
- func (UnimplementedAppInfoServiceServer) UpdateApp(context.Context, *UpdateAppRequest) (*SimpleResponse, error)
- func (UnimplementedAppInfoServiceServer) UpdateAppGroupStatus(context.Context, *UpdateAppGroupStatusRequest) (*SimpleResponse, error)
- type UnimplementedAppServeAppServiceServer
- func (UnimplementedAppServeAppServiceServer) CreateAppServeApp(context.Context, *CreateAppServeAppRequest) (*CreateAppServeAppResponse, error)
- func (UnimplementedAppServeAppServiceServer) GetAppServeApp(context.Context, *GetAppServeAppRequest) (*GetAppServeAppResponse, error)
- func (UnimplementedAppServeAppServiceServer) GetAppServeApps(context.Context, *GetAppServeAppsRequest) (*GetAppServeAppsResponse, error)
- func (UnimplementedAppServeAppServiceServer) UpdateAppServeApp(context.Context, *UpdateAppServeAppRequest) (*UpdateAppServeAppResponse, error)
- func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppEndpoint(context.Context, *UpdateAppServeAppEndpointRequest) (*SimpleResponse, error)
- func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppStatus(context.Context, *UpdateAppServeAppStatusRequest) (*SimpleResponse, error)
- type UnimplementedClusterInfoServiceServer
- func (UnimplementedClusterInfoServiceServer) AddClusterInfo(context.Context, *AddClusterInfoRequest) (*IDResponse, error)
- func (UnimplementedClusterInfoServiceServer) GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)
- func (UnimplementedClusterInfoServiceServer) GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error)
- func (UnimplementedClusterInfoServiceServer) UpdateClusterConf(context.Context, *UpdateClusterConfRequest) (*SimpleResponse, error)
- func (UnimplementedClusterInfoServiceServer) UpdateClusterStatus(context.Context, *UpdateClusterStatusRequest) (*SimpleResponse, error)
- type UnimplementedClusterLcmServiceServer
- func (UnimplementedClusterLcmServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*IDResponse, error)
- func (UnimplementedClusterLcmServiceServer) DeleteCluster(context.Context, *IDRequest) (*SimpleResponse, error)
- func (UnimplementedClusterLcmServiceServer) ImportCluster(context.Context, *ImportClusterRequest) (*IDResponse, error)
- func (UnimplementedClusterLcmServiceServer) InstallAppGroups(context.Context, *InstallAppGroupsRequest) (*IDsResponse, error)
- func (UnimplementedClusterLcmServiceServer) ScaleCluster(context.Context, *ScaleClusterRequest) (*SimpleResponse, error)
- func (UnimplementedClusterLcmServiceServer) UninstallAppGroups(context.Context, *UninstallAppGroupsRequest) (*IDsResponse, error)
- type UnimplementedContractServiceServer
- func (UnimplementedContractServiceServer) CreateContract(context.Context, *CreateContractRequest) (*CreateContractResponse, error)
- func (UnimplementedContractServiceServer) GetAvailableServices(context.Context, *GetAvailableServicesRequest) (*GetAvailableServicesResponse, error)
- func (UnimplementedContractServiceServer) GetContract(context.Context, *GetContractRequest) (*GetContractResponse, error)
- func (UnimplementedContractServiceServer) GetContracts(context.Context, *GetContractsRequest) (*GetContractsResponse, error)
- func (UnimplementedContractServiceServer) GetDefaultContract(context.Context, *emptypb.Empty) (*GetContractResponse, error)
- func (UnimplementedContractServiceServer) GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error)
- func (UnimplementedContractServiceServer) UpdateQuota(context.Context, *UpdateQuotaRequest) (*UpdateQuotaResponse, error)
- func (UnimplementedContractServiceServer) UpdateServices(context.Context, *UpdateServicesRequest) (*UpdateServicesResponse, error)
- type UnimplementedCspInfoServiceServer
- func (UnimplementedCspInfoServiceServer) CreateCSPInfo(context.Context, *CreateCSPInfoRequest) (*IDResponse, error)
- func (UnimplementedCspInfoServiceServer) GetCSPAuth(context.Context, *IDRequest) (*GetCSPAuthResponse, error)
- func (UnimplementedCspInfoServiceServer) GetCSPIDs(context.Context, *emptypb.Empty) (*IDsResponse, error)
- func (UnimplementedCspInfoServiceServer) GetCSPIDsByContractID(context.Context, *IDRequest) (*IDsResponse, error)
- func (UnimplementedCspInfoServiceServer) GetCSPInfo(context.Context, *IDRequest) (*GetCSPInfoResponse, error)
- func (UnimplementedCspInfoServiceServer) UpdateCSPAuth(context.Context, *UpdateCSPAuthRequest) (*SimpleResponse, error)
- type UnimplementedKeycloakInfoServiceServer
- func (UnimplementedKeycloakInfoServiceServer) CreateKeycloakInfo(context.Context, *CreateKeycloakInfoRequest) (*IDResponse, error)
- func (UnimplementedKeycloakInfoServiceServer) DeleteKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error)
- func (UnimplementedKeycloakInfoServiceServer) GetKeycloakInfoByClusterId(context.Context, *IDRequest) (*GetKeycloakInfoResponse, error)
- func (UnimplementedKeycloakInfoServiceServer) UpdateKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error)
- type UninstallAppGroupsRequest
- func (*UninstallAppGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UninstallAppGroupsRequest) GetAppGroupIds() []string
- func (x *UninstallAppGroupsRequest) GetClusterId() string
- func (*UninstallAppGroupsRequest) ProtoMessage()
- func (x *UninstallAppGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *UninstallAppGroupsRequest) Reset()
- func (x *UninstallAppGroupsRequest) String() string
- type UnsafeAppInfoServiceServer
- type UnsafeAppServeAppServiceServer
- type UnsafeClusterInfoServiceServer
- type UnsafeClusterLcmServiceServer
- type UnsafeContractServiceServer
- type UnsafeCspInfoServiceServer
- type UnsafeKeycloakInfoServiceServer
- type UpdateAppGroupStatusRequest
- func (*UpdateAppGroupStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppGroupStatusRequest) GetAppGroupId() string
- func (x *UpdateAppGroupStatusRequest) GetStatus() AppGroupStatus
- func (x *UpdateAppGroupStatusRequest) GetStatusDesc() string
- func (x *UpdateAppGroupStatusRequest) GetWorkflowId() string
- func (*UpdateAppGroupStatusRequest) ProtoMessage()
- func (x *UpdateAppGroupStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppGroupStatusRequest) Reset()
- func (x *UpdateAppGroupStatusRequest) String() string
- type UpdateAppRequest
- func (*UpdateAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppRequest) GetAppGroupId() string
- func (x *UpdateAppRequest) GetAppType() AppType
- func (x *UpdateAppRequest) GetEndpoint() string
- func (x *UpdateAppRequest) GetMetadata() string
- func (*UpdateAppRequest) ProtoMessage()
- func (x *UpdateAppRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppRequest) Reset()
- func (x *UpdateAppRequest) String() string
- type UpdateAppServeAppEndpointRequest
- func (*UpdateAppServeAppEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppServeAppEndpointRequest) GetAppServeAppId() string
- func (x *UpdateAppServeAppEndpointRequest) GetAppServeAppTaskId() string
- func (x *UpdateAppServeAppEndpointRequest) GetEndpoint() string
- func (x *UpdateAppServeAppEndpointRequest) GetHelmRevision() int32
- func (x *UpdateAppServeAppEndpointRequest) GetPreviewEndpoint() string
- func (*UpdateAppServeAppEndpointRequest) ProtoMessage()
- func (x *UpdateAppServeAppEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppServeAppEndpointRequest) Reset()
- func (x *UpdateAppServeAppEndpointRequest) String() string
- type UpdateAppServeAppRequest
- func (*UpdateAppServeAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppServeAppRequest) GetAppServeAppId() string
- func (x *UpdateAppServeAppRequest) GetAppServeAppTask() *AppServeAppTask
- func (*UpdateAppServeAppRequest) ProtoMessage()
- func (x *UpdateAppServeAppRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppServeAppRequest) Reset()
- func (x *UpdateAppServeAppRequest) String() string
- type UpdateAppServeAppResponse
- func (*UpdateAppServeAppResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppServeAppResponse) GetCode() Code
- func (x *UpdateAppServeAppResponse) GetError() *Error
- func (x *UpdateAppServeAppResponse) GetTaskId() string
- func (*UpdateAppServeAppResponse) ProtoMessage()
- func (x *UpdateAppServeAppResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAppServeAppResponse) Reset()
- func (x *UpdateAppServeAppResponse) String() string
- type UpdateAppServeAppStatusRequest
- func (*UpdateAppServeAppStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppServeAppStatusRequest) GetAppServeAppTaskId() string
- func (x *UpdateAppServeAppStatusRequest) GetOutput() string
- func (x *UpdateAppServeAppStatusRequest) GetStatus() string
- func (*UpdateAppServeAppStatusRequest) ProtoMessage()
- func (x *UpdateAppServeAppStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppServeAppStatusRequest) Reset()
- func (x *UpdateAppServeAppStatusRequest) String() string
- type UpdateCSPAuthRequest
- func (*UpdateCSPAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCSPAuthRequest) GetAuth() string
- func (x *UpdateCSPAuthRequest) GetCspId() string
- func (*UpdateCSPAuthRequest) ProtoMessage()
- func (x *UpdateCSPAuthRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCSPAuthRequest) Reset()
- func (x *UpdateCSPAuthRequest) String() string
- type UpdateClusterConfRequest
- func (*UpdateClusterConfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterConfRequest) GetClusterId() string
- func (x *UpdateClusterConfRequest) GetConf() *ClusterConf
- func (*UpdateClusterConfRequest) ProtoMessage()
- func (x *UpdateClusterConfRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterConfRequest) Reset()
- func (x *UpdateClusterConfRequest) String() string
- type UpdateClusterStatusRequest
- func (*UpdateClusterStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterStatusRequest) GetClusterId() string
- func (x *UpdateClusterStatusRequest) GetStatus() ClusterStatus
- func (x *UpdateClusterStatusRequest) GetStatusDesc() string
- func (x *UpdateClusterStatusRequest) GetWorkflowId() string
- func (*UpdateClusterStatusRequest) ProtoMessage()
- func (x *UpdateClusterStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterStatusRequest) Reset()
- func (x *UpdateClusterStatusRequest) String() string
- type UpdateQuotaRequest
- func (*UpdateQuotaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuotaRequest) GetContractId() string
- func (x *UpdateQuotaRequest) GetQuota() *ContractQuota
- func (*UpdateQuotaRequest) ProtoMessage()
- func (x *UpdateQuotaRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateQuotaRequest) Reset()
- func (x *UpdateQuotaRequest) String() string
- type UpdateQuotaResponse
- func (*UpdateQuotaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuotaResponse) GetCode() Code
- func (x *UpdateQuotaResponse) GetContractId() string
- func (x *UpdateQuotaResponse) GetCurrentQuota() *ContractQuota
- func (x *UpdateQuotaResponse) GetError() *Error
- func (x *UpdateQuotaResponse) GetPrevQuota() *ContractQuota
- func (*UpdateQuotaResponse) ProtoMessage()
- func (x *UpdateQuotaResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateQuotaResponse) Reset()
- func (x *UpdateQuotaResponse) String() string
- type UpdateServicesRequest
- func (*UpdateServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServicesRequest) GetAvailableServices() []string
- func (x *UpdateServicesRequest) GetContractId() string
- func (*UpdateServicesRequest) ProtoMessage()
- func (x *UpdateServicesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServicesRequest) Reset()
- func (x *UpdateServicesRequest) String() string
- type UpdateServicesResponse
- func (*UpdateServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServicesResponse) GetCode() Code
- func (x *UpdateServicesResponse) GetContractId() string
- func (x *UpdateServicesResponse) GetCurrentServices() []string
- func (x *UpdateServicesResponse) GetError() *Error
- func (x *UpdateServicesResponse) GetPrevServices() []string
- func (*UpdateServicesResponse) ProtoMessage()
- func (x *UpdateServicesResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateServicesResponse) Reset()
- func (x *UpdateServicesResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Code_name = map[int32]string{ 0: "OK_UNSPECIFIED", 1: "CANCELLED", 2: "UNKNOWN", 3: "INVALID_ARGUMENT", 4: "DEADLINE_EXCEEDED", 5: "NOT_FOUND", 6: "ALREADY_EXISTS", 7: "PERMISSION_DENIED", 16: "UNAUTHENTICATED", 8: "RESOURCE_EXHAUSTED", 9: "FAILED_PRECONDITION", 10: "ABORTED", 11: "OUT_OF_RANGE", 12: "UNIMPLEMENTED", 13: "INTERNAL", 14: "UNAVAILABLE", } Code_value = map[string]int32{ "OK_UNSPECIFIED": 0, "CANCELLED": 1, "UNKNOWN": 2, "INVALID_ARGUMENT": 3, "DEADLINE_EXCEEDED": 4, "NOT_FOUND": 5, "ALREADY_EXISTS": 6, "PERMISSION_DENIED": 7, "UNAUTHENTICATED": 16, "RESOURCE_EXHAUSTED": 8, "FAILED_PRECONDITION": 9, "ABORTED": 10, "OUT_OF_RANGE": 11, "UNIMPLEMENTED": 12, "INTERNAL": 13, "UNAVAILABLE": 14, } )
Enum value maps for Code.
var ( AppGroupStatus_name = map[int32]string{ 0: "APP_GROUP_UNSPECIFIED", 1: "APP_GROUP_INSTALLING", 2: "APP_GROUP_RUNNING", 4: "APP_GROUP_DELETING", 5: "APP_GROUP_DELETED", 6: "APP_GROUP_ERROR", } AppGroupStatus_value = map[string]int32{ "APP_GROUP_UNSPECIFIED": 0, "APP_GROUP_INSTALLING": 1, "APP_GROUP_RUNNING": 2, "APP_GROUP_DELETING": 4, "APP_GROUP_DELETED": 5, "APP_GROUP_ERROR": 6, } )
Enum value maps for AppGroupStatus.
var ( ClusterStatus_name = map[int32]string{ 0: "UNSPECIFIED", 1: "INSTALLING", 2: "RUNNING", 4: "DELETING", 5: "DELETED", 6: "ERROR", } ClusterStatus_value = map[string]int32{ "UNSPECIFIED": 0, "INSTALLING": 1, "RUNNING": 2, "DELETING": 4, "DELETED": 5, "ERROR": 6, } )
Enum value maps for ClusterStatus.
var ( AppType_name = map[int32]string{ 0: "EP_UNSPECIFIED", 1: "THANOS", 2: "PROMETHEUS", 3: "GRAFANA", 4: "KIALI", 5: "KIBANA", 6: "ELASTICSERCH", 7: "CLOUD_CONSOLE", 8: "HORIZON", 9: "JAEGER", 10: "KUBERNETES_DASHBOARD", } AppType_value = map[string]int32{ "EP_UNSPECIFIED": 0, "THANOS": 1, "PROMETHEUS": 2, "GRAFANA": 3, "KIALI": 4, "KIBANA": 5, "ELASTICSERCH": 6, "CLOUD_CONSOLE": 7, "HORIZON": 8, "JAEGER": 9, "KUBERNETES_DASHBOARD": 10, } )
Enum value maps for AppType.
var ( AppGroupType_name = map[int32]string{ 0: "APP_TYPE_UNSPECIFIED", 1: "LMA", 2: "SERVICE_MESH", 3: "LMA_EFK", } AppGroupType_value = map[string]int32{ "APP_TYPE_UNSPECIFIED": 0, "LMA": 1, "SERVICE_MESH": 2, "LMA_EFK": 3, } )
Enum value maps for AppGroupType.
var ( CspType_name = map[int32]string{ 0: "CSPTYPE_UNSPECIFIED", 1: "AWS", 2: "GCP", 3: "AZURE", } CspType_value = map[string]int32{ "CSPTYPE_UNSPECIFIED": 0, "AWS": 1, "GCP": 2, "AZURE": 3, } )
Enum value maps for CspType.
var AppInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.AppInfoService", HandlerType: (*AppInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAppGroup", Handler: _AppInfoService_CreateAppGroup_Handler, }, { MethodName: "GetAppGroupsByClusterID", Handler: _AppInfoService_GetAppGroupsByClusterID_Handler, }, { MethodName: "GetAppGroups", Handler: _AppInfoService_GetAppGroups_Handler, }, { MethodName: "GetAppGroup", Handler: _AppInfoService_GetAppGroup_Handler, }, { MethodName: "UpdateAppGroupStatus", Handler: _AppInfoService_UpdateAppGroupStatus_Handler, }, { MethodName: "DeleteAppGroup", Handler: _AppInfoService_DeleteAppGroup_Handler, }, { MethodName: "GetAppsByAppGroupID", Handler: _AppInfoService_GetAppsByAppGroupID_Handler, }, { MethodName: "GetApps", Handler: _AppInfoService_GetApps_Handler, }, { MethodName: "UpdateApp", Handler: _AppInfoService_UpdateApp_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "info.proto", }
AppInfoService_ServiceDesc is the grpc.ServiceDesc for AppInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AppServeAppService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.AppServeAppService", HandlerType: (*AppServeAppServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAppServeApp", Handler: _AppServeAppService_CreateAppServeApp_Handler, }, { MethodName: "UpdateAppServeApp", Handler: _AppServeAppService_UpdateAppServeApp_Handler, }, { MethodName: "GetAppServeApp", Handler: _AppServeAppService_GetAppServeApp_Handler, }, { MethodName: "GetAppServeApps", Handler: _AppServeAppService_GetAppServeApps_Handler, }, { MethodName: "UpdateAppServeAppStatus", Handler: _AppServeAppService_UpdateAppServeAppStatus_Handler, }, { MethodName: "UpdateAppServeAppEndpoint", Handler: _AppServeAppService_UpdateAppServeAppEndpoint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "info.proto", }
AppServeAppService_ServiceDesc is the grpc.ServiceDesc for AppServeAppService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClusterInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.ClusterInfoService", HandlerType: (*ClusterInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddClusterInfo", Handler: _ClusterInfoService_AddClusterInfo_Handler, }, { MethodName: "UpdateClusterConf", Handler: _ClusterInfoService_UpdateClusterConf_Handler, }, { MethodName: "GetCluster", Handler: _ClusterInfoService_GetCluster_Handler, }, { MethodName: "GetClusters", Handler: _ClusterInfoService_GetClusters_Handler, }, { MethodName: "UpdateClusterStatus", Handler: _ClusterInfoService_UpdateClusterStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "info.proto", }
ClusterInfoService_ServiceDesc is the grpc.ServiceDesc for ClusterInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ClusterLcmService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.ClusterLcmService", HandlerType: (*ClusterLcmServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCluster", Handler: _ClusterLcmService_CreateCluster_Handler, }, { MethodName: "ImportCluster", Handler: _ClusterLcmService_ImportCluster_Handler, }, { MethodName: "ScaleCluster", Handler: _ClusterLcmService_ScaleCluster_Handler, }, { MethodName: "DeleteCluster", Handler: _ClusterLcmService_DeleteCluster_Handler, }, { MethodName: "InstallAppGroups", Handler: _ClusterLcmService_InstallAppGroups_Handler, }, { MethodName: "UninstallAppGroups", Handler: _ClusterLcmService_UninstallAppGroups_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cluster_lcm.proto", }
ClusterLcmService_ServiceDesc is the grpc.ServiceDesc for ClusterLcmService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ContractService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.ContractService", HandlerType: (*ContractServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateContract", Handler: _ContractService_CreateContract_Handler, }, { MethodName: "UpdateQuota", Handler: _ContractService_UpdateQuota_Handler, }, { MethodName: "UpdateServices", Handler: _ContractService_UpdateServices_Handler, }, { MethodName: "GetContract", Handler: _ContractService_GetContract_Handler, }, { MethodName: "GetDefaultContract", Handler: _ContractService_GetDefaultContract_Handler, }, { MethodName: "GetContracts", Handler: _ContractService_GetContracts_Handler, }, { MethodName: "GetQuota", Handler: _ContractService_GetQuota_Handler, }, { MethodName: "GetAvailableServices", Handler: _ContractService_GetAvailableServices_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "contract.proto", }
ContractService_ServiceDesc is the grpc.ServiceDesc for ContractService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CspInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.CspInfoService", HandlerType: (*CspInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCSPInfo", Handler: _CspInfoService_CreateCSPInfo_Handler, }, { MethodName: "GetCSPInfo", Handler: _CspInfoService_GetCSPInfo_Handler, }, { MethodName: "GetCSPIDs", Handler: _CspInfoService_GetCSPIDs_Handler, }, { MethodName: "GetCSPIDsByContractID", Handler: _CspInfoService_GetCSPIDsByContractID_Handler, }, { MethodName: "UpdateCSPAuth", Handler: _CspInfoService_UpdateCSPAuth_Handler, }, { MethodName: "GetCSPAuth", Handler: _CspInfoService_GetCSPAuth_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "info.proto", }
CspInfoService_ServiceDesc is the grpc.ServiceDesc for CspInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cluster_lcm_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_contract_proto protoreflect.FileDescriptor
var File_info_proto protoreflect.FileDescriptor
var KeycloakInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tks_pb.KeycloakInfoService", HandlerType: (*KeycloakInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateKeycloakInfo", Handler: _KeycloakInfoService_CreateKeycloakInfo_Handler, }, { MethodName: "GetKeycloakInfoByClusterId", Handler: _KeycloakInfoService_GetKeycloakInfoByClusterId_Handler, }, { MethodName: "UpdateKeycloakInfo", Handler: _KeycloakInfoService_UpdateKeycloakInfo_Handler, }, { MethodName: "DeleteKeycloakInfo", Handler: _KeycloakInfoService_DeleteKeycloakInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "info.proto", }
KeycloakInfoService_ServiceDesc is the grpc.ServiceDesc for KeycloakInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAppInfoServiceServer ¶
func RegisterAppInfoServiceServer(s grpc.ServiceRegistrar, srv AppInfoServiceServer)
func RegisterAppServeAppServiceServer ¶
func RegisterAppServeAppServiceServer(s grpc.ServiceRegistrar, srv AppServeAppServiceServer)
func RegisterClusterInfoServiceServer ¶
func RegisterClusterInfoServiceServer(s grpc.ServiceRegistrar, srv ClusterInfoServiceServer)
func RegisterClusterLcmServiceServer ¶
func RegisterClusterLcmServiceServer(s grpc.ServiceRegistrar, srv ClusterLcmServiceServer)
func RegisterContractServiceServer ¶
func RegisterContractServiceServer(s grpc.ServiceRegistrar, srv ContractServiceServer)
func RegisterCspInfoServiceServer ¶
func RegisterCspInfoServiceServer(s grpc.ServiceRegistrar, srv CspInfoServiceServer)
func RegisterKeycloakInfoServiceServer ¶
func RegisterKeycloakInfoServiceServer(s grpc.ServiceRegistrar, srv KeycloakInfoServiceServer)
Types ¶
type AddClusterInfoRequest ¶
type AddClusterInfoRequest struct { // contract_id is a contract ID. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // csp_id is an ID of CSPInfo. CspId string `protobuf:"bytes,2,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // cluster_name is a cluster name defined by users Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // conf is a cluster configuration Conf *ClusterConf `protobuf:"bytes,4,opt,name=conf,proto3" json:"conf,omitempty"` // creator is a user UID of cluster creator Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` // description is a cluster description Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
AddClusterInfoRequest is used to add a new cluster info
func (*AddClusterInfoRequest) Descriptor
deprecated
func (*AddClusterInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClusterInfoRequest.ProtoReflect.Descriptor instead.
func (*AddClusterInfoRequest) GetConf ¶
func (x *AddClusterInfoRequest) GetConf() *ClusterConf
func (*AddClusterInfoRequest) GetContractId ¶
func (x *AddClusterInfoRequest) GetContractId() string
func (*AddClusterInfoRequest) GetCreator ¶
func (x *AddClusterInfoRequest) GetCreator() string
func (*AddClusterInfoRequest) GetCspId ¶
func (x *AddClusterInfoRequest) GetCspId() string
func (*AddClusterInfoRequest) GetDescription ¶
func (x *AddClusterInfoRequest) GetDescription() string
func (*AddClusterInfoRequest) GetName ¶
func (x *AddClusterInfoRequest) GetName() string
func (*AddClusterInfoRequest) ProtoMessage ¶
func (*AddClusterInfoRequest) ProtoMessage()
func (*AddClusterInfoRequest) ProtoReflect ¶
func (x *AddClusterInfoRequest) ProtoReflect() protoreflect.Message
func (*AddClusterInfoRequest) Reset ¶
func (x *AddClusterInfoRequest) Reset()
func (*AddClusterInfoRequest) String ¶
func (x *AddClusterInfoRequest) String() string
type AppGroup ¶
type AppGroup struct { // app_group_id for the application group AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // app_group_name is a human-readable name. AppGroupName string `protobuf:"bytes,2,opt,name=app_group_name,json=appGroupName,proto3" json:"app_group_name,omitempty"` // type (LMA/SERVICE_MESH/LMA_EFK) Type AppGroupType `protobuf:"varint,3,opt,name=type,proto3,enum=tks_pb.AppGroupType" json:"type,omitempty"` // cluster_id is a cluster ID to install application. ClusterId string `protobuf:"bytes,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // workflow_id is a argo workflow id WorkflowId string `protobuf:"bytes,5,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // a status of the application eg) Installing/Running/Error Status AppGroupStatus `protobuf:"varint,6,opt,name=status,proto3,enum=tks_pb.AppGroupStatus" json:"status,omitempty"` // a status description of the application StatusDesc string `protobuf:"bytes,7,opt,name=status_desc,json=statusDesc,proto3" json:"status_desc,omitempty"` // external_lable is the label used for globally unique identification ExternalLabel string `protobuf:"bytes,8,opt,name=external_label,json=externalLabel,proto3" json:"external_label,omitempty"` // created_at is a creatioin timestamp for the application CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp for the trigger of status change UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // creator is a user UID of appgroup creator Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"` // description is a appgroup description Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
AppGroup represents an application group such as LMA, ServiceMesh.
func (*AppGroup) Descriptor
deprecated
func (*AppGroup) GetAppGroupId ¶
func (*AppGroup) GetAppGroupName ¶
func (*AppGroup) GetClusterId ¶
func (*AppGroup) GetCreatedAt ¶
func (x *AppGroup) GetCreatedAt() *timestamppb.Timestamp
func (*AppGroup) GetCreator ¶
func (*AppGroup) GetDescription ¶
func (*AppGroup) GetExternalLabel ¶
func (*AppGroup) GetStatus ¶
func (x *AppGroup) GetStatus() AppGroupStatus
func (*AppGroup) GetStatusDesc ¶
func (*AppGroup) GetType ¶
func (x *AppGroup) GetType() AppGroupType
func (*AppGroup) GetUpdatedAt ¶
func (x *AppGroup) GetUpdatedAt() *timestamppb.Timestamp
func (*AppGroup) GetWorkflowId ¶
func (*AppGroup) ProtoMessage ¶
func (*AppGroup) ProtoMessage()
func (*AppGroup) ProtoReflect ¶
func (x *AppGroup) ProtoReflect() protoreflect.Message
type AppGroupStatus ¶
type AppGroupStatus int32
AppGroupStatus represents a status of the application group
const ( AppGroupStatus_APP_GROUP_UNSPECIFIED AppGroupStatus = 0 AppGroupStatus_APP_GROUP_INSTALLING AppGroupStatus = 1 AppGroupStatus_APP_GROUP_RUNNING AppGroupStatus = 2 AppGroupStatus_APP_GROUP_DELETING AppGroupStatus = 4 AppGroupStatus_APP_GROUP_DELETED AppGroupStatus = 5 AppGroupStatus_APP_GROUP_ERROR AppGroupStatus = 6 )
func (AppGroupStatus) Descriptor ¶
func (AppGroupStatus) Descriptor() protoreflect.EnumDescriptor
func (AppGroupStatus) Enum ¶
func (x AppGroupStatus) Enum() *AppGroupStatus
func (AppGroupStatus) EnumDescriptor
deprecated
func (AppGroupStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppGroupStatus.Descriptor instead.
func (AppGroupStatus) Number ¶
func (x AppGroupStatus) Number() protoreflect.EnumNumber
func (AppGroupStatus) String ¶
func (x AppGroupStatus) String() string
func (AppGroupStatus) Type ¶
func (AppGroupStatus) Type() protoreflect.EnumType
type AppGroupType ¶
type AppGroupType int32
AppGroupType is types of app group
const ( AppGroupType_APP_TYPE_UNSPECIFIED AppGroupType = 0 AppGroupType_LMA AppGroupType = 1 AppGroupType_SERVICE_MESH AppGroupType = 2 AppGroupType_LMA_EFK AppGroupType = 3 )
func (AppGroupType) Descriptor ¶
func (AppGroupType) Descriptor() protoreflect.EnumDescriptor
func (AppGroupType) Enum ¶
func (x AppGroupType) Enum() *AppGroupType
func (AppGroupType) EnumDescriptor
deprecated
func (AppGroupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppGroupType.Descriptor instead.
func (AppGroupType) Number ¶
func (x AppGroupType) Number() protoreflect.EnumNumber
func (AppGroupType) String ¶
func (x AppGroupType) String() string
func (AppGroupType) Type ¶
func (AppGroupType) Type() protoreflect.EnumType
type AppInfoServiceClient ¶
type AppInfoServiceClient interface { // CreateAppGroup creates a new application group. CreateAppGroup(ctx context.Context, in *CreateAppGroupRequest, opts ...grpc.CallOption) (*IDResponse, error) // GetAppGroupsByClusterID gets an array of app infos By the clusterID GetAppGroupsByClusterID(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*GetAppGroupsResponse, error) // GetAppGroups gets an array of app infos by name & type in the cluster GetAppGroups(ctx context.Context, in *GetAppGroupsRequest, opts ...grpc.CallOption) (*GetAppGroupsResponse, error) // GetAppGroup gets an application group by application group ID GetAppGroup(ctx context.Context, in *GetAppGroupRequest, opts ...grpc.CallOption) (*GetAppGroupResponse, error) // UpdateAppGroupStatus updates a status of an application group UpdateAppGroupStatus(ctx context.Context, in *UpdateAppGroupStatusRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // DeleteAppGroup deletes an app group. DeleteAppGroup(ctx context.Context, in *DeleteAppGroupRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // GetAppsByClusterID gets applications by application group id. GetAppsByAppGroupID(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*GetAppsResponse, error) // GetApps gets applications by application type and application id. GetApps(ctx context.Context, in *GetAppsRequest, opts ...grpc.CallOption) (*GetAppsResponse, error) // UpdateApp updates application data. UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...grpc.CallOption) (*SimpleResponse, error) }
AppInfoServiceClient is the client API for AppInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppInfoServiceClient ¶
func NewAppInfoServiceClient(cc grpc.ClientConnInterface) AppInfoServiceClient
type AppInfoServiceServer ¶
type AppInfoServiceServer interface { // CreateAppGroup creates a new application group. CreateAppGroup(context.Context, *CreateAppGroupRequest) (*IDResponse, error) // GetAppGroupsByClusterID gets an array of app infos By the clusterID GetAppGroupsByClusterID(context.Context, *IDRequest) (*GetAppGroupsResponse, error) // GetAppGroups gets an array of app infos by name & type in the cluster GetAppGroups(context.Context, *GetAppGroupsRequest) (*GetAppGroupsResponse, error) // GetAppGroup gets an application group by application group ID GetAppGroup(context.Context, *GetAppGroupRequest) (*GetAppGroupResponse, error) // UpdateAppGroupStatus updates a status of an application group UpdateAppGroupStatus(context.Context, *UpdateAppGroupStatusRequest) (*SimpleResponse, error) // DeleteAppGroup deletes an app group. DeleteAppGroup(context.Context, *DeleteAppGroupRequest) (*SimpleResponse, error) // GetAppsByClusterID gets applications by application group id. GetAppsByAppGroupID(context.Context, *IDRequest) (*GetAppsResponse, error) // GetApps gets applications by application type and application id. GetApps(context.Context, *GetAppsRequest) (*GetAppsResponse, error) // UpdateApp updates application data. UpdateApp(context.Context, *UpdateAppRequest) (*SimpleResponse, error) // contains filtered or unexported methods }
AppInfoServiceServer is the server API for AppInfoService service. All implementations must embed UnimplementedAppInfoServiceServer for forward compatibility
type AppServeApp ¶
type AppServeApp struct { //id for the application Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // application name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contract_id is a contract ID which this app belongs to ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // type (build/deploy/all) Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // app_type (spring/springboot) AppType string `protobuf:"bytes,5,opt,name=app_type,json=appType,proto3" json:"app_type,omitempty"` // endpoint URL of deployed app EndpointUrl string `protobuf:"bytes,6,opt,name=endpoint_url,json=endpointUrl,proto3" json:"endpoint_url,omitempty"` // preview svc endpoint URL in B/G deployment PreviewEndpointUrl string `protobuf:"bytes,7,opt,name=preview_endpoint_url,json=previewEndpointUrl,proto3" json:"preview_endpoint_url,omitempty"` // target cluster to which the app is deployed TargetClusterId string `protobuf:"bytes,8,opt,name=target_cluster_id,json=targetClusterId,proto3" json:"target_cluster_id,omitempty"` // status is status of deployed app Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` // created_at is a creatioin timestamp for the application CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp for the trigger of status change UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
AppServeApp represents each appServeApp.
func (*AppServeApp) Descriptor
deprecated
func (*AppServeApp) Descriptor() ([]byte, []int)
Deprecated: Use AppServeApp.ProtoReflect.Descriptor instead.
func (*AppServeApp) GetAppType ¶
func (x *AppServeApp) GetAppType() string
func (*AppServeApp) GetContractId ¶
func (x *AppServeApp) GetContractId() string
func (*AppServeApp) GetCreatedAt ¶
func (x *AppServeApp) GetCreatedAt() *timestamppb.Timestamp
func (*AppServeApp) GetEndpointUrl ¶
func (x *AppServeApp) GetEndpointUrl() string
func (*AppServeApp) GetId ¶
func (x *AppServeApp) GetId() string
func (*AppServeApp) GetName ¶
func (x *AppServeApp) GetName() string
func (*AppServeApp) GetPreviewEndpointUrl ¶
func (x *AppServeApp) GetPreviewEndpointUrl() string
func (*AppServeApp) GetStatus ¶
func (x *AppServeApp) GetStatus() string
func (*AppServeApp) GetTargetClusterId ¶
func (x *AppServeApp) GetTargetClusterId() string
func (*AppServeApp) GetType ¶
func (x *AppServeApp) GetType() string
func (*AppServeApp) GetUpdatedAt ¶
func (x *AppServeApp) GetUpdatedAt() *timestamppb.Timestamp
func (*AppServeApp) ProtoMessage ¶
func (*AppServeApp) ProtoMessage()
func (*AppServeApp) ProtoReflect ¶
func (x *AppServeApp) ProtoReflect() protoreflect.Message
func (*AppServeApp) Reset ¶
func (x *AppServeApp) Reset()
func (*AppServeApp) String ¶
func (x *AppServeApp) String() string
type AppServeAppCombined ¶
type AppServeAppCombined struct { // app_serve_app represent basic ASA info. AppServeApp *AppServeApp `protobuf:"bytes,1,opt,name=app_serve_app,json=appServeApp,proto3" json:"app_serve_app,omitempty"` // tasks is a list of tasks that belongs to this ASA. Tasks []*AppServeAppTask `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"` // contains filtered or unexported fields }
AppServeAppCombined represents each appServeApp with tasks included.
func (*AppServeAppCombined) Descriptor
deprecated
func (*AppServeAppCombined) Descriptor() ([]byte, []int)
Deprecated: Use AppServeAppCombined.ProtoReflect.Descriptor instead.
func (*AppServeAppCombined) GetAppServeApp ¶
func (x *AppServeAppCombined) GetAppServeApp() *AppServeApp
func (*AppServeAppCombined) GetTasks ¶
func (x *AppServeAppCombined) GetTasks() []*AppServeAppTask
func (*AppServeAppCombined) ProtoMessage ¶
func (*AppServeAppCombined) ProtoMessage()
func (*AppServeAppCombined) ProtoReflect ¶
func (x *AppServeAppCombined) ProtoReflect() protoreflect.Message
func (*AppServeAppCombined) Reset ¶
func (x *AppServeAppCombined) Reset()
func (*AppServeAppCombined) String ¶
func (x *AppServeAppCombined) String() string
type AppServeAppServiceClient ¶
type AppServeAppServiceClient interface { // CreateAppServeApp creates a new ASA that is an app by app-serving service. CreateAppServeApp(ctx context.Context, in *CreateAppServeAppRequest, opts ...grpc.CallOption) (*CreateAppServeAppResponse, error) // UpdateAppServeApp updates ASA spec for new deployment. UpdateAppServeApp(ctx context.Context, in *UpdateAppServeAppRequest, opts ...grpc.CallOption) (*UpdateAppServeAppResponse, error) // GetAppServeApp gets an ASA info. GetAppServeApp(ctx context.Context, in *GetAppServeAppRequest, opts ...grpc.CallOption) (*GetAppServeAppResponse, error) // GetAppServeApps get all ASA infos in specific contract. GetAppServeApps(ctx context.Context, in *GetAppServeAppsRequest, opts ...grpc.CallOption) (*GetAppServeAppsResponse, error) // UpdateAppServeAppStatus updates status of already deployed ASA. UpdateAppServeAppStatus(ctx context.Context, in *UpdateAppServeAppStatusRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // UpdateAppServeAppEndpoint updates endpoint of already deployed ASA. UpdateAppServeAppEndpoint(ctx context.Context, in *UpdateAppServeAppEndpointRequest, opts ...grpc.CallOption) (*SimpleResponse, error) }
AppServeAppServiceClient is the client API for AppServeAppService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppServeAppServiceClient ¶
func NewAppServeAppServiceClient(cc grpc.ClientConnInterface) AppServeAppServiceClient
type AppServeAppServiceServer ¶
type AppServeAppServiceServer interface { // CreateAppServeApp creates a new ASA that is an app by app-serving service. CreateAppServeApp(context.Context, *CreateAppServeAppRequest) (*CreateAppServeAppResponse, error) // UpdateAppServeApp updates ASA spec for new deployment. UpdateAppServeApp(context.Context, *UpdateAppServeAppRequest) (*UpdateAppServeAppResponse, error) // GetAppServeApp gets an ASA info. GetAppServeApp(context.Context, *GetAppServeAppRequest) (*GetAppServeAppResponse, error) // GetAppServeApps get all ASA infos in specific contract. GetAppServeApps(context.Context, *GetAppServeAppsRequest) (*GetAppServeAppsResponse, error) // UpdateAppServeAppStatus updates status of already deployed ASA. UpdateAppServeAppStatus(context.Context, *UpdateAppServeAppStatusRequest) (*SimpleResponse, error) // UpdateAppServeAppEndpoint updates endpoint of already deployed ASA. UpdateAppServeAppEndpoint(context.Context, *UpdateAppServeAppEndpointRequest) (*SimpleResponse, error) // contains filtered or unexported methods }
AppServeAppServiceServer is the server API for AppServeAppService service. All implementations must embed UnimplementedAppServeAppServiceServer for forward compatibility
type AppServeAppTask ¶
type AppServeAppTask struct { // task ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID for appServeApp that this task belongs to. AppServeAppId string `protobuf:"bytes,2,opt,name=app_serve_app_id,json=appServeAppId,proto3" json:"app_serve_app_id,omitempty"` // application version Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // status is app status Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // output for task result Output string `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` // URL of java app artifact (Eg, Jar) ArtifactUrl string `protobuf:"bytes,6,opt,name=artifact_url,json=artifactUrl,proto3" json:"artifact_url,omitempty"` // URL of built image for app ImageUrl string `protobuf:"bytes,7,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // Executable path of app image ExecutablePath string `protobuf:"bytes,8,opt,name=executable_path,json=executablePath,proto3" json:"executable_path,omitempty"` // java app profile Profile string `protobuf:"bytes,9,opt,name=profile,proto3" json:"profile,omitempty"` // java app config AppConfig string `protobuf:"bytes,10,opt,name=app_config,json=appConfig,proto3" json:"app_config,omitempty"` // java app secret AppSecret string `protobuf:"bytes,11,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"` // env variable list for java app ExtraEnv string `protobuf:"bytes,12,opt,name=extra_env,json=extraEnv,proto3" json:"extra_env,omitempty"` // java app port Port string `protobuf:"bytes,13,opt,name=port,proto3" json:"port,omitempty"` // resource spec of app pod ResourceSpec string `protobuf:"bytes,14,opt,name=resource_spec,json=resourceSpec,proto3" json:"resource_spec,omitempty"` // revision of deployed helm release HelmRevision int32 `protobuf:"varint,15,opt,name=helm_revision,json=helmRevision,proto3" json:"helm_revision,omitempty"` // deployment strategy (eg, rolling-update) Strategy string `protobuf:"bytes,16,opt,name=strategy,proto3" json:"strategy,omitempty"` // created_at is a creatioin timestamp for the application CreatedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp for the trigger of status change UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
AppServeAppTask represents each appServeApp task.
func (*AppServeAppTask) Descriptor
deprecated
func (*AppServeAppTask) Descriptor() ([]byte, []int)
Deprecated: Use AppServeAppTask.ProtoReflect.Descriptor instead.
func (*AppServeAppTask) GetAppConfig ¶
func (x *AppServeAppTask) GetAppConfig() string
func (*AppServeAppTask) GetAppSecret ¶
func (x *AppServeAppTask) GetAppSecret() string
func (*AppServeAppTask) GetAppServeAppId ¶
func (x *AppServeAppTask) GetAppServeAppId() string
func (*AppServeAppTask) GetArtifactUrl ¶
func (x *AppServeAppTask) GetArtifactUrl() string
func (*AppServeAppTask) GetCreatedAt ¶
func (x *AppServeAppTask) GetCreatedAt() *timestamppb.Timestamp
func (*AppServeAppTask) GetExecutablePath ¶
func (x *AppServeAppTask) GetExecutablePath() string
func (*AppServeAppTask) GetExtraEnv ¶
func (x *AppServeAppTask) GetExtraEnv() string
func (*AppServeAppTask) GetHelmRevision ¶
func (x *AppServeAppTask) GetHelmRevision() int32
func (*AppServeAppTask) GetId ¶
func (x *AppServeAppTask) GetId() string
func (*AppServeAppTask) GetImageUrl ¶
func (x *AppServeAppTask) GetImageUrl() string
func (*AppServeAppTask) GetOutput ¶
func (x *AppServeAppTask) GetOutput() string
func (*AppServeAppTask) GetPort ¶
func (x *AppServeAppTask) GetPort() string
func (*AppServeAppTask) GetProfile ¶
func (x *AppServeAppTask) GetProfile() string
func (*AppServeAppTask) GetResourceSpec ¶
func (x *AppServeAppTask) GetResourceSpec() string
func (*AppServeAppTask) GetStatus ¶
func (x *AppServeAppTask) GetStatus() string
func (*AppServeAppTask) GetStrategy ¶
func (x *AppServeAppTask) GetStrategy() string
func (*AppServeAppTask) GetUpdatedAt ¶
func (x *AppServeAppTask) GetUpdatedAt() *timestamppb.Timestamp
func (*AppServeAppTask) GetVersion ¶
func (x *AppServeAppTask) GetVersion() string
func (*AppServeAppTask) ProtoMessage ¶
func (*AppServeAppTask) ProtoMessage()
func (*AppServeAppTask) ProtoReflect ¶
func (x *AppServeAppTask) ProtoReflect() protoreflect.Message
func (*AppServeAppTask) Reset ¶
func (x *AppServeAppTask) Reset()
func (*AppServeAppTask) String ¶
func (x *AppServeAppTask) String() string
type AppType ¶
type AppType int32
AppType is a type of application.
const ( AppType_EP_UNSPECIFIED AppType = 0 AppType_THANOS AppType = 1 AppType_PROMETHEUS AppType = 2 AppType_GRAFANA AppType = 3 AppType_KIALI AppType = 4 AppType_KIBANA AppType = 5 AppType_ELASTICSERCH AppType = 6 AppType_CLOUD_CONSOLE AppType = 7 AppType_HORIZON AppType = 8 AppType_JAEGER AppType = 9 AppType_KUBERNETES_DASHBOARD AppType = 10 )
func (AppType) Descriptor ¶
func (AppType) Descriptor() protoreflect.EnumDescriptor
func (AppType) EnumDescriptor
deprecated
func (AppType) Number ¶
func (x AppType) Number() protoreflect.EnumNumber
func (AppType) Type ¶
func (AppType) Type() protoreflect.EnumType
type Application ¶
type Application struct { //id for the application AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // type (Prometheus/Grafana/...) Type AppType `protobuf:"varint,2,opt,name=type,proto3,enum=tks_pb.AppType" json:"type,omitempty"` // app_group_id is an applicagion group ID. AppGroupId string `protobuf:"bytes,3,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // endpoint is a endpoint string. Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // metadata is a unstructured information for application. Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // created_at is a creatioin timestamp for the application CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp for the trigger of status change UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Application represents each Application.
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetAppGroupId ¶
func (x *Application) GetAppGroupId() string
func (*Application) GetAppId ¶
func (x *Application) GetAppId() string
func (*Application) GetCreatedAt ¶
func (x *Application) GetCreatedAt() *timestamppb.Timestamp
func (*Application) GetEndpoint ¶
func (x *Application) GetEndpoint() string
func (*Application) GetMetadata ¶
func (x *Application) GetMetadata() string
func (*Application) GetType ¶
func (x *Application) GetType() AppType
func (*Application) GetUpdatedAt ¶
func (x *Application) GetUpdatedAt() *timestamppb.Timestamp
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type Cluster ¶
type Cluster struct { // is is a unique id for the cluster Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name is a cluster name for users Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // created_at is a creatioin timestamp for the cluster CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // updated_at is a timestamp for the trigger of status change UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // workflow_id is a argo workflow id WorkflowId string `protobuf:"bytes,5,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // status is a status of the cluste eg) Installing/Running/Error Status ClusterStatus `protobuf:"varint,6,opt,name=status,proto3,enum=tks_pb.ClusterStatus" json:"status,omitempty"` // status_desc is a detail description of the cluster status StatusDesc string `protobuf:"bytes,7,opt,name=status_desc,json=statusDesc,proto3" json:"status_desc,omitempty"` // contract_id is a contract ID. ContractId string `protobuf:"bytes,8,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // csp_id is an ID of CSPInfo. CspId string `protobuf:"bytes,9,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // conf is a kubernete cluster configuration Conf *ClusterConf `protobuf:"bytes,10,opt,name=conf,proto3" json:"conf,omitempty"` // app_groups is a array of applications AppGroups []*AppGroup `protobuf:"bytes,11,rep,name=app_groups,json=appGroups,proto3" json:"app_groups,omitempty"` // kubeconfig is a default kubeconfig for the cluster Kubeconfig string `protobuf:"bytes,12,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` // creator is a user UID of cluster creator Creator string `protobuf:"bytes,13,opt,name=creator,proto3" json:"creator,omitempty"` // description is a cluster description Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Cluster represents each Cluster.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetAppGroups ¶
func (*Cluster) GetConf ¶
func (x *Cluster) GetConf() *ClusterConf
func (*Cluster) GetContractId ¶
func (*Cluster) GetCreatedAt ¶
func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
func (*Cluster) GetCreator ¶
func (*Cluster) GetDescription ¶
func (*Cluster) GetKubeconfig ¶
func (*Cluster) GetStatus ¶
func (x *Cluster) GetStatus() ClusterStatus
func (*Cluster) GetStatusDesc ¶
func (*Cluster) GetUpdatedAt ¶
func (x *Cluster) GetUpdatedAt() *timestamppb.Timestamp
func (*Cluster) GetWorkflowId ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterConf ¶
type ClusterConf struct { // name of user ssh key for ec2 instance connection SshKeyName string `protobuf:"bytes,1,opt,name=ssh_key_name,json=sshKeyName,proto3" json:"ssh_key_name,omitempty"` // region is a AWS region name Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // number of AZ in selected region NumOfAz int32 `protobuf:"varint,3,opt,name=num_of_az,json=numOfAz,proto3" json:"num_of_az,omitempty"` // type of the worker machine MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` // minimum number of worker node that can be scaled in MinSizePerAz int32 `protobuf:"varint,5,opt,name=min_size_per_az,json=minSizePerAz,proto3" json:"min_size_per_az,omitempty"` // maximum number of worker node that can be scaled out MaxSizePerAz int32 `protobuf:"varint,6,opt,name=max_size_per_az,json=maxSizePerAz,proto3" json:"max_size_per_az,omitempty"` // contains filtered or unexported fields }
ClusterConf represents a Kubernetes cluster configuration.
func (*ClusterConf) Descriptor
deprecated
func (*ClusterConf) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConf.ProtoReflect.Descriptor instead.
func (*ClusterConf) GetMachineType ¶
func (x *ClusterConf) GetMachineType() string
func (*ClusterConf) GetMaxSizePerAz ¶
func (x *ClusterConf) GetMaxSizePerAz() int32
func (*ClusterConf) GetMinSizePerAz ¶
func (x *ClusterConf) GetMinSizePerAz() int32
func (*ClusterConf) GetNumOfAz ¶
func (x *ClusterConf) GetNumOfAz() int32
func (*ClusterConf) GetRegion ¶
func (x *ClusterConf) GetRegion() string
func (*ClusterConf) GetSshKeyName ¶
func (x *ClusterConf) GetSshKeyName() string
func (*ClusterConf) ProtoMessage ¶
func (*ClusterConf) ProtoMessage()
func (*ClusterConf) ProtoReflect ¶
func (x *ClusterConf) ProtoReflect() protoreflect.Message
func (*ClusterConf) Reset ¶
func (x *ClusterConf) Reset()
func (*ClusterConf) String ¶
func (x *ClusterConf) String() string
type ClusterInfoServiceClient ¶
type ClusterInfoServiceClient interface { // AddClusterInfo adds new cluster information AddClusterInfo(ctx context.Context, in *AddClusterInfoRequest, opts ...grpc.CallOption) (*IDResponse, error) // UpdateClusterConf updates the cluster configuration information UpdateClusterConf(ctx context.Context, in *UpdateClusterConfRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // GetCluster gets cluster info for the id of the cluster GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error) // GetClusters get every clusters on the mutlcluster GetClusters(ctx context.Context, in *GetClustersRequest, opts ...grpc.CallOption) (*GetClustersResponse, error) // UpdateClusterStatus update Status of the Cluster UpdateClusterStatus(ctx context.Context, in *UpdateClusterStatusRequest, opts ...grpc.CallOption) (*SimpleResponse, error) }
ClusterInfoServiceClient is the client API for ClusterInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClusterInfoServiceClient ¶
func NewClusterInfoServiceClient(cc grpc.ClientConnInterface) ClusterInfoServiceClient
type ClusterInfoServiceServer ¶
type ClusterInfoServiceServer interface { // AddClusterInfo adds new cluster information AddClusterInfo(context.Context, *AddClusterInfoRequest) (*IDResponse, error) // UpdateClusterConf updates the cluster configuration information UpdateClusterConf(context.Context, *UpdateClusterConfRequest) (*SimpleResponse, error) // GetCluster gets cluster info for the id of the cluster GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error) // GetClusters get every clusters on the mutlcluster GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error) // UpdateClusterStatus update Status of the Cluster UpdateClusterStatus(context.Context, *UpdateClusterStatusRequest) (*SimpleResponse, error) // contains filtered or unexported methods }
ClusterInfoServiceServer is the server API for ClusterInfoService service. All implementations must embed UnimplementedClusterInfoServiceServer for forward compatibility
type ClusterLcmServiceClient ¶
type ClusterLcmServiceClient interface { // CreateCluster creates a Kubernetes cluster and returns cluster id CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*IDResponse, error) // ImportCluster register a Kubernetes cluster and returns cluster id ImportCluster(ctx context.Context, in *ImportClusterRequest, opts ...grpc.CallOption) (*IDResponse, error) // ScaleCluster scales Kubernetes cluster ScaleCluster(ctx context.Context, in *ScaleClusterRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // DeleteCluster deletes Kubernetes cluster DeleteCluster(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // InstallAppGroups installs app groups, returns an array of app group id InstallAppGroups(ctx context.Context, in *InstallAppGroupsRequest, opts ...grpc.CallOption) (*IDsResponse, error) // UninstallAppGroups uninstalls app groups. UninstallAppGroups(ctx context.Context, in *UninstallAppGroupsRequest, opts ...grpc.CallOption) (*IDsResponse, error) }
ClusterLcmServiceClient is the client API for ClusterLcmService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClusterLcmServiceClient ¶
func NewClusterLcmServiceClient(cc grpc.ClientConnInterface) ClusterLcmServiceClient
type ClusterLcmServiceServer ¶
type ClusterLcmServiceServer interface { // CreateCluster creates a Kubernetes cluster and returns cluster id CreateCluster(context.Context, *CreateClusterRequest) (*IDResponse, error) // ImportCluster register a Kubernetes cluster and returns cluster id ImportCluster(context.Context, *ImportClusterRequest) (*IDResponse, error) // ScaleCluster scales Kubernetes cluster ScaleCluster(context.Context, *ScaleClusterRequest) (*SimpleResponse, error) // DeleteCluster deletes Kubernetes cluster DeleteCluster(context.Context, *IDRequest) (*SimpleResponse, error) // InstallAppGroups installs app groups, returns an array of app group id InstallAppGroups(context.Context, *InstallAppGroupsRequest) (*IDsResponse, error) // UninstallAppGroups uninstalls app groups. UninstallAppGroups(context.Context, *UninstallAppGroupsRequest) (*IDsResponse, error) // contains filtered or unexported methods }
ClusterLcmServiceServer is the server API for ClusterLcmService service. All implementations must embed UnimplementedClusterLcmServiceServer for forward compatibility
type ClusterRawConf ¶
type ClusterRawConf struct { // name of user ssh key for ec2 instance connection SshKeyName string `protobuf:"bytes,1,opt,name=ssh_key_name,json=sshKeyName,proto3" json:"ssh_key_name,omitempty"` // region is a AWS region name Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // number of AZ in selected region NumOfAz int32 `protobuf:"varint,3,opt,name=num_of_az,json=numOfAz,proto3" json:"num_of_az,omitempty"` // type of the worker machine MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` // number of replicas for worker machine MachineReplicas int32 `protobuf:"varint,5,opt,name=machine_replicas,json=machineReplicas,proto3" json:"machine_replicas,omitempty"` // contains filtered or unexported fields }
ClusterRawConf represents raw data for K8S cluster configuration.
func (*ClusterRawConf) Descriptor
deprecated
func (*ClusterRawConf) Descriptor() ([]byte, []int)
Deprecated: Use ClusterRawConf.ProtoReflect.Descriptor instead.
func (*ClusterRawConf) GetMachineReplicas ¶
func (x *ClusterRawConf) GetMachineReplicas() int32
func (*ClusterRawConf) GetMachineType ¶
func (x *ClusterRawConf) GetMachineType() string
func (*ClusterRawConf) GetNumOfAz ¶
func (x *ClusterRawConf) GetNumOfAz() int32
func (*ClusterRawConf) GetRegion ¶
func (x *ClusterRawConf) GetRegion() string
func (*ClusterRawConf) GetSshKeyName ¶
func (x *ClusterRawConf) GetSshKeyName() string
func (*ClusterRawConf) ProtoMessage ¶
func (*ClusterRawConf) ProtoMessage()
func (*ClusterRawConf) ProtoReflect ¶
func (x *ClusterRawConf) ProtoReflect() protoreflect.Message
func (*ClusterRawConf) Reset ¶
func (x *ClusterRawConf) Reset()
func (*ClusterRawConf) String ¶
func (x *ClusterRawConf) String() string
type ClusterStatus ¶
type ClusterStatus int32
ClusterStatus represents a status of the cluster
const ( ClusterStatus_UNSPECIFIED ClusterStatus = 0 ClusterStatus_INSTALLING ClusterStatus = 1 ClusterStatus_RUNNING ClusterStatus = 2 ClusterStatus_DELETING ClusterStatus = 4 ClusterStatus_DELETED ClusterStatus = 5 ClusterStatus_ERROR ClusterStatus = 6 )
func (ClusterStatus) Descriptor ¶
func (ClusterStatus) Descriptor() protoreflect.EnumDescriptor
func (ClusterStatus) Enum ¶
func (x ClusterStatus) Enum() *ClusterStatus
func (ClusterStatus) EnumDescriptor
deprecated
func (ClusterStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterStatus.Descriptor instead.
func (ClusterStatus) Number ¶
func (x ClusterStatus) Number() protoreflect.EnumNumber
func (ClusterStatus) String ¶
func (x ClusterStatus) String() string
func (ClusterStatus) Type ¶
func (ClusterStatus) Type() protoreflect.EnumType
type Code ¶
type Code int32
Code is a response code for gRpc request.
const ( Code_OK_UNSPECIFIED Code = 0 Code_CANCELLED Code = 1 Code_UNKNOWN Code = 2 Code_INVALID_ARGUMENT Code = 3 Code_DEADLINE_EXCEEDED Code = 4 Code_NOT_FOUND Code = 5 Code_ALREADY_EXISTS Code = 6 Code_PERMISSION_DENIED Code = 7 Code_UNAUTHENTICATED Code = 16 Code_RESOURCE_EXHAUSTED Code = 8 Code_FAILED_PRECONDITION Code = 9 Code_ABORTED Code = 10 Code_OUT_OF_RANGE Code = 11 Code_UNIMPLEMENTED Code = 12 Code_INTERNAL Code = 13 Code_UNAVAILABLE Code = 14 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type Contract ¶
type Contract struct { // contractor_name is a name of contractor ContractorName string `protobuf:"bytes,1,opt,name=contractor_name,json=contractorName,proto3" json:"contractor_name,omitempty"` // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // quota is a resource quota for cpu, memory, storage and so on. Quota *ContractQuota `protobuf:"bytes,3,opt,name=quota,proto3" json:"quota,omitempty"` // availavle_services is a list of services constomer purchased. AvailableServices []string `protobuf:"bytes,4,rep,name=available_services,json=availableServices,proto3" json:"available_services,omitempty"` // csp_id is a global unique ID created by the info service. CspId string `protobuf:"bytes,5,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // updated_at is a timestamp last updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // created_at is a timestamp created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // creator is a user UID of contract creator Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator,omitempty"` // description is a contract description Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Contract is a contract information.
func (*Contract) Descriptor
deprecated
func (*Contract) GetAvailableServices ¶
func (*Contract) GetContractId ¶
func (*Contract) GetContractorName ¶
func (*Contract) GetCreatedAt ¶
func (x *Contract) GetCreatedAt() *timestamppb.Timestamp
func (*Contract) GetCreator ¶
func (*Contract) GetDescription ¶
func (*Contract) GetQuota ¶
func (x *Contract) GetQuota() *ContractQuota
func (*Contract) GetUpdatedAt ¶
func (x *Contract) GetUpdatedAt() *timestamppb.Timestamp
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶
func (x *Contract) ProtoReflect() protoreflect.Message
type ContractQuota ¶
type ContractQuota struct { // cpu unit(GB) from 10 to 10000 Cpu int64 `protobuf:"zigzag64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` // memory unit(MB) from 40 to 40000 Memory int64 `protobuf:"zigzag64,2,opt,name=memory,proto3" json:"memory,omitempty"` // block storage(MB) from 0 to 256000000 Block int64 `protobuf:"zigzag64,3,opt,name=block,proto3" json:"block,omitempty"` // // block ssd storage(MB) from 0 to 256000000 BlockSsd int64 `protobuf:"zigzag64,4,opt,name=block_ssd,json=blockSsd,proto3" json:"block_ssd,omitempty"` // filesystem (MB) from 0 to 256000000 Fs int64 `protobuf:"zigzag64,5,opt,name=fs,proto3" json:"fs,omitempty"` // SSD filesystem (MB) from 0 to 256000000 FsSsd int64 `protobuf:"zigzag64,6,opt,name=fs_ssd,json=fsSsd,proto3" json:"fs_ssd,omitempty"` // contains filtered or unexported fields }
ContractQuota is a resource quota for total usage in clusters.
func (*ContractQuota) Descriptor
deprecated
func (*ContractQuota) Descriptor() ([]byte, []int)
Deprecated: Use ContractQuota.ProtoReflect.Descriptor instead.
func (*ContractQuota) GetBlock ¶
func (x *ContractQuota) GetBlock() int64
func (*ContractQuota) GetBlockSsd ¶
func (x *ContractQuota) GetBlockSsd() int64
func (*ContractQuota) GetCpu ¶
func (x *ContractQuota) GetCpu() int64
func (*ContractQuota) GetFs ¶
func (x *ContractQuota) GetFs() int64
func (*ContractQuota) GetFsSsd ¶
func (x *ContractQuota) GetFsSsd() int64
func (*ContractQuota) GetMemory ¶
func (x *ContractQuota) GetMemory() int64
func (*ContractQuota) ProtoMessage ¶
func (*ContractQuota) ProtoMessage()
func (*ContractQuota) ProtoReflect ¶
func (x *ContractQuota) ProtoReflect() protoreflect.Message
func (*ContractQuota) Reset ¶
func (x *ContractQuota) Reset()
func (*ContractQuota) String ¶
func (x *ContractQuota) String() string
type ContractServiceClient ¶
type ContractServiceClient interface { // CreateContract creates new contract. CreateContract(ctx context.Context, in *CreateContractRequest, opts ...grpc.CallOption) (*CreateContractResponse, error) // UpdateQuota updates quota of the contract. UpdateQuota(ctx context.Context, in *UpdateQuotaRequest, opts ...grpc.CallOption) (*UpdateQuotaResponse, error) // UpdateServices updates list of available services of the contract. UpdateServices(ctx context.Context, in *UpdateServicesRequest, opts ...grpc.CallOption) (*UpdateServicesResponse, error) // GetContract returns a contract if exists. GetContract(ctx context.Context, in *GetContractRequest, opts ...grpc.CallOption) (*GetContractResponse, error) // GetDefaultContract returns a default contract. GetDefaultContract(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetContractResponse, error) // Getcontracts return a list of contract. GetContracts(ctx context.Context, in *GetContractsRequest, opts ...grpc.CallOption) (*GetContractsResponse, error) // GetQuota returns a quota for the contract. GetQuota(ctx context.Context, in *GetQuotaRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) // GetAvailableServices returns list of available services for the contract. GetAvailableServices(ctx context.Context, in *GetAvailableServicesRequest, opts ...grpc.CallOption) (*GetAvailableServicesResponse, error) }
ContractServiceClient is the client API for ContractService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewContractServiceClient ¶
func NewContractServiceClient(cc grpc.ClientConnInterface) ContractServiceClient
type ContractServiceServer ¶
type ContractServiceServer interface { // CreateContract creates new contract. CreateContract(context.Context, *CreateContractRequest) (*CreateContractResponse, error) // UpdateQuota updates quota of the contract. UpdateQuota(context.Context, *UpdateQuotaRequest) (*UpdateQuotaResponse, error) // UpdateServices updates list of available services of the contract. UpdateServices(context.Context, *UpdateServicesRequest) (*UpdateServicesResponse, error) // GetContract returns a contract if exists. GetContract(context.Context, *GetContractRequest) (*GetContractResponse, error) // GetDefaultContract returns a default contract. GetDefaultContract(context.Context, *emptypb.Empty) (*GetContractResponse, error) // Getcontracts return a list of contract. GetContracts(context.Context, *GetContractsRequest) (*GetContractsResponse, error) // GetQuota returns a quota for the contract. GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error) // GetAvailableServices returns list of available services for the contract. GetAvailableServices(context.Context, *GetAvailableServicesRequest) (*GetAvailableServicesResponse, error) // contains filtered or unexported methods }
ContractServiceServer is the server API for ContractService service. All implementations must embed UnimplementedContractServiceServer for forward compatibility
type CreateAppGroupRequest ¶
type CreateAppGroupRequest struct { // cluster_id is a cluster ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // app_group is an application group AppGroup *AppGroup `protobuf:"bytes,2,opt,name=app_group,json=appGroup,proto3" json:"app_group,omitempty"` // contains filtered or unexported fields }
CreateAppGroupRequest is used to create a new app group.
func (*CreateAppGroupRequest) Descriptor
deprecated
func (*CreateAppGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateAppGroupRequest) GetAppGroup ¶
func (x *CreateAppGroupRequest) GetAppGroup() *AppGroup
func (*CreateAppGroupRequest) GetClusterId ¶
func (x *CreateAppGroupRequest) GetClusterId() string
func (*CreateAppGroupRequest) ProtoMessage ¶
func (*CreateAppGroupRequest) ProtoMessage()
func (*CreateAppGroupRequest) ProtoReflect ¶
func (x *CreateAppGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateAppGroupRequest) Reset ¶
func (x *CreateAppGroupRequest) Reset()
func (*CreateAppGroupRequest) String ¶
func (x *CreateAppGroupRequest) String() string
type CreateAppServeAppRequest ¶
type CreateAppServeAppRequest struct { // ASA to create AppServeApp *AppServeApp `protobuf:"bytes,1,opt,name=app_serve_app,json=appServeApp,proto3" json:"app_serve_app,omitempty"` // ASA task to create AppServeAppTask *AppServeAppTask `protobuf:"bytes,2,opt,name=app_serve_app_task,json=appServeAppTask,proto3" json:"app_serve_app_task,omitempty"` // contains filtered or unexported fields }
CreateAppServeAppRequest is a request used to add an ASA
func (*CreateAppServeAppRequest) Descriptor
deprecated
func (*CreateAppServeAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppServeAppRequest.ProtoReflect.Descriptor instead.
func (*CreateAppServeAppRequest) GetAppServeApp ¶
func (x *CreateAppServeAppRequest) GetAppServeApp() *AppServeApp
func (*CreateAppServeAppRequest) GetAppServeAppTask ¶
func (x *CreateAppServeAppRequest) GetAppServeAppTask() *AppServeAppTask
func (*CreateAppServeAppRequest) ProtoMessage ¶
func (*CreateAppServeAppRequest) ProtoMessage()
func (*CreateAppServeAppRequest) ProtoReflect ¶
func (x *CreateAppServeAppRequest) ProtoReflect() protoreflect.Message
func (*CreateAppServeAppRequest) Reset ¶
func (x *CreateAppServeAppRequest) Reset()
func (*CreateAppServeAppRequest) String ¶
func (x *CreateAppServeAppRequest) String() string
type CreateAppServeAppResponse ¶
type CreateAppServeAppResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // id is ID of ASA just created. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // task_id is ID of ASA task just created. TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
CreateAppServeAppResponse contains ASA ID and related task ID.
func (*CreateAppServeAppResponse) Descriptor
deprecated
func (*CreateAppServeAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppServeAppResponse.ProtoReflect.Descriptor instead.
func (*CreateAppServeAppResponse) GetCode ¶
func (x *CreateAppServeAppResponse) GetCode() Code
func (*CreateAppServeAppResponse) GetError ¶
func (x *CreateAppServeAppResponse) GetError() *Error
func (*CreateAppServeAppResponse) GetId ¶
func (x *CreateAppServeAppResponse) GetId() string
func (*CreateAppServeAppResponse) GetTaskId ¶
func (x *CreateAppServeAppResponse) GetTaskId() string
func (*CreateAppServeAppResponse) ProtoMessage ¶
func (*CreateAppServeAppResponse) ProtoMessage()
func (*CreateAppServeAppResponse) ProtoReflect ¶
func (x *CreateAppServeAppResponse) ProtoReflect() protoreflect.Message
func (*CreateAppServeAppResponse) Reset ¶
func (x *CreateAppServeAppResponse) Reset()
func (*CreateAppServeAppResponse) String ¶
func (x *CreateAppServeAppResponse) String() string
type CreateCSPInfoRequest ¶
type CreateCSPInfoRequest struct { // contract_id is Global Unique MultiCluster ID ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // csp_name is a name for users CspName string `protobuf:"bytes,2,opt,name=csp_name,json=cspName,proto3" json:"csp_name,omitempty"` // auth is an optional. This is an authentication info for IaaS. Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // csp_type is a type of cloud service provider. CspType CspType `protobuf:"varint,4,opt,name=csp_type,json=cspType,proto3,enum=tks_pb.CspType" json:"csp_type,omitempty"` // contains filtered or unexported fields }
CreateCSPInfoRequest is used to create a new CSP Info
func (*CreateCSPInfoRequest) Descriptor
deprecated
func (*CreateCSPInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCSPInfoRequest.ProtoReflect.Descriptor instead.
func (*CreateCSPInfoRequest) GetAuth ¶
func (x *CreateCSPInfoRequest) GetAuth() string
func (*CreateCSPInfoRequest) GetContractId ¶
func (x *CreateCSPInfoRequest) GetContractId() string
func (*CreateCSPInfoRequest) GetCspName ¶
func (x *CreateCSPInfoRequest) GetCspName() string
func (*CreateCSPInfoRequest) GetCspType ¶
func (x *CreateCSPInfoRequest) GetCspType() CspType
func (*CreateCSPInfoRequest) ProtoMessage ¶
func (*CreateCSPInfoRequest) ProtoMessage()
func (*CreateCSPInfoRequest) ProtoReflect ¶
func (x *CreateCSPInfoRequest) ProtoReflect() protoreflect.Message
func (*CreateCSPInfoRequest) Reset ¶
func (x *CreateCSPInfoRequest) Reset()
func (*CreateCSPInfoRequest) String ¶
func (x *CreateCSPInfoRequest) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct { // contract_id is a contract ID. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // csp_id is an ID of CSPInfo. CspId string `protobuf:"bytes,2,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // cluster_name is a cluster name defined by users Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // conf is a cluster configuration Conf *ClusterRawConf `protobuf:"bytes,4,opt,name=conf,proto3" json:"conf,omitempty"` // template_name is a site template name for the cluster TemplateName string `protobuf:"bytes,5,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // creator is a user UID of cluster creator Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` // description is a cluster description Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
CreateClusterRequest is a request to create a Kubernetes cluster
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetConf ¶
func (x *CreateClusterRequest) GetConf() *ClusterRawConf
func (*CreateClusterRequest) GetContractId ¶
func (x *CreateClusterRequest) GetContractId() string
func (*CreateClusterRequest) GetCreator ¶
func (x *CreateClusterRequest) GetCreator() string
func (*CreateClusterRequest) GetCspId ¶
func (x *CreateClusterRequest) GetCspId() string
func (*CreateClusterRequest) GetDescription ¶
func (x *CreateClusterRequest) GetDescription() string
func (*CreateClusterRequest) GetName ¶
func (x *CreateClusterRequest) GetName() string
func (*CreateClusterRequest) GetTemplateName ¶
func (x *CreateClusterRequest) GetTemplateName() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type CreateContractRequest ¶
type CreateContractRequest struct { // contractor_name is a name of contractor ContractorName string `protobuf:"bytes,1,opt,name=contractor_name,json=contractorName,proto3" json:"contractor_name,omitempty"` // quota is a resource quota for this contract Quota *ContractQuota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"` // availavle_services is a list of services constomer purchased. AvailableServices []string `protobuf:"bytes,3,rep,name=available_services,json=availableServices,proto3" json:"available_services,omitempty"` // csp_name is a name of csp for user. CspName string `protobuf:"bytes,4,opt,name=csp_name,json=cspName,proto3" json:"csp_name,omitempty"` // csp_auth is an authentication information for IaaS Provider. CspAuth string `protobuf:"bytes,5,opt,name=csp_auth,json=cspAuth,proto3" json:"csp_auth,omitempty"` // creator is a user UID of contract creator Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` // description is a contract description Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
CreateContractRequest is a request to create new contract to the contract service.
func (*CreateContractRequest) Descriptor
deprecated
func (*CreateContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContractRequest.ProtoReflect.Descriptor instead.
func (*CreateContractRequest) GetAvailableServices ¶
func (x *CreateContractRequest) GetAvailableServices() []string
func (*CreateContractRequest) GetContractorName ¶
func (x *CreateContractRequest) GetContractorName() string
func (*CreateContractRequest) GetCreator ¶
func (x *CreateContractRequest) GetCreator() string
func (*CreateContractRequest) GetCspAuth ¶
func (x *CreateContractRequest) GetCspAuth() string
func (*CreateContractRequest) GetCspName ¶
func (x *CreateContractRequest) GetCspName() string
func (*CreateContractRequest) GetDescription ¶
func (x *CreateContractRequest) GetDescription() string
func (*CreateContractRequest) GetQuota ¶
func (x *CreateContractRequest) GetQuota() *ContractQuota
func (*CreateContractRequest) ProtoMessage ¶
func (*CreateContractRequest) ProtoMessage()
func (*CreateContractRequest) ProtoReflect ¶
func (x *CreateContractRequest) ProtoReflect() protoreflect.Message
func (*CreateContractRequest) Reset ¶
func (x *CreateContractRequest) Reset()
func (*CreateContractRequest) String ¶
func (x *CreateContractRequest) String() string
type CreateContractResponse ¶
type CreateContractResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // csp_id is a global unique ID created by the info service. CspId string `protobuf:"bytes,3,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // contract_id is a global unique ID created by the contract service. ContractId string `protobuf:"bytes,4,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // contains filtered or unexported fields }
CreateContractResponse is a response to the CreateContractRequest request
from the contract service.
func (*CreateContractResponse) Descriptor
deprecated
func (*CreateContractResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContractResponse.ProtoReflect.Descriptor instead.
func (*CreateContractResponse) GetCode ¶
func (x *CreateContractResponse) GetCode() Code
func (*CreateContractResponse) GetContractId ¶
func (x *CreateContractResponse) GetContractId() string
func (*CreateContractResponse) GetCspId ¶
func (x *CreateContractResponse) GetCspId() string
func (*CreateContractResponse) GetError ¶
func (x *CreateContractResponse) GetError() *Error
func (*CreateContractResponse) ProtoMessage ¶
func (*CreateContractResponse) ProtoMessage()
func (*CreateContractResponse) ProtoReflect ¶
func (x *CreateContractResponse) ProtoReflect() protoreflect.Message
func (*CreateContractResponse) Reset ¶
func (x *CreateContractResponse) Reset()
func (*CreateContractResponse) String ¶
func (x *CreateContractResponse) String() string
type CreateKeycloakInfoRequest ¶
type CreateKeycloakInfoRequest struct { // Id for cluster ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Realm Realm string `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"` // Client Id ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Secret Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` // Private key PrivateKey string `protobuf:"bytes,5,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
CreateKeycloakInfoRequest is used to create a new keycloak Info
func (*CreateKeycloakInfoRequest) Descriptor
deprecated
func (*CreateKeycloakInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeycloakInfoRequest.ProtoReflect.Descriptor instead.
func (*CreateKeycloakInfoRequest) GetClientId ¶
func (x *CreateKeycloakInfoRequest) GetClientId() string
func (*CreateKeycloakInfoRequest) GetClusterId ¶
func (x *CreateKeycloakInfoRequest) GetClusterId() string
func (*CreateKeycloakInfoRequest) GetPrivateKey ¶
func (x *CreateKeycloakInfoRequest) GetPrivateKey() string
func (*CreateKeycloakInfoRequest) GetRealm ¶
func (x *CreateKeycloakInfoRequest) GetRealm() string
func (*CreateKeycloakInfoRequest) GetSecret ¶
func (x *CreateKeycloakInfoRequest) GetSecret() string
func (*CreateKeycloakInfoRequest) ProtoMessage ¶
func (*CreateKeycloakInfoRequest) ProtoMessage()
func (*CreateKeycloakInfoRequest) ProtoReflect ¶
func (x *CreateKeycloakInfoRequest) ProtoReflect() protoreflect.Message
func (*CreateKeycloakInfoRequest) Reset ¶
func (x *CreateKeycloakInfoRequest) Reset()
func (*CreateKeycloakInfoRequest) String ¶
func (x *CreateKeycloakInfoRequest) String() string
type CspInfoServiceClient ¶
type CspInfoServiceClient interface { // CreateCSPInfo create new CSP Info for the contract id. CreateCSPInfo(ctx context.Context, in *CreateCSPInfoRequest, opts ...grpc.CallOption) (*IDResponse, error) // GetCSPInfo returns an csp info by csp id. GetCSPInfo(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*GetCSPInfoResponse, error) // GetCSPIDs returns all CSP ids. GetCSPIDs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IDsResponse, error) // GetCSPIDsByContractID returns the CSP ids by the contract id. GetCSPIDsByContractID(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*IDsResponse, error) // UpdateCSPInfo updates an authentication config for CSP. UpdateCSPAuth(ctx context.Context, in *UpdateCSPAuthRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // GetCSPAuth returns an authentication info by csp id. GetCSPAuth(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*GetCSPAuthResponse, error) }
CspInfoServiceClient is the client API for CspInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCspInfoServiceClient ¶
func NewCspInfoServiceClient(cc grpc.ClientConnInterface) CspInfoServiceClient
type CspInfoServiceServer ¶
type CspInfoServiceServer interface { // CreateCSPInfo create new CSP Info for the contract id. CreateCSPInfo(context.Context, *CreateCSPInfoRequest) (*IDResponse, error) // GetCSPInfo returns an csp info by csp id. GetCSPInfo(context.Context, *IDRequest) (*GetCSPInfoResponse, error) // GetCSPIDs returns all CSP ids. GetCSPIDs(context.Context, *emptypb.Empty) (*IDsResponse, error) // GetCSPIDsByContractID returns the CSP ids by the contract id. GetCSPIDsByContractID(context.Context, *IDRequest) (*IDsResponse, error) // UpdateCSPInfo updates an authentication config for CSP. UpdateCSPAuth(context.Context, *UpdateCSPAuthRequest) (*SimpleResponse, error) // GetCSPAuth returns an authentication info by csp id. GetCSPAuth(context.Context, *IDRequest) (*GetCSPAuthResponse, error) // contains filtered or unexported methods }
CspInfoServiceServer is the server API for CspInfoService service. All implementations must embed UnimplementedCspInfoServiceServer for forward compatibility
type CspType ¶
type CspType int32
CspType is types of cloud service provider
func (CspType) Descriptor ¶
func (CspType) Descriptor() protoreflect.EnumDescriptor
func (CspType) EnumDescriptor
deprecated
func (CspType) Number ¶
func (x CspType) Number() protoreflect.EnumNumber
func (CspType) Type ¶
func (CspType) Type() protoreflect.EnumType
type DeleteAppGroupRequest ¶
type DeleteAppGroupRequest struct { // app_group_id is an app group id to delete. AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // contains filtered or unexported fields }
DeleteAppGroupRequest is used to delete app group.
func (*DeleteAppGroupRequest) Descriptor
deprecated
func (*DeleteAppGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteAppGroupRequest) GetAppGroupId ¶
func (x *DeleteAppGroupRequest) GetAppGroupId() string
func (*DeleteAppGroupRequest) ProtoMessage ¶
func (*DeleteAppGroupRequest) ProtoMessage()
func (*DeleteAppGroupRequest) ProtoReflect ¶
func (x *DeleteAppGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteAppGroupRequest) Reset ¶
func (x *DeleteAppGroupRequest) Reset()
func (*DeleteAppGroupRequest) String ¶
func (x *DeleteAppGroupRequest) String() string
type Error ¶
type Error struct { // msg is an error message. Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
Error represents a detailed error for gRPC request.
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type GetAppGroupRequest ¶
type GetAppGroupRequest struct { // app_group_id is an id of the application group AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // contains filtered or unexported fields }
GetAppGroupRequest returns an array of application groups on the cluster
func (*GetAppGroupRequest) Descriptor
deprecated
func (*GetAppGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppGroupRequest.ProtoReflect.Descriptor instead.
func (*GetAppGroupRequest) GetAppGroupId ¶
func (x *GetAppGroupRequest) GetAppGroupId() string
func (*GetAppGroupRequest) ProtoMessage ¶
func (*GetAppGroupRequest) ProtoMessage()
func (*GetAppGroupRequest) ProtoReflect ¶
func (x *GetAppGroupRequest) ProtoReflect() protoreflect.Message
func (*GetAppGroupRequest) Reset ¶
func (x *GetAppGroupRequest) Reset()
func (*GetAppGroupRequest) String ¶
func (x *GetAppGroupRequest) String() string
type GetAppGroupResponse ¶
type GetAppGroupResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // app_group is an application group AppGroup *AppGroup `protobuf:"bytes,3,opt,name=app_group,json=appGroup,proto3" json:"app_group,omitempty"` // contains filtered or unexported fields }
GetAppGroupResponse contains an array of application groups.
func (*GetAppGroupResponse) Descriptor
deprecated
func (*GetAppGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppGroupResponse.ProtoReflect.Descriptor instead.
func (*GetAppGroupResponse) GetAppGroup ¶
func (x *GetAppGroupResponse) GetAppGroup() *AppGroup
func (*GetAppGroupResponse) GetCode ¶
func (x *GetAppGroupResponse) GetCode() Code
func (*GetAppGroupResponse) GetError ¶
func (x *GetAppGroupResponse) GetError() *Error
func (*GetAppGroupResponse) ProtoMessage ¶
func (*GetAppGroupResponse) ProtoMessage()
func (*GetAppGroupResponse) ProtoReflect ¶
func (x *GetAppGroupResponse) ProtoReflect() protoreflect.Message
func (*GetAppGroupResponse) Reset ¶
func (x *GetAppGroupResponse) Reset()
func (*GetAppGroupResponse) String ¶
func (x *GetAppGroupResponse) String() string
type GetAppGroupsRequest ¶
type GetAppGroupsRequest struct { // app_name is a name of the application AppGroupName string `protobuf:"bytes,1,opt,name=app_group_name,json=appGroupName,proto3" json:"app_group_name,omitempty"` // app_type is a type of the application Type AppGroupType `protobuf:"varint,2,opt,name=type,proto3,enum=tks_pb.AppGroupType" json:"type,omitempty"` // contains filtered or unexported fields }
GetAppGroupsRequest is used to get an array of application infos on cluster
func (*GetAppGroupsRequest) Descriptor
deprecated
func (*GetAppGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppGroupsRequest.ProtoReflect.Descriptor instead.
func (*GetAppGroupsRequest) GetAppGroupName ¶
func (x *GetAppGroupsRequest) GetAppGroupName() string
func (*GetAppGroupsRequest) GetType ¶
func (x *GetAppGroupsRequest) GetType() AppGroupType
func (*GetAppGroupsRequest) ProtoMessage ¶
func (*GetAppGroupsRequest) ProtoMessage()
func (*GetAppGroupsRequest) ProtoReflect ¶
func (x *GetAppGroupsRequest) ProtoReflect() protoreflect.Message
func (*GetAppGroupsRequest) Reset ¶
func (x *GetAppGroupsRequest) Reset()
func (*GetAppGroupsRequest) String ¶
func (x *GetAppGroupsRequest) String() string
type GetAppGroupsResponse ¶
type GetAppGroupsResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // app_groups is an array of applications AppGroups []*AppGroup `protobuf:"bytes,3,rep,name=app_groups,json=appGroups,proto3" json:"app_groups,omitempty"` // contains filtered or unexported fields }
GetAppGroupsResponse contains an array of application infos.
func (*GetAppGroupsResponse) Descriptor
deprecated
func (*GetAppGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppGroupsResponse.ProtoReflect.Descriptor instead.
func (*GetAppGroupsResponse) GetAppGroups ¶
func (x *GetAppGroupsResponse) GetAppGroups() []*AppGroup
func (*GetAppGroupsResponse) GetCode ¶
func (x *GetAppGroupsResponse) GetCode() Code
func (*GetAppGroupsResponse) GetError ¶
func (x *GetAppGroupsResponse) GetError() *Error
func (*GetAppGroupsResponse) ProtoMessage ¶
func (*GetAppGroupsResponse) ProtoMessage()
func (*GetAppGroupsResponse) ProtoReflect ¶
func (x *GetAppGroupsResponse) ProtoReflect() protoreflect.Message
func (*GetAppGroupsResponse) Reset ¶
func (x *GetAppGroupsResponse) Reset()
func (*GetAppGroupsResponse) String ¶
func (x *GetAppGroupsResponse) String() string
type GetAppServeAppRequest ¶
type GetAppServeAppRequest struct { // ASA ID to get AppServeAppId string `protobuf:"bytes,1,opt,name=app_serve_app_id,json=appServeAppId,proto3" json:"app_serve_app_id,omitempty"` // contains filtered or unexported fields }
GetAppServeAppRequest is a request used to get an ASA
func (*GetAppServeAppRequest) Descriptor
deprecated
func (*GetAppServeAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppServeAppRequest.ProtoReflect.Descriptor instead.
func (*GetAppServeAppRequest) GetAppServeAppId ¶
func (x *GetAppServeAppRequest) GetAppServeAppId() string
func (*GetAppServeAppRequest) ProtoMessage ¶
func (*GetAppServeAppRequest) ProtoMessage()
func (*GetAppServeAppRequest) ProtoReflect ¶
func (x *GetAppServeAppRequest) ProtoReflect() protoreflect.Message
func (*GetAppServeAppRequest) Reset ¶
func (x *GetAppServeAppRequest) Reset()
func (*GetAppServeAppRequest) String ¶
func (x *GetAppServeAppRequest) String() string
type GetAppServeAppResponse ¶
type GetAppServeAppResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // app_serve_app with all tasks included AppServeAppCombined *AppServeAppCombined `protobuf:"bytes,3,opt,name=app_serve_app_combined,json=appServeAppCombined,proto3" json:"app_serve_app_combined,omitempty"` // contains filtered or unexported fields }
GetAppServeAppResponse is a response that includes ASA info
func (*GetAppServeAppResponse) Descriptor
deprecated
func (*GetAppServeAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppServeAppResponse.ProtoReflect.Descriptor instead.
func (*GetAppServeAppResponse) GetAppServeAppCombined ¶
func (x *GetAppServeAppResponse) GetAppServeAppCombined() *AppServeAppCombined
func (*GetAppServeAppResponse) GetCode ¶
func (x *GetAppServeAppResponse) GetCode() Code
func (*GetAppServeAppResponse) GetError ¶
func (x *GetAppServeAppResponse) GetError() *Error
func (*GetAppServeAppResponse) ProtoMessage ¶
func (*GetAppServeAppResponse) ProtoMessage()
func (*GetAppServeAppResponse) ProtoReflect ¶
func (x *GetAppServeAppResponse) ProtoReflect() protoreflect.Message
func (*GetAppServeAppResponse) Reset ¶
func (x *GetAppServeAppResponse) Reset()
func (*GetAppServeAppResponse) String ¶
func (x *GetAppServeAppResponse) String() string
type GetAppServeAppsRequest ¶
type GetAppServeAppsRequest struct { // Contract ID to which the ASAs belong ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // Contract ID to which the ASAs belong ShowAll bool `protobuf:"varint,2,opt,name=show_all,json=showAll,proto3" json:"show_all,omitempty"` // contains filtered or unexported fields }
GetAppServeAppsRequest is a request used to get ASAs
func (*GetAppServeAppsRequest) Descriptor
deprecated
func (*GetAppServeAppsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppServeAppsRequest.ProtoReflect.Descriptor instead.
func (*GetAppServeAppsRequest) GetContractId ¶
func (x *GetAppServeAppsRequest) GetContractId() string
func (*GetAppServeAppsRequest) GetShowAll ¶
func (x *GetAppServeAppsRequest) GetShowAll() bool
func (*GetAppServeAppsRequest) ProtoMessage ¶
func (*GetAppServeAppsRequest) ProtoMessage()
func (*GetAppServeAppsRequest) ProtoReflect ¶
func (x *GetAppServeAppsRequest) ProtoReflect() protoreflect.Message
func (*GetAppServeAppsRequest) Reset ¶
func (x *GetAppServeAppsRequest) Reset()
func (*GetAppServeAppsRequest) String ¶
func (x *GetAppServeAppsRequest) String() string
type GetAppServeAppsResponse ¶
type GetAppServeAppsResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // appServeApps is list of ASA infos AppServeApps []*AppServeApp `protobuf:"bytes,3,rep,name=app_serve_apps,json=appServeApps,proto3" json:"app_serve_apps,omitempty"` // contains filtered or unexported fields }
GetAppServeAppsResponse is a response that includes ASA infos
func (*GetAppServeAppsResponse) Descriptor
deprecated
func (*GetAppServeAppsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppServeAppsResponse.ProtoReflect.Descriptor instead.
func (*GetAppServeAppsResponse) GetAppServeApps ¶
func (x *GetAppServeAppsResponse) GetAppServeApps() []*AppServeApp
func (*GetAppServeAppsResponse) GetCode ¶
func (x *GetAppServeAppsResponse) GetCode() Code
func (*GetAppServeAppsResponse) GetError ¶
func (x *GetAppServeAppsResponse) GetError() *Error
func (*GetAppServeAppsResponse) ProtoMessage ¶
func (*GetAppServeAppsResponse) ProtoMessage()
func (*GetAppServeAppsResponse) ProtoReflect ¶
func (x *GetAppServeAppsResponse) ProtoReflect() protoreflect.Message
func (*GetAppServeAppsResponse) Reset ¶
func (x *GetAppServeAppsResponse) Reset()
func (*GetAppServeAppsResponse) String ¶
func (x *GetAppServeAppsResponse) String() string
type GetAppsRequest ¶
type GetAppsRequest struct { // app_group_id is a name of the application AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // app_type is a type of the application Type AppType `protobuf:"varint,2,opt,name=type,proto3,enum=tks_pb.AppType" json:"type,omitempty"` // contains filtered or unexported fields }
GetAppsRequest returns an array of applications
func (*GetAppsRequest) Descriptor
deprecated
func (*GetAppsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppsRequest.ProtoReflect.Descriptor instead.
func (*GetAppsRequest) GetAppGroupId ¶
func (x *GetAppsRequest) GetAppGroupId() string
func (*GetAppsRequest) GetType ¶
func (x *GetAppsRequest) GetType() AppType
func (*GetAppsRequest) ProtoMessage ¶
func (*GetAppsRequest) ProtoMessage()
func (*GetAppsRequest) ProtoReflect ¶
func (x *GetAppsRequest) ProtoReflect() protoreflect.Message
func (*GetAppsRequest) Reset ¶
func (x *GetAppsRequest) Reset()
func (*GetAppsRequest) String ¶
func (x *GetAppsRequest) String() string
type GetAppsResponse ¶
type GetAppsResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // app_groups is an array of applications Apps []*Application `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"` // contains filtered or unexported fields }
GetAppsResponse returns an array of applications.
func (*GetAppsResponse) Descriptor
deprecated
func (*GetAppsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAppsResponse.ProtoReflect.Descriptor instead.
func (*GetAppsResponse) GetApps ¶
func (x *GetAppsResponse) GetApps() []*Application
func (*GetAppsResponse) GetCode ¶
func (x *GetAppsResponse) GetCode() Code
func (*GetAppsResponse) GetError ¶
func (x *GetAppsResponse) GetError() *Error
func (*GetAppsResponse) ProtoMessage ¶
func (*GetAppsResponse) ProtoMessage()
func (*GetAppsResponse) ProtoReflect ¶
func (x *GetAppsResponse) ProtoReflect() protoreflect.Message
func (*GetAppsResponse) Reset ¶
func (x *GetAppsResponse) Reset()
func (*GetAppsResponse) String ¶
func (x *GetAppsResponse) String() string
type GetAvailableServicesRequest ¶
type GetAvailableServicesRequest struct { // contract_id is a global unique ID created by the contract service. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // contains filtered or unexported fields }
GetAvailableServicesRequest is a request to get available service list
for the specific contract.
func (*GetAvailableServicesRequest) Descriptor
deprecated
func (*GetAvailableServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableServicesRequest.ProtoReflect.Descriptor instead.
func (*GetAvailableServicesRequest) GetContractId ¶
func (x *GetAvailableServicesRequest) GetContractId() string
func (*GetAvailableServicesRequest) ProtoMessage ¶
func (*GetAvailableServicesRequest) ProtoMessage()
func (*GetAvailableServicesRequest) ProtoReflect ¶
func (x *GetAvailableServicesRequest) ProtoReflect() protoreflect.Message
func (*GetAvailableServicesRequest) Reset ¶
func (x *GetAvailableServicesRequest) Reset()
func (*GetAvailableServicesRequest) String ¶
func (x *GetAvailableServicesRequest) String() string
type GetAvailableServicesResponse ¶
type GetAvailableServicesResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // availavle_services is a list of services constomer purchased. AvaiableServiceApps []string `protobuf:"bytes,3,rep,name=avaiable_service_apps,json=avaiableServiceApps,proto3" json:"avaiable_service_apps,omitempty"` // contains filtered or unexported fields }
GetAvailableServicesResponse is a response to the GetAvailableServicesRequest
from the contract service.
func (*GetAvailableServicesResponse) Descriptor
deprecated
func (*GetAvailableServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableServicesResponse.ProtoReflect.Descriptor instead.
func (*GetAvailableServicesResponse) GetAvaiableServiceApps ¶
func (x *GetAvailableServicesResponse) GetAvaiableServiceApps() []string
func (*GetAvailableServicesResponse) GetCode ¶
func (x *GetAvailableServicesResponse) GetCode() Code
func (*GetAvailableServicesResponse) GetError ¶
func (x *GetAvailableServicesResponse) GetError() *Error
func (*GetAvailableServicesResponse) ProtoMessage ¶
func (*GetAvailableServicesResponse) ProtoMessage()
func (*GetAvailableServicesResponse) ProtoReflect ¶
func (x *GetAvailableServicesResponse) ProtoReflect() protoreflect.Message
func (*GetAvailableServicesResponse) Reset ¶
func (x *GetAvailableServicesResponse) Reset()
func (*GetAvailableServicesResponse) String ¶
func (x *GetAvailableServicesResponse) String() string
type GetCSPAuthResponse ¶
type GetCSPAuthResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // auth is an authentication info stiringified in JSON. Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
GetCSPAuthResponse is used to get an authentication information by
csp id.
func (*GetCSPAuthResponse) Descriptor
deprecated
func (*GetCSPAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCSPAuthResponse.ProtoReflect.Descriptor instead.
func (*GetCSPAuthResponse) GetAuth ¶
func (x *GetCSPAuthResponse) GetAuth() string
func (*GetCSPAuthResponse) GetCode ¶
func (x *GetCSPAuthResponse) GetCode() Code
func (*GetCSPAuthResponse) GetError ¶
func (x *GetCSPAuthResponse) GetError() *Error
func (*GetCSPAuthResponse) ProtoMessage ¶
func (*GetCSPAuthResponse) ProtoMessage()
func (*GetCSPAuthResponse) ProtoReflect ¶
func (x *GetCSPAuthResponse) ProtoReflect() protoreflect.Message
func (*GetCSPAuthResponse) Reset ¶
func (x *GetCSPAuthResponse) Reset()
func (*GetCSPAuthResponse) String ¶
func (x *GetCSPAuthResponse) String() string
type GetCSPInfoResponse ¶
type GetCSPInfoResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contract_id is a contract ID. ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // csp_name is a name for users CspName string `protobuf:"bytes,4,opt,name=csp_name,json=cspName,proto3" json:"csp_name,omitempty"` // auth is an optional. This is an authentication info for IaaS. Auth string `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"` // csp_type is a type of cloud service provider. CspType CspType `protobuf:"varint,6,opt,name=csp_type,json=cspType,proto3,enum=tks_pb.CspType" json:"csp_type,omitempty"` // contains filtered or unexported fields }
GetCSPInfoResponse is used to get info of csp
func (*GetCSPInfoResponse) Descriptor
deprecated
func (*GetCSPInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCSPInfoResponse.ProtoReflect.Descriptor instead.
func (*GetCSPInfoResponse) GetAuth ¶
func (x *GetCSPInfoResponse) GetAuth() string
func (*GetCSPInfoResponse) GetCode ¶
func (x *GetCSPInfoResponse) GetCode() Code
func (*GetCSPInfoResponse) GetContractId ¶
func (x *GetCSPInfoResponse) GetContractId() string
func (*GetCSPInfoResponse) GetCspName ¶
func (x *GetCSPInfoResponse) GetCspName() string
func (*GetCSPInfoResponse) GetCspType ¶
func (x *GetCSPInfoResponse) GetCspType() CspType
func (*GetCSPInfoResponse) GetError ¶
func (x *GetCSPInfoResponse) GetError() *Error
func (*GetCSPInfoResponse) ProtoMessage ¶
func (*GetCSPInfoResponse) ProtoMessage()
func (*GetCSPInfoResponse) ProtoReflect ¶
func (x *GetCSPInfoResponse) ProtoReflect() protoreflect.Message
func (*GetCSPInfoResponse) Reset ¶
func (x *GetCSPInfoResponse) Reset()
func (*GetCSPInfoResponse) String ¶
func (x *GetCSPInfoResponse) String() string
type GetClusterRequest ¶
type GetClusterRequest struct { // cluster_id is a cluster ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
GetClusterRequest is used to get info of MultiCluster to correspond with id
func (*GetClusterRequest) Descriptor
deprecated
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetClusterId ¶
func (x *GetClusterRequest) GetClusterId() string
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect ¶
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset ¶
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (x *GetClusterRequest) String() string
type GetClusterResponse ¶
type GetClusterResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // cluster is info for the cluster Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
GetClusterResponse contains a cluster info.
func (*GetClusterResponse) Descriptor
deprecated
func (*GetClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterResponse.ProtoReflect.Descriptor instead.
func (*GetClusterResponse) GetCluster ¶
func (x *GetClusterResponse) GetCluster() *Cluster
func (*GetClusterResponse) GetCode ¶
func (x *GetClusterResponse) GetCode() Code
func (*GetClusterResponse) GetError ¶
func (x *GetClusterResponse) GetError() *Error
func (*GetClusterResponse) ProtoMessage ¶
func (*GetClusterResponse) ProtoMessage()
func (*GetClusterResponse) ProtoReflect ¶
func (x *GetClusterResponse) ProtoReflect() protoreflect.Message
func (*GetClusterResponse) Reset ¶
func (x *GetClusterResponse) Reset()
func (*GetClusterResponse) String ¶
func (x *GetClusterResponse) String() string
type GetClustersRequest ¶
type GetClustersRequest struct { // csp_id is a Global Unique ID CspId string `protobuf:"bytes,1,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // Unique contract ID ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // contains filtered or unexported fields }
GetClustersRequest returns a list of clusters in specific CSP.
func (*GetClustersRequest) Descriptor
deprecated
func (*GetClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClustersRequest.ProtoReflect.Descriptor instead.
func (*GetClustersRequest) GetContractId ¶
func (x *GetClustersRequest) GetContractId() string
func (*GetClustersRequest) GetCspId ¶
func (x *GetClustersRequest) GetCspId() string
func (*GetClustersRequest) ProtoMessage ¶
func (*GetClustersRequest) ProtoMessage()
func (*GetClustersRequest) ProtoReflect ¶
func (x *GetClustersRequest) ProtoReflect() protoreflect.Message
func (*GetClustersRequest) Reset ¶
func (x *GetClustersRequest) Reset()
func (*GetClustersRequest) String ¶
func (x *GetClustersRequest) String() string
type GetClustersResponse ¶
type GetClustersResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // cluster is info. for the cluster Clusters []*Cluster `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
GetClustersResponse contains an array of cluster infos.
func (*GetClustersResponse) Descriptor
deprecated
func (*GetClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClustersResponse.ProtoReflect.Descriptor instead.
func (*GetClustersResponse) GetClusters ¶
func (x *GetClustersResponse) GetClusters() []*Cluster
func (*GetClustersResponse) GetCode ¶
func (x *GetClustersResponse) GetCode() Code
func (*GetClustersResponse) GetError ¶
func (x *GetClustersResponse) GetError() *Error
func (*GetClustersResponse) ProtoMessage ¶
func (*GetClustersResponse) ProtoMessage()
func (*GetClustersResponse) ProtoReflect ¶
func (x *GetClustersResponse) ProtoReflect() protoreflect.Message
func (*GetClustersResponse) Reset ¶
func (x *GetClustersResponse) Reset()
func (*GetClustersResponse) String ¶
func (x *GetClustersResponse) String() string
type GetContractRequest ¶
type GetContractRequest struct { // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // contains filtered or unexported fields }
GetContractRequest is a request to inquire contract to the contract service.
func (*GetContractRequest) Descriptor
deprecated
func (*GetContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContractRequest.ProtoReflect.Descriptor instead.
func (*GetContractRequest) GetContractId ¶
func (x *GetContractRequest) GetContractId() string
func (*GetContractRequest) ProtoMessage ¶
func (*GetContractRequest) ProtoMessage()
func (*GetContractRequest) ProtoReflect ¶
func (x *GetContractRequest) ProtoReflect() protoreflect.Message
func (*GetContractRequest) Reset ¶
func (x *GetContractRequest) Reset()
func (*GetContractRequest) String ¶
func (x *GetContractRequest) String() string
type GetContractResponse ¶
type GetContractResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contract is a contract information. Contract *Contract `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` // contains filtered or unexported fields }
GetContractResponse is a response to the GetContractRequest
from the contract service.
func (*GetContractResponse) Descriptor
deprecated
func (*GetContractResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContractResponse.ProtoReflect.Descriptor instead.
func (*GetContractResponse) GetCode ¶
func (x *GetContractResponse) GetCode() Code
func (*GetContractResponse) GetContract ¶
func (x *GetContractResponse) GetContract() *Contract
func (*GetContractResponse) GetError ¶
func (x *GetContractResponse) GetError() *Error
func (*GetContractResponse) ProtoMessage ¶
func (*GetContractResponse) ProtoMessage()
func (*GetContractResponse) ProtoReflect ¶
func (x *GetContractResponse) ProtoReflect() protoreflect.Message
func (*GetContractResponse) Reset ¶
func (x *GetContractResponse) Reset()
func (*GetContractResponse) String ¶
func (x *GetContractResponse) String() string
type GetContractsRequest ¶
type GetContractsRequest struct {
// contains filtered or unexported fields
}
GetContractsRequest is a request to inquire all contracts
to the contract service.
func (*GetContractsRequest) Descriptor
deprecated
func (*GetContractsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContractsRequest.ProtoReflect.Descriptor instead.
func (*GetContractsRequest) ProtoMessage ¶
func (*GetContractsRequest) ProtoMessage()
func (*GetContractsRequest) ProtoReflect ¶
func (x *GetContractsRequest) ProtoReflect() protoreflect.Message
func (*GetContractsRequest) Reset ¶
func (x *GetContractsRequest) Reset()
func (*GetContractsRequest) String ¶
func (x *GetContractsRequest) String() string
type GetContractsResponse ¶
type GetContractsResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contracts is a list of contracts. Contracts []*Contract `protobuf:"bytes,3,rep,name=contracts,proto3" json:"contracts,omitempty"` // contains filtered or unexported fields }
GetContractsResponse is a response to the GetContractsRequest
from the contract service.
func (*GetContractsResponse) Descriptor
deprecated
func (*GetContractsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContractsResponse.ProtoReflect.Descriptor instead.
func (*GetContractsResponse) GetCode ¶
func (x *GetContractsResponse) GetCode() Code
func (*GetContractsResponse) GetContracts ¶
func (x *GetContractsResponse) GetContracts() []*Contract
func (*GetContractsResponse) GetError ¶
func (x *GetContractsResponse) GetError() *Error
func (*GetContractsResponse) ProtoMessage ¶
func (*GetContractsResponse) ProtoMessage()
func (*GetContractsResponse) ProtoReflect ¶
func (x *GetContractsResponse) ProtoReflect() protoreflect.Message
func (*GetContractsResponse) Reset ¶
func (x *GetContractsResponse) Reset()
func (*GetContractsResponse) String ¶
func (x *GetContractsResponse) String() string
type GetKeycloakInfoResponse ¶
type GetKeycloakInfoResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // orror is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // keycloakInfos is a detailed keycloak info. KeycloakInfos []*KeycloakInfo `protobuf:"bytes,3,rep,name=keycloak_infos,json=keycloakInfos,proto3" json:"keycloak_infos,omitempty"` // contains filtered or unexported fields }
GetKeycloakInfoResponse returns an array of keycloak infos
func (*GetKeycloakInfoResponse) Descriptor
deprecated
func (*GetKeycloakInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeycloakInfoResponse.ProtoReflect.Descriptor instead.
func (*GetKeycloakInfoResponse) GetCode ¶
func (x *GetKeycloakInfoResponse) GetCode() Code
func (*GetKeycloakInfoResponse) GetError ¶
func (x *GetKeycloakInfoResponse) GetError() *Error
func (*GetKeycloakInfoResponse) GetKeycloakInfos ¶
func (x *GetKeycloakInfoResponse) GetKeycloakInfos() []*KeycloakInfo
func (*GetKeycloakInfoResponse) ProtoMessage ¶
func (*GetKeycloakInfoResponse) ProtoMessage()
func (*GetKeycloakInfoResponse) ProtoReflect ¶
func (x *GetKeycloakInfoResponse) ProtoReflect() protoreflect.Message
func (*GetKeycloakInfoResponse) Reset ¶
func (x *GetKeycloakInfoResponse) Reset()
func (*GetKeycloakInfoResponse) String ¶
func (x *GetKeycloakInfoResponse) String() string
type GetQuotaRequest ¶
type GetQuotaRequest struct { // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // contains filtered or unexported fields }
GetQuotaRequest is a request to inquire quota information
of the specific contract.
func (*GetQuotaRequest) Descriptor
deprecated
func (*GetQuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaRequest.ProtoReflect.Descriptor instead.
func (*GetQuotaRequest) GetContractId ¶
func (x *GetQuotaRequest) GetContractId() string
func (*GetQuotaRequest) ProtoMessage ¶
func (*GetQuotaRequest) ProtoMessage()
func (*GetQuotaRequest) ProtoReflect ¶
func (x *GetQuotaRequest) ProtoReflect() protoreflect.Message
func (*GetQuotaRequest) Reset ¶
func (x *GetQuotaRequest) Reset()
func (*GetQuotaRequest) String ¶
func (x *GetQuotaRequest) String() string
type GetQuotaResponse ¶
type GetQuotaResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // quota is a resource quota for cpu, memory, storage and so on. Quota *ContractQuota `protobuf:"bytes,3,opt,name=quota,proto3" json:"quota,omitempty"` // contains filtered or unexported fields }
GetQuotaResponse is a response to the GetQuotaRequest
from the contract service.
func (*GetQuotaResponse) Descriptor
deprecated
func (*GetQuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaResponse.ProtoReflect.Descriptor instead.
func (*GetQuotaResponse) GetCode ¶
func (x *GetQuotaResponse) GetCode() Code
func (*GetQuotaResponse) GetError ¶
func (x *GetQuotaResponse) GetError() *Error
func (*GetQuotaResponse) GetQuota ¶
func (x *GetQuotaResponse) GetQuota() *ContractQuota
func (*GetQuotaResponse) ProtoMessage ¶
func (*GetQuotaResponse) ProtoMessage()
func (*GetQuotaResponse) ProtoReflect ¶
func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message
func (*GetQuotaResponse) Reset ¶
func (x *GetQuotaResponse) Reset()
func (*GetQuotaResponse) String ¶
func (x *GetQuotaResponse) String() string
type IDRequest ¶
type IDRequest struct { // id is a id to ask Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
IDRequest is a request with a id
func (*IDRequest) Descriptor
deprecated
func (*IDRequest) ProtoMessage ¶
func (*IDRequest) ProtoMessage()
func (*IDRequest) ProtoReflect ¶
func (x *IDRequest) ProtoReflect() protoreflect.Message
type IDResponse ¶
type IDResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // id is a id Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
IDResponse returns a id
func (*IDResponse) Descriptor
deprecated
func (*IDResponse) Descriptor() ([]byte, []int)
Deprecated: Use IDResponse.ProtoReflect.Descriptor instead.
func (*IDResponse) GetCode ¶
func (x *IDResponse) GetCode() Code
func (*IDResponse) GetError ¶
func (x *IDResponse) GetError() *Error
func (*IDResponse) GetId ¶
func (x *IDResponse) GetId() string
func (*IDResponse) ProtoMessage ¶
func (*IDResponse) ProtoMessage()
func (*IDResponse) ProtoReflect ¶
func (x *IDResponse) ProtoReflect() protoreflect.Message
func (*IDResponse) Reset ¶
func (x *IDResponse) Reset()
func (*IDResponse) String ¶
func (x *IDResponse) String() string
type IDsResponse ¶
type IDsResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // ids is a array of ids Ids []string `protobuf:"bytes,3,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
IDsResponse returns arry of ids
func (*IDsResponse) Descriptor
deprecated
func (*IDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IDsResponse.ProtoReflect.Descriptor instead.
func (*IDsResponse) GetCode ¶
func (x *IDsResponse) GetCode() Code
func (*IDsResponse) GetError ¶
func (x *IDsResponse) GetError() *Error
func (*IDsResponse) GetIds ¶
func (x *IDsResponse) GetIds() []string
func (*IDsResponse) ProtoMessage ¶
func (*IDsResponse) ProtoMessage()
func (*IDsResponse) ProtoReflect ¶
func (x *IDsResponse) ProtoReflect() protoreflect.Message
func (*IDsResponse) Reset ¶
func (x *IDsResponse) Reset()
func (*IDsResponse) String ¶
func (x *IDsResponse) String() string
type ImportClusterRequest ¶
type ImportClusterRequest struct { // contract_id is a contract ID. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // cluster_name is a cluster name defined by users Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description is a cluster description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // kubeconfig of the cluster Kubeconfig []byte `protobuf:"bytes,4,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` // template_name is a site template name for the cluster TemplateName string `protobuf:"bytes,5,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // creator is a user UID of cluster creator Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
ImportClusterRequest is a request to import a Kubernetes cluster
func (*ImportClusterRequest) Descriptor
deprecated
func (*ImportClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportClusterRequest.ProtoReflect.Descriptor instead.
func (*ImportClusterRequest) GetContractId ¶
func (x *ImportClusterRequest) GetContractId() string
func (*ImportClusterRequest) GetCreator ¶
func (x *ImportClusterRequest) GetCreator() string
func (*ImportClusterRequest) GetDescription ¶
func (x *ImportClusterRequest) GetDescription() string
func (*ImportClusterRequest) GetKubeconfig ¶
func (x *ImportClusterRequest) GetKubeconfig() []byte
func (*ImportClusterRequest) GetName ¶
func (x *ImportClusterRequest) GetName() string
func (*ImportClusterRequest) GetTemplateName ¶
func (x *ImportClusterRequest) GetTemplateName() string
func (*ImportClusterRequest) ProtoMessage ¶
func (*ImportClusterRequest) ProtoMessage()
func (*ImportClusterRequest) ProtoReflect ¶
func (x *ImportClusterRequest) ProtoReflect() protoreflect.Message
func (*ImportClusterRequest) Reset ¶
func (x *ImportClusterRequest) Reset()
func (*ImportClusterRequest) String ¶
func (x *ImportClusterRequest) String() string
type InstallAppGroupsRequest ¶
type InstallAppGroupsRequest struct { // apps are applications to install into target cluster. AppGroups []*AppGroup `protobuf:"bytes,1,rep,name=app_groups,json=appGroups,proto3" json:"app_groups,omitempty"` // contains filtered or unexported fields }
InstallAppGroupsRequest requests to install application groups on cluster
func (*InstallAppGroupsRequest) Descriptor
deprecated
func (*InstallAppGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallAppGroupsRequest.ProtoReflect.Descriptor instead.
func (*InstallAppGroupsRequest) GetAppGroups ¶
func (x *InstallAppGroupsRequest) GetAppGroups() []*AppGroup
func (*InstallAppGroupsRequest) ProtoMessage ¶
func (*InstallAppGroupsRequest) ProtoMessage()
func (*InstallAppGroupsRequest) ProtoReflect ¶
func (x *InstallAppGroupsRequest) ProtoReflect() protoreflect.Message
func (*InstallAppGroupsRequest) Reset ¶
func (x *InstallAppGroupsRequest) Reset()
func (*InstallAppGroupsRequest) String ¶
func (x *InstallAppGroupsRequest) String() string
type KeycloakInfo ¶
type KeycloakInfo struct { // Id for cluster ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Realm Realm string `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"` // Client Id ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Secret key Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` // Private key PrivateKey string `protobuf:"bytes,5,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
KeycloakInfo represents a keycloak info.
func (*KeycloakInfo) Descriptor
deprecated
func (*KeycloakInfo) Descriptor() ([]byte, []int)
Deprecated: Use KeycloakInfo.ProtoReflect.Descriptor instead.
func (*KeycloakInfo) GetClientId ¶
func (x *KeycloakInfo) GetClientId() string
func (*KeycloakInfo) GetClusterId ¶
func (x *KeycloakInfo) GetClusterId() string
func (*KeycloakInfo) GetPrivateKey ¶
func (x *KeycloakInfo) GetPrivateKey() string
func (*KeycloakInfo) GetRealm ¶
func (x *KeycloakInfo) GetRealm() string
func (*KeycloakInfo) GetSecret ¶
func (x *KeycloakInfo) GetSecret() string
func (*KeycloakInfo) ProtoMessage ¶
func (*KeycloakInfo) ProtoMessage()
func (*KeycloakInfo) ProtoReflect ¶
func (x *KeycloakInfo) ProtoReflect() protoreflect.Message
func (*KeycloakInfo) Reset ¶
func (x *KeycloakInfo) Reset()
func (*KeycloakInfo) String ¶
func (x *KeycloakInfo) String() string
type KeycloakInfoServiceClient ¶
type KeycloakInfoServiceClient interface { // CreateKeycloakInfo creates a new keycloak info. CreateKeycloakInfo(ctx context.Context, in *CreateKeycloakInfoRequest, opts ...grpc.CallOption) (*IDResponse, error) // GetKeycloakInfoByClusterId gets an array of keycloak infos By the clusterID GetKeycloakInfoByClusterId(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*GetKeycloakInfoResponse, error) // UpdateKeycloakInfo updates a status of an keycloak info UpdateKeycloakInfo(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*SimpleResponse, error) // DeleteKeycloakInfo deletes an keycloak info. DeleteKeycloakInfo(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*SimpleResponse, error) }
KeycloakInfoServiceClient is the client API for KeycloakInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKeycloakInfoServiceClient ¶
func NewKeycloakInfoServiceClient(cc grpc.ClientConnInterface) KeycloakInfoServiceClient
type KeycloakInfoServiceServer ¶
type KeycloakInfoServiceServer interface { // CreateKeycloakInfo creates a new keycloak info. CreateKeycloakInfo(context.Context, *CreateKeycloakInfoRequest) (*IDResponse, error) // GetKeycloakInfoByClusterId gets an array of keycloak infos By the clusterID GetKeycloakInfoByClusterId(context.Context, *IDRequest) (*GetKeycloakInfoResponse, error) // UpdateKeycloakInfo updates a status of an keycloak info UpdateKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error) // DeleteKeycloakInfo deletes an keycloak info. DeleteKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error) // contains filtered or unexported methods }
KeycloakInfoServiceServer is the server API for KeycloakInfoService service. All implementations must embed UnimplementedKeycloakInfoServiceServer for forward compatibility
type ScaleClusterRequest ¶
type ScaleClusterRequest struct { // cluster_id is Global Unique ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // master_replicas is the number of master node MasterReplicas int32 `protobuf:"varint,2,opt,name=master_replicas,json=masterReplicas,proto3" json:"master_replicas,omitempty"` // worker_replicas is the number of worker node WorkerReplicas int32 `protobuf:"varint,3,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` // contains filtered or unexported fields }
ScaleClusterRequest is a request to scale the number of nodes on the cluster
func (*ScaleClusterRequest) Descriptor
deprecated
func (*ScaleClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScaleClusterRequest.ProtoReflect.Descriptor instead.
func (*ScaleClusterRequest) GetClusterId ¶
func (x *ScaleClusterRequest) GetClusterId() string
func (*ScaleClusterRequest) GetMasterReplicas ¶
func (x *ScaleClusterRequest) GetMasterReplicas() int32
func (*ScaleClusterRequest) GetWorkerReplicas ¶
func (x *ScaleClusterRequest) GetWorkerReplicas() int32
func (*ScaleClusterRequest) ProtoMessage ¶
func (*ScaleClusterRequest) ProtoMessage()
func (*ScaleClusterRequest) ProtoReflect ¶
func (x *ScaleClusterRequest) ProtoReflect() protoreflect.Message
func (*ScaleClusterRequest) Reset ¶
func (x *ScaleClusterRequest) Reset()
func (*ScaleClusterRequest) String ¶
func (x *ScaleClusterRequest) String() string
type SimpleResponse ¶
type SimpleResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
SimpleResponse returns a result for the request (the simplest return type)
func (*SimpleResponse) Descriptor
deprecated
func (*SimpleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SimpleResponse.ProtoReflect.Descriptor instead.
func (*SimpleResponse) GetCode ¶
func (x *SimpleResponse) GetCode() Code
func (*SimpleResponse) GetError ¶
func (x *SimpleResponse) GetError() *Error
func (*SimpleResponse) ProtoMessage ¶
func (*SimpleResponse) ProtoMessage()
func (*SimpleResponse) ProtoReflect ¶
func (x *SimpleResponse) ProtoReflect() protoreflect.Message
func (*SimpleResponse) Reset ¶
func (x *SimpleResponse) Reset()
func (*SimpleResponse) String ¶
func (x *SimpleResponse) String() string
type UnimplementedAppInfoServiceServer ¶
type UnimplementedAppInfoServiceServer struct { }
UnimplementedAppInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAppInfoServiceServer) CreateAppGroup ¶
func (UnimplementedAppInfoServiceServer) CreateAppGroup(context.Context, *CreateAppGroupRequest) (*IDResponse, error)
func (UnimplementedAppInfoServiceServer) DeleteAppGroup ¶
func (UnimplementedAppInfoServiceServer) DeleteAppGroup(context.Context, *DeleteAppGroupRequest) (*SimpleResponse, error)
func (UnimplementedAppInfoServiceServer) GetAppGroup ¶
func (UnimplementedAppInfoServiceServer) GetAppGroup(context.Context, *GetAppGroupRequest) (*GetAppGroupResponse, error)
func (UnimplementedAppInfoServiceServer) GetAppGroups ¶
func (UnimplementedAppInfoServiceServer) GetAppGroups(context.Context, *GetAppGroupsRequest) (*GetAppGroupsResponse, error)
func (UnimplementedAppInfoServiceServer) GetAppGroupsByClusterID ¶
func (UnimplementedAppInfoServiceServer) GetAppGroupsByClusterID(context.Context, *IDRequest) (*GetAppGroupsResponse, error)
func (UnimplementedAppInfoServiceServer) GetApps ¶
func (UnimplementedAppInfoServiceServer) GetApps(context.Context, *GetAppsRequest) (*GetAppsResponse, error)
func (UnimplementedAppInfoServiceServer) GetAppsByAppGroupID ¶
func (UnimplementedAppInfoServiceServer) GetAppsByAppGroupID(context.Context, *IDRequest) (*GetAppsResponse, error)
func (UnimplementedAppInfoServiceServer) UpdateApp ¶
func (UnimplementedAppInfoServiceServer) UpdateApp(context.Context, *UpdateAppRequest) (*SimpleResponse, error)
func (UnimplementedAppInfoServiceServer) UpdateAppGroupStatus ¶
func (UnimplementedAppInfoServiceServer) UpdateAppGroupStatus(context.Context, *UpdateAppGroupStatusRequest) (*SimpleResponse, error)
type UnimplementedAppServeAppServiceServer ¶
type UnimplementedAppServeAppServiceServer struct { }
UnimplementedAppServeAppServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAppServeAppServiceServer) CreateAppServeApp ¶
func (UnimplementedAppServeAppServiceServer) CreateAppServeApp(context.Context, *CreateAppServeAppRequest) (*CreateAppServeAppResponse, error)
func (UnimplementedAppServeAppServiceServer) GetAppServeApp ¶
func (UnimplementedAppServeAppServiceServer) GetAppServeApp(context.Context, *GetAppServeAppRequest) (*GetAppServeAppResponse, error)
func (UnimplementedAppServeAppServiceServer) GetAppServeApps ¶
func (UnimplementedAppServeAppServiceServer) GetAppServeApps(context.Context, *GetAppServeAppsRequest) (*GetAppServeAppsResponse, error)
func (UnimplementedAppServeAppServiceServer) UpdateAppServeApp ¶
func (UnimplementedAppServeAppServiceServer) UpdateAppServeApp(context.Context, *UpdateAppServeAppRequest) (*UpdateAppServeAppResponse, error)
func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppEndpoint ¶
func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppEndpoint(context.Context, *UpdateAppServeAppEndpointRequest) (*SimpleResponse, error)
func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppStatus ¶
func (UnimplementedAppServeAppServiceServer) UpdateAppServeAppStatus(context.Context, *UpdateAppServeAppStatusRequest) (*SimpleResponse, error)
type UnimplementedClusterInfoServiceServer ¶
type UnimplementedClusterInfoServiceServer struct { }
UnimplementedClusterInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedClusterInfoServiceServer) AddClusterInfo ¶
func (UnimplementedClusterInfoServiceServer) AddClusterInfo(context.Context, *AddClusterInfoRequest) (*IDResponse, error)
func (UnimplementedClusterInfoServiceServer) GetCluster ¶
func (UnimplementedClusterInfoServiceServer) GetCluster(context.Context, *GetClusterRequest) (*GetClusterResponse, error)
func (UnimplementedClusterInfoServiceServer) GetClusters ¶
func (UnimplementedClusterInfoServiceServer) GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error)
func (UnimplementedClusterInfoServiceServer) UpdateClusterConf ¶
func (UnimplementedClusterInfoServiceServer) UpdateClusterConf(context.Context, *UpdateClusterConfRequest) (*SimpleResponse, error)
func (UnimplementedClusterInfoServiceServer) UpdateClusterStatus ¶
func (UnimplementedClusterInfoServiceServer) UpdateClusterStatus(context.Context, *UpdateClusterStatusRequest) (*SimpleResponse, error)
type UnimplementedClusterLcmServiceServer ¶
type UnimplementedClusterLcmServiceServer struct { }
UnimplementedClusterLcmServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedClusterLcmServiceServer) CreateCluster ¶
func (UnimplementedClusterLcmServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*IDResponse, error)
func (UnimplementedClusterLcmServiceServer) DeleteCluster ¶
func (UnimplementedClusterLcmServiceServer) DeleteCluster(context.Context, *IDRequest) (*SimpleResponse, error)
func (UnimplementedClusterLcmServiceServer) ImportCluster ¶
func (UnimplementedClusterLcmServiceServer) ImportCluster(context.Context, *ImportClusterRequest) (*IDResponse, error)
func (UnimplementedClusterLcmServiceServer) InstallAppGroups ¶
func (UnimplementedClusterLcmServiceServer) InstallAppGroups(context.Context, *InstallAppGroupsRequest) (*IDsResponse, error)
func (UnimplementedClusterLcmServiceServer) ScaleCluster ¶
func (UnimplementedClusterLcmServiceServer) ScaleCluster(context.Context, *ScaleClusterRequest) (*SimpleResponse, error)
func (UnimplementedClusterLcmServiceServer) UninstallAppGroups ¶
func (UnimplementedClusterLcmServiceServer) UninstallAppGroups(context.Context, *UninstallAppGroupsRequest) (*IDsResponse, error)
type UnimplementedContractServiceServer ¶
type UnimplementedContractServiceServer struct { }
UnimplementedContractServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedContractServiceServer) CreateContract ¶
func (UnimplementedContractServiceServer) CreateContract(context.Context, *CreateContractRequest) (*CreateContractResponse, error)
func (UnimplementedContractServiceServer) GetAvailableServices ¶
func (UnimplementedContractServiceServer) GetAvailableServices(context.Context, *GetAvailableServicesRequest) (*GetAvailableServicesResponse, error)
func (UnimplementedContractServiceServer) GetContract ¶
func (UnimplementedContractServiceServer) GetContract(context.Context, *GetContractRequest) (*GetContractResponse, error)
func (UnimplementedContractServiceServer) GetContracts ¶
func (UnimplementedContractServiceServer) GetContracts(context.Context, *GetContractsRequest) (*GetContractsResponse, error)
func (UnimplementedContractServiceServer) GetDefaultContract ¶
func (UnimplementedContractServiceServer) GetDefaultContract(context.Context, *emptypb.Empty) (*GetContractResponse, error)
func (UnimplementedContractServiceServer) GetQuota ¶
func (UnimplementedContractServiceServer) GetQuota(context.Context, *GetQuotaRequest) (*GetQuotaResponse, error)
func (UnimplementedContractServiceServer) UpdateQuota ¶
func (UnimplementedContractServiceServer) UpdateQuota(context.Context, *UpdateQuotaRequest) (*UpdateQuotaResponse, error)
func (UnimplementedContractServiceServer) UpdateServices ¶
func (UnimplementedContractServiceServer) UpdateServices(context.Context, *UpdateServicesRequest) (*UpdateServicesResponse, error)
type UnimplementedCspInfoServiceServer ¶
type UnimplementedCspInfoServiceServer struct { }
UnimplementedCspInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCspInfoServiceServer) CreateCSPInfo ¶
func (UnimplementedCspInfoServiceServer) CreateCSPInfo(context.Context, *CreateCSPInfoRequest) (*IDResponse, error)
func (UnimplementedCspInfoServiceServer) GetCSPAuth ¶
func (UnimplementedCspInfoServiceServer) GetCSPAuth(context.Context, *IDRequest) (*GetCSPAuthResponse, error)
func (UnimplementedCspInfoServiceServer) GetCSPIDs ¶
func (UnimplementedCspInfoServiceServer) GetCSPIDs(context.Context, *emptypb.Empty) (*IDsResponse, error)
func (UnimplementedCspInfoServiceServer) GetCSPIDsByContractID ¶
func (UnimplementedCspInfoServiceServer) GetCSPIDsByContractID(context.Context, *IDRequest) (*IDsResponse, error)
func (UnimplementedCspInfoServiceServer) GetCSPInfo ¶
func (UnimplementedCspInfoServiceServer) GetCSPInfo(context.Context, *IDRequest) (*GetCSPInfoResponse, error)
func (UnimplementedCspInfoServiceServer) UpdateCSPAuth ¶
func (UnimplementedCspInfoServiceServer) UpdateCSPAuth(context.Context, *UpdateCSPAuthRequest) (*SimpleResponse, error)
type UnimplementedKeycloakInfoServiceServer ¶
type UnimplementedKeycloakInfoServiceServer struct { }
UnimplementedKeycloakInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKeycloakInfoServiceServer) CreateKeycloakInfo ¶
func (UnimplementedKeycloakInfoServiceServer) CreateKeycloakInfo(context.Context, *CreateKeycloakInfoRequest) (*IDResponse, error)
func (UnimplementedKeycloakInfoServiceServer) DeleteKeycloakInfo ¶
func (UnimplementedKeycloakInfoServiceServer) DeleteKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error)
func (UnimplementedKeycloakInfoServiceServer) GetKeycloakInfoByClusterId ¶
func (UnimplementedKeycloakInfoServiceServer) GetKeycloakInfoByClusterId(context.Context, *IDRequest) (*GetKeycloakInfoResponse, error)
func (UnimplementedKeycloakInfoServiceServer) UpdateKeycloakInfo ¶
func (UnimplementedKeycloakInfoServiceServer) UpdateKeycloakInfo(context.Context, *IDRequest) (*SimpleResponse, error)
type UninstallAppGroupsRequest ¶
type UninstallAppGroupsRequest struct { // cluster_id is Global Unique ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // app_group_ids is a array of app_group_id. AppGroupIds []string `protobuf:"bytes,2,rep,name=app_group_ids,json=appGroupIds,proto3" json:"app_group_ids,omitempty"` // contains filtered or unexported fields }
UninstallAppGroupsRequest is a request to delete applications on the Cluster
func (*UninstallAppGroupsRequest) Descriptor
deprecated
func (*UninstallAppGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UninstallAppGroupsRequest.ProtoReflect.Descriptor instead.
func (*UninstallAppGroupsRequest) GetAppGroupIds ¶
func (x *UninstallAppGroupsRequest) GetAppGroupIds() []string
func (*UninstallAppGroupsRequest) GetClusterId ¶
func (x *UninstallAppGroupsRequest) GetClusterId() string
func (*UninstallAppGroupsRequest) ProtoMessage ¶
func (*UninstallAppGroupsRequest) ProtoMessage()
func (*UninstallAppGroupsRequest) ProtoReflect ¶
func (x *UninstallAppGroupsRequest) ProtoReflect() protoreflect.Message
func (*UninstallAppGroupsRequest) Reset ¶
func (x *UninstallAppGroupsRequest) Reset()
func (*UninstallAppGroupsRequest) String ¶
func (x *UninstallAppGroupsRequest) String() string
type UnsafeAppInfoServiceServer ¶
type UnsafeAppInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAppInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppInfoServiceServer will result in compilation errors.
type UnsafeAppServeAppServiceServer ¶
type UnsafeAppServeAppServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAppServeAppServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServeAppServiceServer will result in compilation errors.
type UnsafeClusterInfoServiceServer ¶
type UnsafeClusterInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClusterInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterInfoServiceServer will result in compilation errors.
type UnsafeClusterLcmServiceServer ¶
type UnsafeClusterLcmServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClusterLcmServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterLcmServiceServer will result in compilation errors.
type UnsafeContractServiceServer ¶
type UnsafeContractServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContractServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContractServiceServer will result in compilation errors.
type UnsafeCspInfoServiceServer ¶
type UnsafeCspInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCspInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CspInfoServiceServer will result in compilation errors.
type UnsafeKeycloakInfoServiceServer ¶
type UnsafeKeycloakInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeycloakInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeycloakInfoServiceServer will result in compilation errors.
type UpdateAppGroupStatusRequest ¶
type UpdateAppGroupStatusRequest struct { // app_group_id is the application group id to change the status AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // status is a AppStatus of the application Status AppGroupStatus `protobuf:"varint,2,opt,name=status,proto3,enum=tks_pb.AppGroupStatus" json:"status,omitempty"` // status_desc is a detail message of cluster status. StatusDesc string `protobuf:"bytes,3,opt,name=status_desc,json=statusDesc,proto3" json:"status_desc,omitempty"` // workflow_id is a argo workflow ID(name) WorkflowId string `protobuf:"bytes,4,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // contains filtered or unexported fields }
UpdateAppGroupStatusRequest is used to change the status of the app
func (*UpdateAppGroupStatusRequest) Descriptor
deprecated
func (*UpdateAppGroupStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppGroupStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppGroupStatusRequest) GetAppGroupId ¶
func (x *UpdateAppGroupStatusRequest) GetAppGroupId() string
func (*UpdateAppGroupStatusRequest) GetStatus ¶
func (x *UpdateAppGroupStatusRequest) GetStatus() AppGroupStatus
func (*UpdateAppGroupStatusRequest) GetStatusDesc ¶
func (x *UpdateAppGroupStatusRequest) GetStatusDesc() string
func (*UpdateAppGroupStatusRequest) GetWorkflowId ¶
func (x *UpdateAppGroupStatusRequest) GetWorkflowId() string
func (*UpdateAppGroupStatusRequest) ProtoMessage ¶
func (*UpdateAppGroupStatusRequest) ProtoMessage()
func (*UpdateAppGroupStatusRequest) ProtoReflect ¶
func (x *UpdateAppGroupStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppGroupStatusRequest) Reset ¶
func (x *UpdateAppGroupStatusRequest) Reset()
func (*UpdateAppGroupStatusRequest) String ¶
func (x *UpdateAppGroupStatusRequest) String() string
type UpdateAppRequest ¶
type UpdateAppRequest struct { // app_group_id is the application group id. AppGroupId string `protobuf:"bytes,1,opt,name=app_group_id,json=appGroupId,proto3" json:"app_group_id,omitempty"` // app_type is a type of the application AppType AppType `protobuf:"varint,2,opt,name=app_type,json=appType,proto3,enum=tks_pb.AppType" json:"app_type,omitempty"` // endpoints is an endpoint string. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // metadata is an unstructured metadata for application. Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
UpdateAppRequest updates an information of application such as endpoints.
func (*UpdateAppRequest) Descriptor
deprecated
func (*UpdateAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppRequest) GetAppGroupId ¶
func (x *UpdateAppRequest) GetAppGroupId() string
func (*UpdateAppRequest) GetAppType ¶
func (x *UpdateAppRequest) GetAppType() AppType
func (*UpdateAppRequest) GetEndpoint ¶
func (x *UpdateAppRequest) GetEndpoint() string
func (*UpdateAppRequest) GetMetadata ¶
func (x *UpdateAppRequest) GetMetadata() string
func (*UpdateAppRequest) ProtoMessage ¶
func (*UpdateAppRequest) ProtoMessage()
func (*UpdateAppRequest) ProtoReflect ¶
func (x *UpdateAppRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppRequest) Reset ¶
func (x *UpdateAppRequest) Reset()
func (*UpdateAppRequest) String ¶
func (x *UpdateAppRequest) String() string
type UpdateAppServeAppEndpointRequest ¶
type UpdateAppServeAppEndpointRequest struct { // ASA ID whose endpoint is updated AppServeAppId string `protobuf:"bytes,1,opt,name=app_serve_app_id,json=appServeAppId,proto3" json:"app_serve_app_id,omitempty"` // ASA Task ID whose helm_revision is updated AppServeAppTaskId string `protobuf:"bytes,2,opt,name=app_serve_app_task_id,json=appServeAppTaskId,proto3" json:"app_serve_app_task_id,omitempty"` // endpoint to be used to access ASA Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // endpoint to be used to access ASA preview svc in B/G mode PreviewEndpoint string `protobuf:"bytes,4,opt,name=preview_endpoint,json=previewEndpoint,proto3" json:"preview_endpoint,omitempty"` // helm_revision of deployed app release HelmRevision int32 `protobuf:"varint,5,opt,name=helm_revision,json=helmRevision,proto3" json:"helm_revision,omitempty"` // contains filtered or unexported fields }
UpdateAppServeAppEndpointRequest is a request used to update ASA endpoint
func (*UpdateAppServeAppEndpointRequest) Descriptor
deprecated
func (*UpdateAppServeAppEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppServeAppEndpointRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppServeAppEndpointRequest) GetAppServeAppId ¶
func (x *UpdateAppServeAppEndpointRequest) GetAppServeAppId() string
func (*UpdateAppServeAppEndpointRequest) GetAppServeAppTaskId ¶
func (x *UpdateAppServeAppEndpointRequest) GetAppServeAppTaskId() string
func (*UpdateAppServeAppEndpointRequest) GetEndpoint ¶
func (x *UpdateAppServeAppEndpointRequest) GetEndpoint() string
func (*UpdateAppServeAppEndpointRequest) GetHelmRevision ¶
func (x *UpdateAppServeAppEndpointRequest) GetHelmRevision() int32
func (*UpdateAppServeAppEndpointRequest) GetPreviewEndpoint ¶
func (x *UpdateAppServeAppEndpointRequest) GetPreviewEndpoint() string
func (*UpdateAppServeAppEndpointRequest) ProtoMessage ¶
func (*UpdateAppServeAppEndpointRequest) ProtoMessage()
func (*UpdateAppServeAppEndpointRequest) ProtoReflect ¶
func (x *UpdateAppServeAppEndpointRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppServeAppEndpointRequest) Reset ¶
func (x *UpdateAppServeAppEndpointRequest) Reset()
func (*UpdateAppServeAppEndpointRequest) String ¶
func (x *UpdateAppServeAppEndpointRequest) String() string
type UpdateAppServeAppRequest ¶
type UpdateAppServeAppRequest struct { // ASA ID to update AppServeAppId string `protobuf:"bytes,1,opt,name=app_serve_app_id,json=appServeAppId,proto3" json:"app_serve_app_id,omitempty"` // New ASA task to create AppServeAppTask *AppServeAppTask `protobuf:"bytes,2,opt,name=app_serve_app_task,json=appServeAppTask,proto3" json:"app_serve_app_task,omitempty"` // contains filtered or unexported fields }
UpdateAppServeAppRequest is a request used to update an ASA
func (*UpdateAppServeAppRequest) Descriptor
deprecated
func (*UpdateAppServeAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppServeAppRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppServeAppRequest) GetAppServeAppId ¶
func (x *UpdateAppServeAppRequest) GetAppServeAppId() string
func (*UpdateAppServeAppRequest) GetAppServeAppTask ¶
func (x *UpdateAppServeAppRequest) GetAppServeAppTask() *AppServeAppTask
func (*UpdateAppServeAppRequest) ProtoMessage ¶
func (*UpdateAppServeAppRequest) ProtoMessage()
func (*UpdateAppServeAppRequest) ProtoReflect ¶
func (x *UpdateAppServeAppRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppServeAppRequest) Reset ¶
func (x *UpdateAppServeAppRequest) Reset()
func (*UpdateAppServeAppRequest) String ¶
func (x *UpdateAppServeAppRequest) String() string
type UpdateAppServeAppResponse ¶
type UpdateAppServeAppResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // task_id is ID of ASA task just created. TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
UpdateAppServeAppResponse contains ASA task ID.
func (*UpdateAppServeAppResponse) Descriptor
deprecated
func (*UpdateAppServeAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppServeAppResponse.ProtoReflect.Descriptor instead.
func (*UpdateAppServeAppResponse) GetCode ¶
func (x *UpdateAppServeAppResponse) GetCode() Code
func (*UpdateAppServeAppResponse) GetError ¶
func (x *UpdateAppServeAppResponse) GetError() *Error
func (*UpdateAppServeAppResponse) GetTaskId ¶
func (x *UpdateAppServeAppResponse) GetTaskId() string
func (*UpdateAppServeAppResponse) ProtoMessage ¶
func (*UpdateAppServeAppResponse) ProtoMessage()
func (*UpdateAppServeAppResponse) ProtoReflect ¶
func (x *UpdateAppServeAppResponse) ProtoReflect() protoreflect.Message
func (*UpdateAppServeAppResponse) Reset ¶
func (x *UpdateAppServeAppResponse) Reset()
func (*UpdateAppServeAppResponse) String ¶
func (x *UpdateAppServeAppResponse) String() string
type UpdateAppServeAppStatusRequest ¶
type UpdateAppServeAppStatusRequest struct { // ASA task ID whose status is updated AppServeAppTaskId string `protobuf:"bytes,1,opt,name=app_serve_app_task_id,json=appServeAppTaskId,proto3" json:"app_serve_app_task_id,omitempty"` // status is new status of ASA to apply Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // output is console output of ASA task Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
UpdateAppServeAppStatusRequest is a request used to update ASA status
func (*UpdateAppServeAppStatusRequest) Descriptor
deprecated
func (*UpdateAppServeAppStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppServeAppStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppServeAppStatusRequest) GetAppServeAppTaskId ¶
func (x *UpdateAppServeAppStatusRequest) GetAppServeAppTaskId() string
func (*UpdateAppServeAppStatusRequest) GetOutput ¶
func (x *UpdateAppServeAppStatusRequest) GetOutput() string
func (*UpdateAppServeAppStatusRequest) GetStatus ¶
func (x *UpdateAppServeAppStatusRequest) GetStatus() string
func (*UpdateAppServeAppStatusRequest) ProtoMessage ¶
func (*UpdateAppServeAppStatusRequest) ProtoMessage()
func (*UpdateAppServeAppStatusRequest) ProtoReflect ¶
func (x *UpdateAppServeAppStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppServeAppStatusRequest) Reset ¶
func (x *UpdateAppServeAppStatusRequest) Reset()
func (*UpdateAppServeAppStatusRequest) String ¶
func (x *UpdateAppServeAppStatusRequest) String() string
type UpdateCSPAuthRequest ¶
type UpdateCSPAuthRequest struct { // csp_id is . CspId string `protobuf:"bytes,1,opt,name=csp_id,json=cspId,proto3" json:"csp_id,omitempty"` // auth is an authentication info to update. Auth string `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
UpdateCSPAuthRequest updates an authenticationg information for CSP.
func (*UpdateCSPAuthRequest) Descriptor
deprecated
func (*UpdateCSPAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCSPAuthRequest.ProtoReflect.Descriptor instead.
func (*UpdateCSPAuthRequest) GetAuth ¶
func (x *UpdateCSPAuthRequest) GetAuth() string
func (*UpdateCSPAuthRequest) GetCspId ¶
func (x *UpdateCSPAuthRequest) GetCspId() string
func (*UpdateCSPAuthRequest) ProtoMessage ¶
func (*UpdateCSPAuthRequest) ProtoMessage()
func (*UpdateCSPAuthRequest) ProtoReflect ¶
func (x *UpdateCSPAuthRequest) ProtoReflect() protoreflect.Message
func (*UpdateCSPAuthRequest) Reset ¶
func (x *UpdateCSPAuthRequest) Reset()
func (*UpdateCSPAuthRequest) String ¶
func (x *UpdateCSPAuthRequest) String() string
type UpdateClusterConfRequest ¶
type UpdateClusterConfRequest struct { // cluster_id is a cluster ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // conf is a kubernetes cluster configuration Conf *ClusterConf `protobuf:"bytes,2,opt,name=conf,proto3" json:"conf,omitempty"` // contains filtered or unexported fields }
UpdateClusterConfRequest is used to update kubernetes cluster configuration to correspond with id
func (*UpdateClusterConfRequest) Descriptor
deprecated
func (*UpdateClusterConfRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterConfRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterConfRequest) GetClusterId ¶
func (x *UpdateClusterConfRequest) GetClusterId() string
func (*UpdateClusterConfRequest) GetConf ¶
func (x *UpdateClusterConfRequest) GetConf() *ClusterConf
func (*UpdateClusterConfRequest) ProtoMessage ¶
func (*UpdateClusterConfRequest) ProtoMessage()
func (*UpdateClusterConfRequest) ProtoReflect ¶
func (x *UpdateClusterConfRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterConfRequest) Reset ¶
func (x *UpdateClusterConfRequest) Reset()
func (*UpdateClusterConfRequest) String ¶
func (x *UpdateClusterConfRequest) String() string
type UpdateClusterStatusRequest ¶
type UpdateClusterStatusRequest struct { // cluster_id is a cluster ID ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // status is the clusterstatus to be changed Status ClusterStatus `protobuf:"varint,2,opt,name=status,proto3,enum=tks_pb.ClusterStatus" json:"status,omitempty"` // status_desc is a detail message of cluster status. StatusDesc string `protobuf:"bytes,3,opt,name=status_desc,json=statusDesc,proto3" json:"status_desc,omitempty"` // workflow_id is a argo workflow ID(name) WorkflowId string `protobuf:"bytes,4,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // contains filtered or unexported fields }
UpdateClusterStatusRequest is used to change status of the cluster
func (*UpdateClusterStatusRequest) Descriptor
deprecated
func (*UpdateClusterStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterStatusRequest) GetClusterId ¶
func (x *UpdateClusterStatusRequest) GetClusterId() string
func (*UpdateClusterStatusRequest) GetStatus ¶
func (x *UpdateClusterStatusRequest) GetStatus() ClusterStatus
func (*UpdateClusterStatusRequest) GetStatusDesc ¶
func (x *UpdateClusterStatusRequest) GetStatusDesc() string
func (*UpdateClusterStatusRequest) GetWorkflowId ¶
func (x *UpdateClusterStatusRequest) GetWorkflowId() string
func (*UpdateClusterStatusRequest) ProtoMessage ¶
func (*UpdateClusterStatusRequest) ProtoMessage()
func (*UpdateClusterStatusRequest) ProtoReflect ¶
func (x *UpdateClusterStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterStatusRequest) Reset ¶
func (x *UpdateClusterStatusRequest) Reset()
func (*UpdateClusterStatusRequest) String ¶
func (x *UpdateClusterStatusRequest) String() string
type UpdateQuotaRequest ¶
type UpdateQuotaRequest struct { // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // quota is a resource quota for cpu, memory, storage and so on. Quota *ContractQuota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"` // contains filtered or unexported fields }
UpdateQuotaRequest is a request to update resource quota
for specific contract.
func (*UpdateQuotaRequest) Descriptor
deprecated
func (*UpdateQuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuotaRequest.ProtoReflect.Descriptor instead.
func (*UpdateQuotaRequest) GetContractId ¶
func (x *UpdateQuotaRequest) GetContractId() string
func (*UpdateQuotaRequest) GetQuota ¶
func (x *UpdateQuotaRequest) GetQuota() *ContractQuota
func (*UpdateQuotaRequest) ProtoMessage ¶
func (*UpdateQuotaRequest) ProtoMessage()
func (*UpdateQuotaRequest) ProtoReflect ¶
func (x *UpdateQuotaRequest) ProtoReflect() protoreflect.Message
func (*UpdateQuotaRequest) Reset ¶
func (x *UpdateQuotaRequest) Reset()
func (*UpdateQuotaRequest) String ¶
func (x *UpdateQuotaRequest) String() string
type UpdateQuotaResponse ¶
type UpdateQuotaResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // prev_quota is a quota before updating quota. PrevQuota *ContractQuota `protobuf:"bytes,4,opt,name=prev_quota,json=prevQuota,proto3" json:"prev_quota,omitempty"` // current_quota is a quota after updating. CurrentQuota *ContractQuota `protobuf:"bytes,5,opt,name=current_quota,json=currentQuota,proto3" json:"current_quota,omitempty"` // contains filtered or unexported fields }
UpdateQuotaResponse is a response to the UpdateQuotaRequest from the contract service
func (*UpdateQuotaResponse) Descriptor
deprecated
func (*UpdateQuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuotaResponse.ProtoReflect.Descriptor instead.
func (*UpdateQuotaResponse) GetCode ¶
func (x *UpdateQuotaResponse) GetCode() Code
func (*UpdateQuotaResponse) GetContractId ¶
func (x *UpdateQuotaResponse) GetContractId() string
func (*UpdateQuotaResponse) GetCurrentQuota ¶
func (x *UpdateQuotaResponse) GetCurrentQuota() *ContractQuota
func (*UpdateQuotaResponse) GetError ¶
func (x *UpdateQuotaResponse) GetError() *Error
func (*UpdateQuotaResponse) GetPrevQuota ¶
func (x *UpdateQuotaResponse) GetPrevQuota() *ContractQuota
func (*UpdateQuotaResponse) ProtoMessage ¶
func (*UpdateQuotaResponse) ProtoMessage()
func (*UpdateQuotaResponse) ProtoReflect ¶
func (x *UpdateQuotaResponse) ProtoReflect() protoreflect.Message
func (*UpdateQuotaResponse) Reset ¶
func (x *UpdateQuotaResponse) Reset()
func (*UpdateQuotaResponse) String ¶
func (x *UpdateQuotaResponse) String() string
type UpdateServicesRequest ¶
type UpdateServicesRequest struct { // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // availavle_services is a list of services constomer purchased. AvailableServices []string `protobuf:"bytes,2,rep,name=available_services,json=availableServices,proto3" json:"available_services,omitempty"` // contains filtered or unexported fields }
UpdateServicesRequest is a request
to update available service list to the contract service.
The services currently provided are as below:
- LMA(Logging Monitoring Alert)
- service-mesh (Istio, jaeger, kiali)
func (*UpdateServicesRequest) Descriptor
deprecated
func (*UpdateServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServicesRequest.ProtoReflect.Descriptor instead.
func (*UpdateServicesRequest) GetAvailableServices ¶
func (x *UpdateServicesRequest) GetAvailableServices() []string
func (*UpdateServicesRequest) GetContractId ¶
func (x *UpdateServicesRequest) GetContractId() string
func (*UpdateServicesRequest) ProtoMessage ¶
func (*UpdateServicesRequest) ProtoMessage()
func (*UpdateServicesRequest) ProtoReflect ¶
func (x *UpdateServicesRequest) ProtoReflect() protoreflect.Message
func (*UpdateServicesRequest) Reset ¶
func (x *UpdateServicesRequest) Reset()
func (*UpdateServicesRequest) String ¶
func (x *UpdateServicesRequest) String() string
type UpdateServicesResponse ¶
type UpdateServicesResponse struct { // code is a response code. Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=tks_pb.Code" json:"code,omitempty"` // error is a detailed error message. Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contract_id is a global unique ID created by CBP ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // prev_services is a list of services before updating. PrevServices []string `protobuf:"bytes,4,rep,name=prev_services,json=prevServices,proto3" json:"prev_services,omitempty"` // current_services is a list of services after updating. CurrentServices []string `protobuf:"bytes,5,rep,name=current_services,json=currentServices,proto3" json:"current_services,omitempty"` // contains filtered or unexported fields }
UpdateServicesResponse is a response
to the UpdateServicesRequest from the contract service.
func (*UpdateServicesResponse) Descriptor
deprecated
func (*UpdateServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServicesResponse.ProtoReflect.Descriptor instead.
func (*UpdateServicesResponse) GetCode ¶
func (x *UpdateServicesResponse) GetCode() Code
func (*UpdateServicesResponse) GetContractId ¶
func (x *UpdateServicesResponse) GetContractId() string
func (*UpdateServicesResponse) GetCurrentServices ¶
func (x *UpdateServicesResponse) GetCurrentServices() []string
func (*UpdateServicesResponse) GetError ¶
func (x *UpdateServicesResponse) GetError() *Error
func (*UpdateServicesResponse) GetPrevServices ¶
func (x *UpdateServicesResponse) GetPrevServices() []string
func (*UpdateServicesResponse) ProtoMessage ¶
func (*UpdateServicesResponse) ProtoMessage()
func (*UpdateServicesResponse) ProtoReflect ¶
func (x *UpdateServicesResponse) ProtoReflect() protoreflect.Message
func (*UpdateServicesResponse) Reset ¶
func (x *UpdateServicesResponse) Reset()
func (*UpdateServicesResponse) String ¶
func (x *UpdateServicesResponse) String() string