Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)
- type AppDetail
- func (*AppDetail) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetail) GetApplicationStatus() string
- func (x *AppDetail) GetChartMetadata() *ChartMetadata
- func (x *AppDetail) GetEnvironmentDetails() *EnvironmentDetails
- func (x *AppDetail) GetLastDeployed() *timestamp.Timestamp
- func (x *AppDetail) GetReleaseStatus() *ReleaseStatus
- func (x *AppDetail) GetResourceTreeResponse() *ResourceTreeResponse
- func (*AppDetail) ProtoMessage()
- func (x *AppDetail) ProtoReflect() protoreflect.Message
- func (x *AppDetail) Reset()
- func (x *AppDetail) String() string
- type AppDetailAndInstalledAppInfo
- type AppDetailRequest
- func (*AppDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppDetailRequest) GetClusterConfig() *ClusterConfig
- func (x *AppDetailRequest) GetNamespace() string
- func (x *AppDetailRequest) GetReleaseName() string
- func (*AppDetailRequest) ProtoMessage()
- func (x *AppDetailRequest) ProtoReflect() protoreflect.Message
- func (x *AppDetailRequest) Reset()
- func (x *AppDetailRequest) String() string
- type AppIdentifier
- type AppListRequest
- type ApplicationServiceClient
- type ApplicationServiceServer
- type ApplicationService_ListApplicationsClient
- type ApplicationService_ListApplicationsServer
- type BooleanResponse
- type ChartContent
- type ChartMetadata
- func (*ChartMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ChartMetadata) GetChartName() string
- func (x *ChartMetadata) GetChartVersion() string
- func (x *ChartMetadata) GetDescription() string
- func (x *ChartMetadata) GetHome() string
- func (x *ChartMetadata) GetNotes() string
- func (x *ChartMetadata) GetSources() []string
- func (*ChartMetadata) ProtoMessage()
- func (x *ChartMetadata) ProtoReflect() protoreflect.Message
- func (x *ChartMetadata) Reset()
- func (x *ChartMetadata) String() string
- type ChartRepository
- func (*ChartRepository) Descriptor() ([]byte, []int)deprecated
- func (x *ChartRepository) GetName() string
- func (x *ChartRepository) GetPassword() string
- func (x *ChartRepository) GetUrl() string
- func (x *ChartRepository) GetUsername() string
- func (*ChartRepository) ProtoMessage()
- func (x *ChartRepository) ProtoReflect() protoreflect.Message
- func (x *ChartRepository) Reset()
- func (x *ChartRepository) String() string
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfig) GetApiServerUrl() string
- func (x *ClusterConfig) GetClusterId() int32
- func (x *ClusterConfig) GetClusterName() string
- func (x *ClusterConfig) GetToken() string
- func (*ClusterConfig) ProtoMessage()
- func (x *ClusterConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterConfig) Reset()
- func (x *ClusterConfig) String() string
- type DeployedAppDetail
- func (*DeployedAppDetail) Descriptor() ([]byte, []int)deprecated
- func (x *DeployedAppDetail) GetAppId() string
- func (x *DeployedAppDetail) GetAppName() string
- func (x *DeployedAppDetail) GetChartAvatar() string
- func (x *DeployedAppDetail) GetChartName() string
- func (x *DeployedAppDetail) GetChartVersion() string
- func (x *DeployedAppDetail) GetEnvironmentDetail() *EnvironmentDetails
- func (x *DeployedAppDetail) GetLastDeployed() *timestamp.Timestamp
- func (*DeployedAppDetail) ProtoMessage()
- func (x *DeployedAppDetail) ProtoReflect() protoreflect.Message
- func (x *DeployedAppDetail) Reset()
- func (x *DeployedAppDetail) String() string
- type DeployedAppList
- func (*DeployedAppList) Descriptor() ([]byte, []int)deprecated
- func (x *DeployedAppList) GetClusterId() int32
- func (x *DeployedAppList) GetDeployedAppDetail() []*DeployedAppDetail
- func (x *DeployedAppList) GetErrorMsg() string
- func (x *DeployedAppList) GetErrored() bool
- func (*DeployedAppList) ProtoMessage()
- func (x *DeployedAppList) ProtoReflect() protoreflect.Message
- func (x *DeployedAppList) Reset()
- func (x *DeployedAppList) String() string
- type DeploymentDetailRequest
- func (*DeploymentDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDetailRequest) GetDeploymentVersion() int32
- func (x *DeploymentDetailRequest) GetReleaseIdentifier() *ReleaseIdentifier
- func (*DeploymentDetailRequest) ProtoMessage()
- func (x *DeploymentDetailRequest) ProtoReflect() protoreflect.Message
- func (x *DeploymentDetailRequest) Reset()
- func (x *DeploymentDetailRequest) String() string
- type DeploymentDetailResponse
- func (*DeploymentDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentDetailResponse) GetManifest() string
- func (x *DeploymentDetailResponse) GetValuesYaml() string
- func (*DeploymentDetailResponse) ProtoMessage()
- func (x *DeploymentDetailResponse) ProtoReflect() protoreflect.Message
- func (x *DeploymentDetailResponse) Reset()
- func (x *DeploymentDetailResponse) String() string
- type DeploymentHistoryAndInstalledAppInfo
- type DesiredManifestResponse
- func (*DesiredManifestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredManifestResponse) GetManifest() string
- func (*DesiredManifestResponse) ProtoMessage()
- func (x *DesiredManifestResponse) ProtoReflect() protoreflect.Message
- func (x *DesiredManifestResponse) Reset()
- func (x *DesiredManifestResponse) String() string
- type EnvironmentDetails
- func (*EnvironmentDetails) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentDetails) GetClusterId() int32
- func (x *EnvironmentDetails) GetClusterName() string
- func (x *EnvironmentDetails) GetNamespace() string
- func (*EnvironmentDetails) ProtoMessage()
- func (x *EnvironmentDetails) ProtoReflect() protoreflect.Message
- func (x *EnvironmentDetails) Reset()
- func (x *EnvironmentDetails) String() string
- type HealthStatus
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetMessage() string
- func (x *HealthStatus) GetStatus() string
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- type HelmAppClient
- type HelmAppClientImpl
- func (impl *HelmAppClientImpl) DeleteApplication(ctx context.Context, in *ReleaseIdentifier) (*UninstallReleaseResponse, error)
- func (impl *HelmAppClientImpl) GetAppDetail(ctx context.Context, in *AppDetailRequest) (*AppDetail, error)
- func (impl *HelmAppClientImpl) GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
- func (impl *HelmAppClientImpl) GetDeploymentHistory(ctx context.Context, in *AppDetailRequest) (*HelmAppDeploymentHistory, error)
- func (impl *HelmAppClientImpl) GetDesiredManifest(ctx context.Context, in *ObjectRequest) (*DesiredManifestResponse, error)
- func (impl *HelmAppClientImpl) GetValuesYaml(ctx context.Context, in *AppDetailRequest) (*ReleaseInfo, error)
- func (impl *HelmAppClientImpl) Hibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
- func (impl *HelmAppClientImpl) InstallRelease(ctx context.Context, in *InstallReleaseRequest) (*InstallReleaseResponse, error)
- func (impl *HelmAppClientImpl) InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
- func (impl *HelmAppClientImpl) IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier) (*BooleanResponse, error)
- func (impl *HelmAppClientImpl) ListApplication(req *AppListRequest) (ApplicationService_ListApplicationsClient, error)
- func (impl *HelmAppClientImpl) RollbackRelease(ctx context.Context, in *RollbackReleaseRequest) (*BooleanResponse, error)
- func (impl *HelmAppClientImpl) TemplateChart(ctx context.Context, in *InstallReleaseRequest) (*TemplateChartResponse, error)
- func (impl *HelmAppClientImpl) UnHibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
- func (impl *HelmAppClientImpl) UpdateApplication(ctx context.Context, in *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
- func (impl *HelmAppClientImpl) UpdateApplicationWithChartInfo(ctx context.Context, in *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
- type HelmAppDeploymentDetail
- func (*HelmAppDeploymentDetail) Descriptor() ([]byte, []int)deprecated
- func (x *HelmAppDeploymentDetail) GetChartMetadata() *ChartMetadata
- func (x *HelmAppDeploymentDetail) GetDeployedAt() *timestamp.Timestamp
- func (x *HelmAppDeploymentDetail) GetDockerImages() []string
- func (x *HelmAppDeploymentDetail) GetVersion() int32
- func (*HelmAppDeploymentDetail) ProtoMessage()
- func (x *HelmAppDeploymentDetail) ProtoReflect() protoreflect.Message
- func (x *HelmAppDeploymentDetail) Reset()
- func (x *HelmAppDeploymentDetail) String() string
- type HelmAppDeploymentHistory
- func (*HelmAppDeploymentHistory) Descriptor() ([]byte, []int)deprecated
- func (x *HelmAppDeploymentHistory) GetDeploymentHistory() []*HelmAppDeploymentDetail
- func (*HelmAppDeploymentHistory) ProtoMessage()
- func (x *HelmAppDeploymentHistory) ProtoReflect() protoreflect.Message
- func (x *HelmAppDeploymentHistory) Reset()
- func (x *HelmAppDeploymentHistory) String() string
- type HelmAppRestHandler
- type HelmAppRestHandlerImpl
- func (handler *HelmAppRestHandlerImpl) DeleteApplication(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetDesiredManifest(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) GetReleaseInfo(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) Hibernate(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) TemplateChart(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) UnHibernate(w http.ResponseWriter, r *http.Request)
- func (handler *HelmAppRestHandlerImpl) UpdateApplication(w http.ResponseWriter, r *http.Request)
- type HelmAppRouter
- type HelmAppRouterImpl
- type HelmAppService
- type HelmAppServiceImpl
- func (impl *HelmAppServiceImpl) DecodeAppId(appId string) (*AppIdentifier, error)
- func (impl *HelmAppServiceImpl) DeleteApplication(ctx context.Context, app *AppIdentifier) (*openapi.UninstallReleaseResponse, error)
- func (impl *HelmAppServiceImpl) EncodeAppId(appIdentifier *AppIdentifier) string
- func (impl *HelmAppServiceImpl) GetApplicationDetail(ctx context.Context, app *AppIdentifier) (*AppDetail, error)
- func (impl *HelmAppServiceImpl) GetClusterConf(clusterId int) (*ClusterConfig, error)
- func (impl *HelmAppServiceImpl) GetDeploymentDetail(ctx context.Context, app *AppIdentifier, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)
- func (impl *HelmAppServiceImpl) GetDeploymentHistory(ctx context.Context, app *AppIdentifier) (*HelmAppDeploymentHistory, error)
- func (impl *HelmAppServiceImpl) GetDesiredManifest(ctx context.Context, app *AppIdentifier, resource *openapi.ResourceIdentifier) (*openapi.DesiredManifestResponse, error)
- func (impl *HelmAppServiceImpl) GetDevtronHelmAppIdentifier() *AppIdentifier
- func (impl *HelmAppServiceImpl) GetValuesYaml(ctx context.Context, app *AppIdentifier) (*ReleaseInfo, error)
- func (impl *HelmAppServiceImpl) HibernateApplication(ctx context.Context, app *AppIdentifier, ...) ([]*openapi.HibernateStatus, error)
- func (impl *HelmAppServiceImpl) InstallRelease(ctx context.Context, clusterId int, ...) (*InstallReleaseResponse, error)
- func (impl *HelmAppServiceImpl) IsReleaseInstalled(ctx context.Context, app *AppIdentifier) (bool, error)
- func (impl *HelmAppServiceImpl) ListHelmApplications(clusterIds []int, w http.ResponseWriter, token string, ...)
- func (impl *HelmAppServiceImpl) RollbackRelease(ctx context.Context, app *AppIdentifier, version int32) (bool, error)
- func (impl *HelmAppServiceImpl) TemplateChart(ctx context.Context, templateChartRequest *openapi2.TemplateChartRequest) (*openapi2.TemplateChartResponse, error)
- func (impl *HelmAppServiceImpl) UnHibernateApplication(ctx context.Context, app *AppIdentifier, ...) ([]*openapi.HibernateStatus, error)
- func (impl *HelmAppServiceImpl) UpdateApplication(ctx context.Context, app *AppIdentifier, request *openapi.UpdateReleaseRequest) (*openapi.UpdateReleaseResponse, error)
- func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfo(ctx context.Context, clusterId int, ...) (*openapi.UpdateReleaseResponse, error)
- func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfoWithExtraValues(ctx context.Context, appIdentifier *AppIdentifier, ...) (*openapi.UpdateReleaseResponse, error)
- type HelmClientConfig
- type HelmInstallCustomRequest
- func (*HelmInstallCustomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelmInstallCustomRequest) GetChartContent() *ChartContent
- func (x *HelmInstallCustomRequest) GetReleaseIdentifier() *ReleaseIdentifier
- func (x *HelmInstallCustomRequest) GetValuesYaml() string
- func (*HelmInstallCustomRequest) ProtoMessage()
- func (x *HelmInstallCustomRequest) ProtoReflect() protoreflect.Message
- func (x *HelmInstallCustomRequest) Reset()
- func (x *HelmInstallCustomRequest) String() string
- type HelmInstallCustomResponse
- func (*HelmInstallCustomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelmInstallCustomResponse) GetSuccess() bool
- func (*HelmInstallCustomResponse) ProtoMessage()
- func (x *HelmInstallCustomResponse) ProtoReflect() protoreflect.Message
- func (x *HelmInstallCustomResponse) Reset()
- func (x *HelmInstallCustomResponse) String() string
- type HibernateRequest
- func (*HibernateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HibernateRequest) GetClusterConfig() *ClusterConfig
- func (x *HibernateRequest) GetObjectIdentifier() []*ObjectIdentifier
- func (*HibernateRequest) ProtoMessage()
- func (x *HibernateRequest) ProtoReflect() protoreflect.Message
- func (x *HibernateRequest) Reset()
- func (x *HibernateRequest) String() string
- type HibernateResponse
- func (*HibernateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HibernateResponse) GetStatus() []*HibernateStatus
- func (*HibernateResponse) ProtoMessage()
- func (x *HibernateResponse) ProtoReflect() protoreflect.Message
- func (x *HibernateResponse) Reset()
- func (x *HibernateResponse) String() string
- type HibernateStatus
- func (*HibernateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HibernateStatus) GetErrorMsg() string
- func (x *HibernateStatus) GetSuccess() bool
- func (x *HibernateStatus) GetTargetObject() *ObjectIdentifier
- func (*HibernateStatus) ProtoMessage()
- func (x *HibernateStatus) ProtoReflect() protoreflect.Message
- func (x *HibernateStatus) Reset()
- func (x *HibernateStatus) String() string
- type InstallReleaseRequest
- func (*InstallReleaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallReleaseRequest) GetChartName() string
- func (x *InstallReleaseRequest) GetChartRepository() *ChartRepository
- func (x *InstallReleaseRequest) GetChartVersion() string
- func (x *InstallReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
- func (x *InstallReleaseRequest) GetValuesYaml() string
- func (*InstallReleaseRequest) ProtoMessage()
- func (x *InstallReleaseRequest) ProtoReflect() protoreflect.Message
- func (x *InstallReleaseRequest) Reset()
- func (x *InstallReleaseRequest) String() string
- type InstallReleaseResponse
- func (*InstallReleaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallReleaseResponse) GetSuccess() bool
- func (*InstallReleaseResponse) ProtoMessage()
- func (x *InstallReleaseResponse) ProtoReflect() protoreflect.Message
- func (x *InstallReleaseResponse) Reset()
- func (x *InstallReleaseResponse) String() string
- type InstalledAppInfo
- type ObjectIdentifier
- func (*ObjectIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectIdentifier) GetGroup() string
- func (x *ObjectIdentifier) GetKind() string
- func (x *ObjectIdentifier) GetName() string
- func (x *ObjectIdentifier) GetNamespace() string
- func (x *ObjectIdentifier) GetVersion() string
- func (*ObjectIdentifier) ProtoMessage()
- func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
- func (x *ObjectIdentifier) Reset()
- func (x *ObjectIdentifier) String() string
- type ObjectRequest
- func (*ObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRequest) GetClusterConfig() *ClusterConfig
- func (x *ObjectRequest) GetObjectIdentifier() *ObjectIdentifier
- func (x *ObjectRequest) GetReleaseName() string
- func (x *ObjectRequest) GetReleaseNamespace() string
- func (*ObjectRequest) ProtoMessage()
- func (x *ObjectRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectRequest) Reset()
- func (x *ObjectRequest) String() string
- type PodMetadata
- func (*PodMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PodMetadata) GetContainers() []string
- func (x *PodMetadata) GetInitContainers() []string
- func (x *PodMetadata) GetIsNew() bool
- func (x *PodMetadata) GetName() string
- func (x *PodMetadata) GetUid() string
- func (*PodMetadata) ProtoMessage()
- func (x *PodMetadata) ProtoReflect() protoreflect.Message
- func (x *PodMetadata) Reset()
- func (x *PodMetadata) String() string
- type ReleaseAndInstalledAppInfo
- type ReleaseIdentifier
- func (*ReleaseIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseIdentifier) GetClusterConfig() *ClusterConfig
- func (x *ReleaseIdentifier) GetReleaseName() string
- func (x *ReleaseIdentifier) GetReleaseNamespace() string
- func (*ReleaseIdentifier) ProtoMessage()
- func (x *ReleaseIdentifier) ProtoReflect() protoreflect.Message
- func (x *ReleaseIdentifier) Reset()
- func (x *ReleaseIdentifier) String() string
- type ReleaseInfo
- func (*ReleaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseInfo) GetDefaultValues() string
- func (x *ReleaseInfo) GetDeployedAppDetail() *DeployedAppDetail
- func (x *ReleaseInfo) GetMergedValues() string
- func (x *ReleaseInfo) GetOverrideValues() string
- func (x *ReleaseInfo) GetReadme() string
- func (x *ReleaseInfo) GetValuesSchemaJson() string
- func (*ReleaseInfo) ProtoMessage()
- func (x *ReleaseInfo) ProtoReflect() protoreflect.Message
- func (x *ReleaseInfo) Reset()
- func (x *ReleaseInfo) String() string
- type ReleaseStatus
- func (*ReleaseStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseStatus) GetDescription() string
- func (x *ReleaseStatus) GetMessage() string
- func (x *ReleaseStatus) GetStatus() string
- func (*ReleaseStatus) ProtoMessage()
- func (x *ReleaseStatus) ProtoReflect() protoreflect.Message
- func (x *ReleaseStatus) Reset()
- func (x *ReleaseStatus) String() string
- type ResourceNetworkingInfo
- func (*ResourceNetworkingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceNetworkingInfo) GetLabels() map[string]string
- func (*ResourceNetworkingInfo) ProtoMessage()
- func (x *ResourceNetworkingInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceNetworkingInfo) Reset()
- func (x *ResourceNetworkingInfo) String() string
- type ResourceNode
- func (*ResourceNode) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceNode) GetCanBeHibernated() bool
- func (x *ResourceNode) GetGroup() string
- func (x *ResourceNode) GetHealth() *HealthStatus
- func (x *ResourceNode) GetIsHibernated() bool
- func (x *ResourceNode) GetKind() string
- func (x *ResourceNode) GetName() string
- func (x *ResourceNode) GetNamespace() string
- func (x *ResourceNode) GetNetworkingInfo() *ResourceNetworkingInfo
- func (x *ResourceNode) GetParentRefs() []*ResourceRef
- func (x *ResourceNode) GetResourceVersion() string
- func (x *ResourceNode) GetUid() string
- func (x *ResourceNode) GetVersion() string
- func (*ResourceNode) ProtoMessage()
- func (x *ResourceNode) ProtoReflect() protoreflect.Message
- func (x *ResourceNode) Reset()
- func (x *ResourceNode) String() string
- type ResourceRef
- func (*ResourceRef) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRef) GetGroup() string
- func (x *ResourceRef) GetKind() string
- func (x *ResourceRef) GetName() string
- func (x *ResourceRef) GetNamespace() string
- func (x *ResourceRef) GetUid() string
- func (x *ResourceRef) GetVersion() string
- func (*ResourceRef) ProtoMessage()
- func (x *ResourceRef) ProtoReflect() protoreflect.Message
- func (x *ResourceRef) Reset()
- func (x *ResourceRef) String() string
- type ResourceRequestBean
- type ResourceTreeResponse
- func (*ResourceTreeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTreeResponse) GetNodes() []*ResourceNode
- func (x *ResourceTreeResponse) GetPodMetadata() []*PodMetadata
- func (*ResourceTreeResponse) ProtoMessage()
- func (x *ResourceTreeResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceTreeResponse) Reset()
- func (x *ResourceTreeResponse) String() string
- type RollbackReleaseRequest
- func (*RollbackReleaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
- func (x *RollbackReleaseRequest) GetVersion() int32
- func (*RollbackReleaseRequest) ProtoMessage()
- func (x *RollbackReleaseRequest) ProtoReflect() protoreflect.Message
- func (x *RollbackReleaseRequest) Reset()
- func (x *RollbackReleaseRequest) String() string
- type TemplateChartResponse
- func (*TemplateChartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateChartResponse) GetGeneratedManifest() string
- func (*TemplateChartResponse) ProtoMessage()
- func (x *TemplateChartResponse) ProtoReflect() protoreflect.Message
- func (x *TemplateChartResponse) Reset()
- func (x *TemplateChartResponse) String() string
- type UnimplementedApplicationServiceServer
- func (UnimplementedApplicationServiceServer) GetAppDetail(context.Context, *AppDetailRequest) (*AppDetail, error)
- func (UnimplementedApplicationServiceServer) GetDeploymentDetail(context.Context, *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
- func (UnimplementedApplicationServiceServer) GetDeploymentHistory(context.Context, *AppDetailRequest) (*HelmAppDeploymentHistory, error)
- func (UnimplementedApplicationServiceServer) GetDesiredManifest(context.Context, *ObjectRequest) (*DesiredManifestResponse, error)
- func (UnimplementedApplicationServiceServer) GetValuesYaml(context.Context, *AppDetailRequest) (*ReleaseInfo, error)
- func (UnimplementedApplicationServiceServer) Hibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
- func (UnimplementedApplicationServiceServer) InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error)
- func (UnimplementedApplicationServiceServer) InstallReleaseWithCustomChart(context.Context, *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
- func (UnimplementedApplicationServiceServer) IsReleaseInstalled(context.Context, *ReleaseIdentifier) (*BooleanResponse, error)
- func (UnimplementedApplicationServiceServer) ListApplications(*AppListRequest, ApplicationService_ListApplicationsServer) error
- func (UnimplementedApplicationServiceServer) RollbackRelease(context.Context, *RollbackReleaseRequest) (*BooleanResponse, error)
- func (UnimplementedApplicationServiceServer) TemplateChart(context.Context, *InstallReleaseRequest) (*TemplateChartResponse, error)
- func (UnimplementedApplicationServiceServer) UnHibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
- func (UnimplementedApplicationServiceServer) UninstallRelease(context.Context, *ReleaseIdentifier) (*UninstallReleaseResponse, error)
- func (UnimplementedApplicationServiceServer) UpgradeRelease(context.Context, *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
- func (UnimplementedApplicationServiceServer) UpgradeReleaseWithChartInfo(context.Context, *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
- type UninstallReleaseResponse
- func (*UninstallReleaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UninstallReleaseResponse) GetSuccess() bool
- func (*UninstallReleaseResponse) ProtoMessage()
- func (x *UninstallReleaseResponse) ProtoReflect() protoreflect.Message
- func (x *UninstallReleaseResponse) Reset()
- func (x *UninstallReleaseResponse) String() string
- type UnsafeApplicationServiceServer
- type UpgradeReleaseRequest
- func (*UpgradeReleaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
- func (x *UpgradeReleaseRequest) GetValuesYaml() string
- func (*UpgradeReleaseRequest) ProtoMessage()
- func (x *UpgradeReleaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpgradeReleaseRequest) Reset()
- func (x *UpgradeReleaseRequest) String() string
- type UpgradeReleaseResponse
- func (*UpgradeReleaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeReleaseResponse) GetSuccess() bool
- func (*UpgradeReleaseResponse) ProtoMessage()
- func (x *UpgradeReleaseResponse) ProtoReflect() protoreflect.Message
- func (x *UpgradeReleaseResponse) Reset()
- func (x *UpgradeReleaseResponse) String() string
Constants ¶
const DEFAULT_CLUSTER = "default_cluster"
Variables ¶
var ApplicationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ApplicationService", HandlerType: (*ApplicationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAppDetail", Handler: _ApplicationService_GetAppDetail_Handler, }, { MethodName: "Hibernate", Handler: _ApplicationService_Hibernate_Handler, }, { MethodName: "UnHibernate", Handler: _ApplicationService_UnHibernate_Handler, }, { MethodName: "GetDeploymentHistory", Handler: _ApplicationService_GetDeploymentHistory_Handler, }, { MethodName: "GetValuesYaml", Handler: _ApplicationService_GetValuesYaml_Handler, }, { MethodName: "GetDesiredManifest", Handler: _ApplicationService_GetDesiredManifest_Handler, }, { MethodName: "UninstallRelease", Handler: _ApplicationService_UninstallRelease_Handler, }, { MethodName: "UpgradeRelease", Handler: _ApplicationService_UpgradeRelease_Handler, }, { MethodName: "GetDeploymentDetail", Handler: _ApplicationService_GetDeploymentDetail_Handler, }, { MethodName: "InstallRelease", Handler: _ApplicationService_InstallRelease_Handler, }, { MethodName: "UpgradeReleaseWithChartInfo", Handler: _ApplicationService_UpgradeReleaseWithChartInfo_Handler, }, { MethodName: "IsReleaseInstalled", Handler: _ApplicationService_IsReleaseInstalled_Handler, }, { MethodName: "RollbackRelease", Handler: _ApplicationService_RollbackRelease_Handler, }, { MethodName: "TemplateChart", Handler: _ApplicationService_TemplateChart_Handler, }, { MethodName: "InstallReleaseWithCustomChart", Handler: _ApplicationService_InstallReleaseWithCustomChart_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListApplications", Handler: _ApplicationService_ListApplications_Handler, ServerStreams: true, }, }, Metadata: "grpc/applist.proto", }
ApplicationService_ServiceDesc is the grpc.ServiceDesc for ApplicationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_grpc_applist_proto protoreflect.FileDescriptor
var HelmAppWireSet = wire.NewSet( NewHelmAppClientImpl, wire.Bind(new(HelmAppClient), new(*HelmAppClientImpl)), NewHelmAppServiceImpl, wire.Bind(new(HelmAppService), new(*HelmAppServiceImpl)), NewHelmAppRestHandlerImpl, wire.Bind(new(HelmAppRestHandler), new(*HelmAppRestHandlerImpl)), NewHelmAppRouterImpl, wire.Bind(new(HelmAppRouter), new(*HelmAppRouterImpl)), GetConfig, rbac.NewEnforcerUtilHelmImpl, wire.Bind(new(rbac.EnforcerUtilHelm), new(*rbac.EnforcerUtilHelmImpl)), )
Functions ¶
func RegisterApplicationServiceServer ¶
func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)
Types ¶
type AppDetail ¶
type AppDetail struct { ApplicationStatus string `protobuf:"bytes,1,opt,name=applicationStatus,proto3" json:"applicationStatus,omitempty"` ReleaseStatus *ReleaseStatus `protobuf:"bytes,2,opt,name=releaseStatus,proto3" json:"releaseStatus,omitempty"` LastDeployed *timestamp.Timestamp `protobuf:"bytes,6,opt,name=lastDeployed,proto3" json:"lastDeployed,omitempty"` ChartMetadata *ChartMetadata `protobuf:"bytes,7,opt,name=chartMetadata,proto3" json:"chartMetadata,omitempty"` ResourceTreeResponse *ResourceTreeResponse `protobuf:"bytes,8,opt,name=resourceTreeResponse,proto3" json:"resourceTreeResponse,omitempty"` EnvironmentDetails *EnvironmentDetails `protobuf:"bytes,9,opt,name=environmentDetails,proto3" json:"environmentDetails,omitempty"` // contains filtered or unexported fields }
func (*AppDetail) Descriptor
deprecated
func (*AppDetail) GetApplicationStatus ¶
func (*AppDetail) GetChartMetadata ¶
func (x *AppDetail) GetChartMetadata() *ChartMetadata
func (*AppDetail) GetEnvironmentDetails ¶
func (x *AppDetail) GetEnvironmentDetails() *EnvironmentDetails
func (*AppDetail) GetLastDeployed ¶
func (*AppDetail) GetReleaseStatus ¶
func (x *AppDetail) GetReleaseStatus() *ReleaseStatus
func (*AppDetail) GetResourceTreeResponse ¶
func (x *AppDetail) GetResourceTreeResponse() *ResourceTreeResponse
func (*AppDetail) ProtoMessage ¶
func (*AppDetail) ProtoMessage()
func (*AppDetail) ProtoReflect ¶
func (x *AppDetail) ProtoReflect() protoreflect.Message
type AppDetailAndInstalledAppInfo ¶ added in v0.3.17
type AppDetailAndInstalledAppInfo struct { InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"` AppDetail *AppDetail `json:"appDetail"` }
type AppDetailRequest ¶
type AppDetailRequest struct { ClusterConfig *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ReleaseName string `protobuf:"bytes,3,opt,name=ReleaseName,proto3" json:"ReleaseName,omitempty"` // contains filtered or unexported fields }
func (*AppDetailRequest) Descriptor
deprecated
func (*AppDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppDetailRequest.ProtoReflect.Descriptor instead.
func (*AppDetailRequest) GetClusterConfig ¶
func (x *AppDetailRequest) GetClusterConfig() *ClusterConfig
func (*AppDetailRequest) GetNamespace ¶
func (x *AppDetailRequest) GetNamespace() string
func (*AppDetailRequest) GetReleaseName ¶
func (x *AppDetailRequest) GetReleaseName() string
func (*AppDetailRequest) ProtoMessage ¶
func (*AppDetailRequest) ProtoMessage()
func (*AppDetailRequest) ProtoReflect ¶
func (x *AppDetailRequest) ProtoReflect() protoreflect.Message
func (*AppDetailRequest) Reset ¶
func (x *AppDetailRequest) Reset()
func (*AppDetailRequest) String ¶
func (x *AppDetailRequest) String() string
type AppIdentifier ¶
type AppListRequest ¶
type AppListRequest struct { Clusters []*ClusterConfig `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*AppListRequest) Descriptor
deprecated
func (*AppListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppListRequest.ProtoReflect.Descriptor instead.
func (*AppListRequest) GetClusters ¶
func (x *AppListRequest) GetClusters() []*ClusterConfig
func (*AppListRequest) ProtoMessage ¶
func (*AppListRequest) ProtoMessage()
func (*AppListRequest) ProtoReflect ¶
func (x *AppListRequest) ProtoReflect() protoreflect.Message
func (*AppListRequest) Reset ¶
func (x *AppListRequest) Reset()
func (*AppListRequest) String ¶
func (x *AppListRequest) String() string
type ApplicationServiceClient ¶
type ApplicationServiceClient interface { ListApplications(ctx context.Context, in *AppListRequest, opts ...grpc.CallOption) (ApplicationService_ListApplicationsClient, error) GetAppDetail(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*AppDetail, error) Hibernate(ctx context.Context, in *HibernateRequest, opts ...grpc.CallOption) (*HibernateResponse, error) UnHibernate(ctx context.Context, in *HibernateRequest, opts ...grpc.CallOption) (*HibernateResponse, error) GetDeploymentHistory(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*HelmAppDeploymentHistory, error) GetValuesYaml(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*ReleaseInfo, error) GetDesiredManifest(ctx context.Context, in *ObjectRequest, opts ...grpc.CallOption) (*DesiredManifestResponse, error) UninstallRelease(ctx context.Context, in *ReleaseIdentifier, opts ...grpc.CallOption) (*UninstallReleaseResponse, error) UpgradeRelease(ctx context.Context, in *UpgradeReleaseRequest, opts ...grpc.CallOption) (*UpgradeReleaseResponse, error) GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest, opts ...grpc.CallOption) (*DeploymentDetailResponse, error) InstallRelease(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*InstallReleaseResponse, error) UpgradeReleaseWithChartInfo(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*UpgradeReleaseResponse, error) IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier, opts ...grpc.CallOption) (*BooleanResponse, error) RollbackRelease(ctx context.Context, in *RollbackReleaseRequest, opts ...grpc.CallOption) (*BooleanResponse, error) TemplateChart(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*TemplateChartResponse, error) InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest, opts ...grpc.CallOption) (*HelmInstallCustomResponse, error) }
ApplicationServiceClient is the client API for ApplicationService 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 NewApplicationServiceClient ¶
func NewApplicationServiceClient(cc grpc.ClientConnInterface) ApplicationServiceClient
type ApplicationServiceServer ¶
type ApplicationServiceServer interface { ListApplications(*AppListRequest, ApplicationService_ListApplicationsServer) error GetAppDetail(context.Context, *AppDetailRequest) (*AppDetail, error) Hibernate(context.Context, *HibernateRequest) (*HibernateResponse, error) UnHibernate(context.Context, *HibernateRequest) (*HibernateResponse, error) GetDeploymentHistory(context.Context, *AppDetailRequest) (*HelmAppDeploymentHistory, error) GetValuesYaml(context.Context, *AppDetailRequest) (*ReleaseInfo, error) GetDesiredManifest(context.Context, *ObjectRequest) (*DesiredManifestResponse, error) UninstallRelease(context.Context, *ReleaseIdentifier) (*UninstallReleaseResponse, error) UpgradeRelease(context.Context, *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error) GetDeploymentDetail(context.Context, *DeploymentDetailRequest) (*DeploymentDetailResponse, error) InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error) UpgradeReleaseWithChartInfo(context.Context, *InstallReleaseRequest) (*UpgradeReleaseResponse, error) IsReleaseInstalled(context.Context, *ReleaseIdentifier) (*BooleanResponse, error) RollbackRelease(context.Context, *RollbackReleaseRequest) (*BooleanResponse, error) TemplateChart(context.Context, *InstallReleaseRequest) (*TemplateChartResponse, error) InstallReleaseWithCustomChart(context.Context, *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error) // contains filtered or unexported methods }
ApplicationServiceServer is the server API for ApplicationService service. All implementations must embed UnimplementedApplicationServiceServer for forward compatibility
type ApplicationService_ListApplicationsClient ¶
type ApplicationService_ListApplicationsClient interface { Recv() (*DeployedAppList, error) grpc.ClientStream }
type ApplicationService_ListApplicationsServer ¶
type ApplicationService_ListApplicationsServer interface { Send(*DeployedAppList) error grpc.ServerStream }
type BooleanResponse ¶ added in v0.3.20
type BooleanResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*BooleanResponse) Descriptor
deprecated
added in
v0.3.20
func (*BooleanResponse) Descriptor() ([]byte, []int)
Deprecated: Use BooleanResponse.ProtoReflect.Descriptor instead.
func (*BooleanResponse) GetResult ¶ added in v0.3.20
func (x *BooleanResponse) GetResult() bool
func (*BooleanResponse) ProtoMessage ¶ added in v0.3.20
func (*BooleanResponse) ProtoMessage()
func (*BooleanResponse) ProtoReflect ¶ added in v0.3.20
func (x *BooleanResponse) ProtoReflect() protoreflect.Message
func (*BooleanResponse) Reset ¶ added in v0.3.20
func (x *BooleanResponse) Reset()
func (*BooleanResponse) String ¶ added in v0.3.20
func (x *BooleanResponse) String() string
type ChartContent ¶ added in v0.4.14
type ChartContent struct { Content []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*ChartContent) Descriptor
deprecated
added in
v0.4.14
func (*ChartContent) Descriptor() ([]byte, []int)
Deprecated: Use ChartContent.ProtoReflect.Descriptor instead.
func (*ChartContent) GetContent ¶ added in v0.4.14
func (x *ChartContent) GetContent() []byte
func (*ChartContent) ProtoMessage ¶ added in v0.4.14
func (*ChartContent) ProtoMessage()
func (*ChartContent) ProtoReflect ¶ added in v0.4.14
func (x *ChartContent) ProtoReflect() protoreflect.Message
func (*ChartContent) Reset ¶ added in v0.4.14
func (x *ChartContent) Reset()
func (*ChartContent) String ¶ added in v0.4.14
func (x *ChartContent) String() string
type ChartMetadata ¶
type ChartMetadata struct { ChartName string `protobuf:"bytes,1,opt,name=chartName,proto3" json:"chartName,omitempty"` ChartVersion string `protobuf:"bytes,2,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"` Home string `protobuf:"bytes,3,opt,name=home,proto3" json:"home,omitempty"` Sources []string `protobuf:"bytes,4,rep,name=sources,proto3" json:"sources,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Contains the rendered templates/NOTES.txt Notes string `protobuf:"bytes,6,opt,name=notes,proto3" json:"notes,omitempty"` // contains filtered or unexported fields }
func (*ChartMetadata) Descriptor
deprecated
func (*ChartMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ChartMetadata.ProtoReflect.Descriptor instead.
func (*ChartMetadata) GetChartName ¶
func (x *ChartMetadata) GetChartName() string
func (*ChartMetadata) GetChartVersion ¶
func (x *ChartMetadata) GetChartVersion() string
func (*ChartMetadata) GetDescription ¶
func (x *ChartMetadata) GetDescription() string
func (*ChartMetadata) GetHome ¶
func (x *ChartMetadata) GetHome() string
func (*ChartMetadata) GetNotes ¶ added in v0.3.25
func (x *ChartMetadata) GetNotes() string
func (*ChartMetadata) GetSources ¶
func (x *ChartMetadata) GetSources() []string
func (*ChartMetadata) ProtoMessage ¶
func (*ChartMetadata) ProtoMessage()
func (*ChartMetadata) ProtoReflect ¶
func (x *ChartMetadata) ProtoReflect() protoreflect.Message
func (*ChartMetadata) Reset ¶
func (x *ChartMetadata) Reset()
func (*ChartMetadata) String ¶
func (x *ChartMetadata) String() string
type ChartRepository ¶ added in v0.3.17
type ChartRepository struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*ChartRepository) Descriptor
deprecated
added in
v0.3.17
func (*ChartRepository) Descriptor() ([]byte, []int)
Deprecated: Use ChartRepository.ProtoReflect.Descriptor instead.
func (*ChartRepository) GetName ¶ added in v0.3.17
func (x *ChartRepository) GetName() string
func (*ChartRepository) GetPassword ¶ added in v0.3.17
func (x *ChartRepository) GetPassword() string
func (*ChartRepository) GetUrl ¶ added in v0.3.17
func (x *ChartRepository) GetUrl() string
func (*ChartRepository) GetUsername ¶ added in v0.3.17
func (x *ChartRepository) GetUsername() string
func (*ChartRepository) ProtoMessage ¶ added in v0.3.17
func (*ChartRepository) ProtoMessage()
func (*ChartRepository) ProtoReflect ¶ added in v0.3.17
func (x *ChartRepository) ProtoReflect() protoreflect.Message
func (*ChartRepository) Reset ¶ added in v0.3.17
func (x *ChartRepository) Reset()
func (*ChartRepository) String ¶ added in v0.3.17
func (x *ChartRepository) String() string
type ClusterConfig ¶
type ClusterConfig struct { ApiServerUrl string `protobuf:"bytes,1,opt,name=apiServerUrl,proto3" json:"apiServerUrl,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` ClusterId int32 `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*ClusterConfig) Descriptor
deprecated
func (*ClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.
func (*ClusterConfig) GetApiServerUrl ¶
func (x *ClusterConfig) GetApiServerUrl() string
func (*ClusterConfig) GetClusterId ¶
func (x *ClusterConfig) GetClusterId() int32
func (*ClusterConfig) GetClusterName ¶
func (x *ClusterConfig) GetClusterName() string
func (*ClusterConfig) GetToken ¶
func (x *ClusterConfig) GetToken() string
func (*ClusterConfig) ProtoMessage ¶
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) ProtoReflect ¶
func (x *ClusterConfig) ProtoReflect() protoreflect.Message
func (*ClusterConfig) Reset ¶
func (x *ClusterConfig) Reset()
func (*ClusterConfig) String ¶
func (x *ClusterConfig) String() string
type DeployedAppDetail ¶
type DeployedAppDetail struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"` ChartName string `protobuf:"bytes,3,opt,name=chartName,proto3" json:"chartName,omitempty"` ChartAvatar string `protobuf:"bytes,4,opt,name=chartAvatar,proto3" json:"chartAvatar,omitempty"` EnvironmentDetail *EnvironmentDetails `protobuf:"bytes,5,opt,name=environmentDetail,proto3" json:"environmentDetail,omitempty"` LastDeployed *timestamp.Timestamp `protobuf:"bytes,6,opt,name=LastDeployed,proto3" json:"LastDeployed,omitempty"` ChartVersion string `protobuf:"bytes,7,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"` // contains filtered or unexported fields }
func (*DeployedAppDetail) Descriptor
deprecated
func (*DeployedAppDetail) Descriptor() ([]byte, []int)
Deprecated: Use DeployedAppDetail.ProtoReflect.Descriptor instead.
func (*DeployedAppDetail) GetAppId ¶
func (x *DeployedAppDetail) GetAppId() string
func (*DeployedAppDetail) GetAppName ¶
func (x *DeployedAppDetail) GetAppName() string
func (*DeployedAppDetail) GetChartAvatar ¶
func (x *DeployedAppDetail) GetChartAvatar() string
func (*DeployedAppDetail) GetChartName ¶
func (x *DeployedAppDetail) GetChartName() string
func (*DeployedAppDetail) GetChartVersion ¶
func (x *DeployedAppDetail) GetChartVersion() string
func (*DeployedAppDetail) GetEnvironmentDetail ¶
func (x *DeployedAppDetail) GetEnvironmentDetail() *EnvironmentDetails
func (*DeployedAppDetail) GetLastDeployed ¶
func (x *DeployedAppDetail) GetLastDeployed() *timestamp.Timestamp
func (*DeployedAppDetail) ProtoMessage ¶
func (*DeployedAppDetail) ProtoMessage()
func (*DeployedAppDetail) ProtoReflect ¶
func (x *DeployedAppDetail) ProtoReflect() protoreflect.Message
func (*DeployedAppDetail) Reset ¶
func (x *DeployedAppDetail) Reset()
func (*DeployedAppDetail) String ¶
func (x *DeployedAppDetail) String() string
type DeployedAppList ¶
type DeployedAppList struct { DeployedAppDetail []*DeployedAppDetail `protobuf:"bytes,1,rep,name=DeployedAppDetail,proto3" json:"DeployedAppDetail,omitempty"` ClusterId int32 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` ErrorMsg string `protobuf:"bytes,3,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` Errored bool `protobuf:"varint,4,opt,name=errored,proto3" json:"errored,omitempty"` // contains filtered or unexported fields }
func (*DeployedAppList) Descriptor
deprecated
func (*DeployedAppList) Descriptor() ([]byte, []int)
Deprecated: Use DeployedAppList.ProtoReflect.Descriptor instead.
func (*DeployedAppList) GetClusterId ¶
func (x *DeployedAppList) GetClusterId() int32
func (*DeployedAppList) GetDeployedAppDetail ¶
func (x *DeployedAppList) GetDeployedAppDetail() []*DeployedAppDetail
func (*DeployedAppList) GetErrorMsg ¶
func (x *DeployedAppList) GetErrorMsg() string
func (*DeployedAppList) GetErrored ¶
func (x *DeployedAppList) GetErrored() bool
func (*DeployedAppList) ProtoMessage ¶
func (*DeployedAppList) ProtoMessage()
func (*DeployedAppList) ProtoReflect ¶
func (x *DeployedAppList) ProtoReflect() protoreflect.Message
func (*DeployedAppList) Reset ¶
func (x *DeployedAppList) Reset()
func (*DeployedAppList) String ¶
func (x *DeployedAppList) String() string
type DeploymentDetailRequest ¶ added in v0.3.15
type DeploymentDetailRequest struct { ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"` DeploymentVersion int32 `protobuf:"varint,2,opt,name=deploymentVersion,proto3" json:"deploymentVersion,omitempty"` // contains filtered or unexported fields }
func (*DeploymentDetailRequest) Descriptor
deprecated
added in
v0.3.15
func (*DeploymentDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDetailRequest.ProtoReflect.Descriptor instead.
func (*DeploymentDetailRequest) GetDeploymentVersion ¶ added in v0.3.15
func (x *DeploymentDetailRequest) GetDeploymentVersion() int32
func (*DeploymentDetailRequest) GetReleaseIdentifier ¶ added in v0.3.15
func (x *DeploymentDetailRequest) GetReleaseIdentifier() *ReleaseIdentifier
func (*DeploymentDetailRequest) ProtoMessage ¶ added in v0.3.15
func (*DeploymentDetailRequest) ProtoMessage()
func (*DeploymentDetailRequest) ProtoReflect ¶ added in v0.3.15
func (x *DeploymentDetailRequest) ProtoReflect() protoreflect.Message
func (*DeploymentDetailRequest) Reset ¶ added in v0.3.15
func (x *DeploymentDetailRequest) Reset()
func (*DeploymentDetailRequest) String ¶ added in v0.3.15
func (x *DeploymentDetailRequest) String() string
type DeploymentDetailResponse ¶ added in v0.3.15
type DeploymentDetailResponse struct { Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` ValuesYaml string `protobuf:"bytes,2,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"` // contains filtered or unexported fields }
func (*DeploymentDetailResponse) Descriptor
deprecated
added in
v0.3.15
func (*DeploymentDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentDetailResponse.ProtoReflect.Descriptor instead.
func (*DeploymentDetailResponse) GetManifest ¶ added in v0.3.15
func (x *DeploymentDetailResponse) GetManifest() string
func (*DeploymentDetailResponse) GetValuesYaml ¶ added in v0.3.15
func (x *DeploymentDetailResponse) GetValuesYaml() string
func (*DeploymentDetailResponse) ProtoMessage ¶ added in v0.3.15
func (*DeploymentDetailResponse) ProtoMessage()
func (*DeploymentDetailResponse) ProtoReflect ¶ added in v0.3.15
func (x *DeploymentDetailResponse) ProtoReflect() protoreflect.Message
func (*DeploymentDetailResponse) Reset ¶ added in v0.3.15
func (x *DeploymentDetailResponse) Reset()
func (*DeploymentDetailResponse) String ¶ added in v0.3.15
func (x *DeploymentDetailResponse) String() string
type DeploymentHistoryAndInstalledAppInfo ¶ added in v0.3.21
type DeploymentHistoryAndInstalledAppInfo struct { InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"` DeploymentHistory []*HelmAppDeploymentDetail `json:"deploymentHistory"` }
type DesiredManifestResponse ¶
type DesiredManifestResponse struct { Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` // contains filtered or unexported fields }
func (*DesiredManifestResponse) Descriptor
deprecated
func (*DesiredManifestResponse) Descriptor() ([]byte, []int)
Deprecated: Use DesiredManifestResponse.ProtoReflect.Descriptor instead.
func (*DesiredManifestResponse) GetManifest ¶
func (x *DesiredManifestResponse) GetManifest() string
func (*DesiredManifestResponse) ProtoMessage ¶
func (*DesiredManifestResponse) ProtoMessage()
func (*DesiredManifestResponse) ProtoReflect ¶
func (x *DesiredManifestResponse) ProtoReflect() protoreflect.Message
func (*DesiredManifestResponse) Reset ¶
func (x *DesiredManifestResponse) Reset()
func (*DesiredManifestResponse) String ¶
func (x *DesiredManifestResponse) String() string
type EnvironmentDetails ¶
type EnvironmentDetails struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` ClusterId int32 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*EnvironmentDetails) Descriptor
deprecated
func (*EnvironmentDetails) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentDetails.ProtoReflect.Descriptor instead.
func (*EnvironmentDetails) GetClusterId ¶
func (x *EnvironmentDetails) GetClusterId() int32
func (*EnvironmentDetails) GetClusterName ¶
func (x *EnvironmentDetails) GetClusterName() string
func (*EnvironmentDetails) GetNamespace ¶
func (x *EnvironmentDetails) GetNamespace() string
func (*EnvironmentDetails) ProtoMessage ¶
func (*EnvironmentDetails) ProtoMessage()
func (*EnvironmentDetails) ProtoReflect ¶
func (x *EnvironmentDetails) ProtoReflect() protoreflect.Message
func (*EnvironmentDetails) Reset ¶
func (x *EnvironmentDetails) Reset()
func (*EnvironmentDetails) String ¶
func (x *EnvironmentDetails) String() string
type HealthStatus ¶
type HealthStatus struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HealthStatus) Descriptor
deprecated
func (*HealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
func (*HealthStatus) GetMessage ¶
func (x *HealthStatus) GetMessage() string
func (*HealthStatus) GetStatus ¶
func (x *HealthStatus) GetStatus() string
func (*HealthStatus) ProtoMessage ¶
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) ProtoReflect ¶
func (x *HealthStatus) ProtoReflect() protoreflect.Message
func (*HealthStatus) Reset ¶
func (x *HealthStatus) Reset()
func (*HealthStatus) String ¶
func (x *HealthStatus) String() string
type HelmAppClient ¶
type HelmAppClient interface { ListApplication(req *AppListRequest) (ApplicationService_ListApplicationsClient, error) GetAppDetail(ctx context.Context, in *AppDetailRequest) (*AppDetail, error) Hibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error) UnHibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error) GetDeploymentHistory(ctx context.Context, in *AppDetailRequest) (*HelmAppDeploymentHistory, error) GetValuesYaml(ctx context.Context, in *AppDetailRequest) (*ReleaseInfo, error) GetDesiredManifest(ctx context.Context, in *ObjectRequest) (*DesiredManifestResponse, error) DeleteApplication(ctx context.Context, in *ReleaseIdentifier) (*UninstallReleaseResponse, error) UpdateApplication(ctx context.Context, in *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error) GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest) (*DeploymentDetailResponse, error) InstallRelease(ctx context.Context, in *InstallReleaseRequest) (*InstallReleaseResponse, error) UpdateApplicationWithChartInfo(ctx context.Context, in *InstallReleaseRequest) (*UpgradeReleaseResponse, error) IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier) (*BooleanResponse, error) RollbackRelease(ctx context.Context, in *RollbackReleaseRequest) (*BooleanResponse, error) TemplateChart(ctx context.Context, in *InstallReleaseRequest) (*TemplateChartResponse, error) InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error) }
type HelmAppClientImpl ¶
type HelmAppClientImpl struct {
// contains filtered or unexported fields
}
func NewHelmAppClientImpl ¶
func NewHelmAppClientImpl(logger *zap.SugaredLogger, helmClientConfig *HelmClientConfig) *HelmAppClientImpl
func (*HelmAppClientImpl) DeleteApplication ¶
func (impl *HelmAppClientImpl) DeleteApplication(ctx context.Context, in *ReleaseIdentifier) (*UninstallReleaseResponse, error)
func (*HelmAppClientImpl) GetAppDetail ¶
func (impl *HelmAppClientImpl) GetAppDetail(ctx context.Context, in *AppDetailRequest) (*AppDetail, error)
func (*HelmAppClientImpl) GetDeploymentDetail ¶ added in v0.3.15
func (impl *HelmAppClientImpl) GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
func (*HelmAppClientImpl) GetDeploymentHistory ¶
func (impl *HelmAppClientImpl) GetDeploymentHistory(ctx context.Context, in *AppDetailRequest) (*HelmAppDeploymentHistory, error)
func (*HelmAppClientImpl) GetDesiredManifest ¶
func (impl *HelmAppClientImpl) GetDesiredManifest(ctx context.Context, in *ObjectRequest) (*DesiredManifestResponse, error)
func (*HelmAppClientImpl) GetValuesYaml ¶
func (impl *HelmAppClientImpl) GetValuesYaml(ctx context.Context, in *AppDetailRequest) (*ReleaseInfo, error)
func (*HelmAppClientImpl) Hibernate ¶
func (impl *HelmAppClientImpl) Hibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
func (*HelmAppClientImpl) InstallRelease ¶ added in v0.3.17
func (impl *HelmAppClientImpl) InstallRelease(ctx context.Context, in *InstallReleaseRequest) (*InstallReleaseResponse, error)
func (*HelmAppClientImpl) InstallReleaseWithCustomChart ¶ added in v0.4.14
func (impl *HelmAppClientImpl) InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
func (*HelmAppClientImpl) IsReleaseInstalled ¶ added in v0.3.20
func (impl *HelmAppClientImpl) IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier) (*BooleanResponse, error)
func (*HelmAppClientImpl) ListApplication ¶
func (impl *HelmAppClientImpl) ListApplication(req *AppListRequest) (ApplicationService_ListApplicationsClient, error)
func (*HelmAppClientImpl) RollbackRelease ¶ added in v0.3.21
func (impl *HelmAppClientImpl) RollbackRelease(ctx context.Context, in *RollbackReleaseRequest) (*BooleanResponse, error)
func (*HelmAppClientImpl) TemplateChart ¶ added in v0.4.4
func (impl *HelmAppClientImpl) TemplateChart(ctx context.Context, in *InstallReleaseRequest) (*TemplateChartResponse, error)
func (*HelmAppClientImpl) UnHibernate ¶
func (impl *HelmAppClientImpl) UnHibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
func (*HelmAppClientImpl) UpdateApplication ¶
func (impl *HelmAppClientImpl) UpdateApplication(ctx context.Context, in *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
func (*HelmAppClientImpl) UpdateApplicationWithChartInfo ¶ added in v0.3.17
func (impl *HelmAppClientImpl) UpdateApplicationWithChartInfo(ctx context.Context, in *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
type HelmAppDeploymentDetail ¶
type HelmAppDeploymentDetail struct { ChartMetadata *ChartMetadata `protobuf:"bytes,1,opt,name=chartMetadata,proto3" json:"chartMetadata,omitempty"` DockerImages []string `protobuf:"bytes,2,rep,name=dockerImages,proto3" json:"dockerImages,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` DeployedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deployedAt,proto3" json:"deployedAt,omitempty"` // contains filtered or unexported fields }
func (*HelmAppDeploymentDetail) Descriptor
deprecated
func (*HelmAppDeploymentDetail) Descriptor() ([]byte, []int)
Deprecated: Use HelmAppDeploymentDetail.ProtoReflect.Descriptor instead.
func (*HelmAppDeploymentDetail) GetChartMetadata ¶
func (x *HelmAppDeploymentDetail) GetChartMetadata() *ChartMetadata
func (*HelmAppDeploymentDetail) GetDeployedAt ¶
func (x *HelmAppDeploymentDetail) GetDeployedAt() *timestamp.Timestamp
func (*HelmAppDeploymentDetail) GetDockerImages ¶
func (x *HelmAppDeploymentDetail) GetDockerImages() []string
func (*HelmAppDeploymentDetail) GetVersion ¶
func (x *HelmAppDeploymentDetail) GetVersion() int32
func (*HelmAppDeploymentDetail) ProtoMessage ¶
func (*HelmAppDeploymentDetail) ProtoMessage()
func (*HelmAppDeploymentDetail) ProtoReflect ¶
func (x *HelmAppDeploymentDetail) ProtoReflect() protoreflect.Message
func (*HelmAppDeploymentDetail) Reset ¶
func (x *HelmAppDeploymentDetail) Reset()
func (*HelmAppDeploymentDetail) String ¶
func (x *HelmAppDeploymentDetail) String() string
type HelmAppDeploymentHistory ¶
type HelmAppDeploymentHistory struct { DeploymentHistory []*HelmAppDeploymentDetail `protobuf:"bytes,1,rep,name=deploymentHistory,proto3" json:"deploymentHistory,omitempty"` // contains filtered or unexported fields }
func (*HelmAppDeploymentHistory) Descriptor
deprecated
func (*HelmAppDeploymentHistory) Descriptor() ([]byte, []int)
Deprecated: Use HelmAppDeploymentHistory.ProtoReflect.Descriptor instead.
func (*HelmAppDeploymentHistory) GetDeploymentHistory ¶
func (x *HelmAppDeploymentHistory) GetDeploymentHistory() []*HelmAppDeploymentDetail
func (*HelmAppDeploymentHistory) ProtoMessage ¶
func (*HelmAppDeploymentHistory) ProtoMessage()
func (*HelmAppDeploymentHistory) ProtoReflect ¶
func (x *HelmAppDeploymentHistory) ProtoReflect() protoreflect.Message
func (*HelmAppDeploymentHistory) Reset ¶
func (x *HelmAppDeploymentHistory) Reset()
func (*HelmAppDeploymentHistory) String ¶
func (x *HelmAppDeploymentHistory) String() string
type HelmAppRestHandler ¶
type HelmAppRestHandler interface { ListApplications(w http.ResponseWriter, r *http.Request) GetApplicationDetail(w http.ResponseWriter, r *http.Request) Hibernate(w http.ResponseWriter, r *http.Request) UnHibernate(w http.ResponseWriter, r *http.Request) GetReleaseInfo(w http.ResponseWriter, r *http.Request) GetDesiredManifest(w http.ResponseWriter, r *http.Request) DeleteApplication(w http.ResponseWriter, r *http.Request) UpdateApplication(w http.ResponseWriter, r *http.Request) TemplateChart(w http.ResponseWriter, r *http.Request) }
type HelmAppRestHandlerImpl ¶
type HelmAppRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewHelmAppRestHandlerImpl ¶
func NewHelmAppRestHandlerImpl(logger *zap.SugaredLogger, helmAppService HelmAppService, enforcer casbin.Enforcer, clusterService cluster.ClusterService, enforcerUtil rbac.EnforcerUtilHelm, appStoreDeploymentCommonService appStoreDeploymentCommon.AppStoreDeploymentCommonService, userAuthService user.UserService) *HelmAppRestHandlerImpl
func (*HelmAppRestHandlerImpl) DeleteApplication ¶
func (handler *HelmAppRestHandlerImpl) DeleteApplication(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) GetApplicationDetail ¶
func (handler *HelmAppRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) GetDesiredManifest ¶
func (handler *HelmAppRestHandlerImpl) GetDesiredManifest(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) GetReleaseInfo ¶ added in v0.3.20
func (handler *HelmAppRestHandlerImpl) GetReleaseInfo(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) Hibernate ¶
func (handler *HelmAppRestHandlerImpl) Hibernate(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) ListApplications ¶
func (handler *HelmAppRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) TemplateChart ¶ added in v0.4.4
func (handler *HelmAppRestHandlerImpl) TemplateChart(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) UnHibernate ¶
func (handler *HelmAppRestHandlerImpl) UnHibernate(w http.ResponseWriter, r *http.Request)
func (*HelmAppRestHandlerImpl) UpdateApplication ¶
func (handler *HelmAppRestHandlerImpl) UpdateApplication(w http.ResponseWriter, r *http.Request)
type HelmAppRouter ¶
type HelmAppRouterImpl ¶
type HelmAppRouterImpl struct {
// contains filtered or unexported fields
}
func NewHelmAppRouterImpl ¶
func NewHelmAppRouterImpl(helmAppRestHandler HelmAppRestHandler) *HelmAppRouterImpl
func (*HelmAppRouterImpl) InitAppListRouter ¶
func (impl *HelmAppRouterImpl) InitAppListRouter(helmRouter *mux.Router)
type HelmAppService ¶
type HelmAppService interface { ListHelmApplications(clusterIds []int, w http.ResponseWriter, token string, helmAuth func(token string, object string) bool) GetApplicationDetail(ctx context.Context, app *AppIdentifier) (*AppDetail, error) HibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error) UnHibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error) DecodeAppId(appId string) (*AppIdentifier, error) EncodeAppId(appIdentifier *AppIdentifier) string GetDeploymentHistory(ctx context.Context, app *AppIdentifier) (*HelmAppDeploymentHistory, error) GetValuesYaml(ctx context.Context, app *AppIdentifier) (*ReleaseInfo, error) GetDesiredManifest(ctx context.Context, app *AppIdentifier, resource *openapi.ResourceIdentifier) (*openapi.DesiredManifestResponse, error) DeleteApplication(ctx context.Context, app *AppIdentifier) (*openapi.UninstallReleaseResponse, error) UpdateApplication(ctx context.Context, app *AppIdentifier, request *openapi.UpdateReleaseRequest) (*openapi.UpdateReleaseResponse, error) GetDeploymentDetail(ctx context.Context, app *AppIdentifier, version int32) (*openapi.HelmAppDeploymentManifestDetail, error) InstallRelease(ctx context.Context, clusterId int, installReleaseRequest *InstallReleaseRequest) (*InstallReleaseResponse, error) UpdateApplicationWithChartInfo(ctx context.Context, clusterId int, updateReleaseRequest *InstallReleaseRequest) (*openapi.UpdateReleaseResponse, error) IsReleaseInstalled(ctx context.Context, app *AppIdentifier) (bool, error) RollbackRelease(ctx context.Context, app *AppIdentifier, version int32) (bool, error) GetClusterConf(clusterId int) (*ClusterConfig, error) GetDevtronHelmAppIdentifier() *AppIdentifier UpdateApplicationWithChartInfoWithExtraValues(ctx context.Context, appIdentifier *AppIdentifier, chartRepository *ChartRepository, extraValues map[string]interface{}, extraValuesYamlUrl string, useLatestChartVersion bool) (*openapi.UpdateReleaseResponse, error) TemplateChart(ctx context.Context, templateChartRequest *openapi2.TemplateChartRequest) (*openapi2.TemplateChartResponse, error) }
type HelmAppServiceImpl ¶
type HelmAppServiceImpl struct {
// contains filtered or unexported fields
}
func NewHelmAppServiceImpl ¶
func NewHelmAppServiceImpl(Logger *zap.SugaredLogger, clusterService cluster.ClusterService, helmAppClient HelmAppClient, pump connector.Pump, enforcerUtil rbac.EnforcerUtilHelm, serverDataStore *serverDataStore.ServerDataStore, serverEnvConfig *serverEnvConfig.ServerEnvConfig, appStoreApplicationVersionRepository appStoreDiscoverRepository.AppStoreApplicationVersionRepository, environmentService cluster.EnvironmentService, pipelineRepository pipelineConfig.PipelineRepository, installedAppRepository repository.InstalledAppRepository) *HelmAppServiceImpl
func (*HelmAppServiceImpl) DecodeAppId ¶
func (impl *HelmAppServiceImpl) DecodeAppId(appId string) (*AppIdentifier, error)
func (*HelmAppServiceImpl) DeleteApplication ¶
func (impl *HelmAppServiceImpl) DeleteApplication(ctx context.Context, app *AppIdentifier) (*openapi.UninstallReleaseResponse, error)
func (*HelmAppServiceImpl) EncodeAppId ¶ added in v0.4.24
func (impl *HelmAppServiceImpl) EncodeAppId(appIdentifier *AppIdentifier) string
func (*HelmAppServiceImpl) GetApplicationDetail ¶
func (impl *HelmAppServiceImpl) GetApplicationDetail(ctx context.Context, app *AppIdentifier) (*AppDetail, error)
func (*HelmAppServiceImpl) GetClusterConf ¶ added in v0.3.24
func (impl *HelmAppServiceImpl) GetClusterConf(clusterId int) (*ClusterConfig, error)
func (*HelmAppServiceImpl) GetDeploymentDetail ¶ added in v0.3.15
func (impl *HelmAppServiceImpl) GetDeploymentDetail(ctx context.Context, app *AppIdentifier, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)
func (*HelmAppServiceImpl) GetDeploymentHistory ¶
func (impl *HelmAppServiceImpl) GetDeploymentHistory(ctx context.Context, app *AppIdentifier) (*HelmAppDeploymentHistory, error)
func (*HelmAppServiceImpl) GetDesiredManifest ¶
func (impl *HelmAppServiceImpl) GetDesiredManifest(ctx context.Context, app *AppIdentifier, resource *openapi.ResourceIdentifier) (*openapi.DesiredManifestResponse, error)
func (*HelmAppServiceImpl) GetDevtronHelmAppIdentifier ¶ added in v0.4.1
func (impl *HelmAppServiceImpl) GetDevtronHelmAppIdentifier() *AppIdentifier
func (*HelmAppServiceImpl) GetValuesYaml ¶
func (impl *HelmAppServiceImpl) GetValuesYaml(ctx context.Context, app *AppIdentifier) (*ReleaseInfo, error)
func (*HelmAppServiceImpl) HibernateApplication ¶
func (impl *HelmAppServiceImpl) HibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
func (*HelmAppServiceImpl) InstallRelease ¶ added in v0.3.17
func (impl *HelmAppServiceImpl) InstallRelease(ctx context.Context, clusterId int, installReleaseRequest *InstallReleaseRequest) (*InstallReleaseResponse, error)
func (*HelmAppServiceImpl) IsReleaseInstalled ¶ added in v0.3.20
func (impl *HelmAppServiceImpl) IsReleaseInstalled(ctx context.Context, app *AppIdentifier) (bool, error)
func (*HelmAppServiceImpl) ListHelmApplications ¶
func (impl *HelmAppServiceImpl) ListHelmApplications(clusterIds []int, w http.ResponseWriter, token string, helmAuth func(token string, object string) bool)
func (*HelmAppServiceImpl) RollbackRelease ¶ added in v0.3.21
func (impl *HelmAppServiceImpl) RollbackRelease(ctx context.Context, app *AppIdentifier, version int32) (bool, error)
func (*HelmAppServiceImpl) TemplateChart ¶ added in v0.4.4
func (impl *HelmAppServiceImpl) TemplateChart(ctx context.Context, templateChartRequest *openapi2.TemplateChartRequest) (*openapi2.TemplateChartResponse, error)
func (*HelmAppServiceImpl) UnHibernateApplication ¶
func (impl *HelmAppServiceImpl) UnHibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
func (*HelmAppServiceImpl) UpdateApplication ¶
func (impl *HelmAppServiceImpl) UpdateApplication(ctx context.Context, app *AppIdentifier, request *openapi.UpdateReleaseRequest) (*openapi.UpdateReleaseResponse, error)
func (*HelmAppServiceImpl) UpdateApplicationWithChartInfo ¶ added in v0.3.17
func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfo(ctx context.Context, clusterId int, updateReleaseRequest *InstallReleaseRequest) (*openapi.UpdateReleaseResponse, error)
func (*HelmAppServiceImpl) UpdateApplicationWithChartInfoWithExtraValues ¶ added in v0.4.1
func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfoWithExtraValues(ctx context.Context, appIdentifier *AppIdentifier, chartRepository *ChartRepository, extraValues map[string]interface{}, extraValuesYamlUrl string, useLatestChartVersion bool) (*openapi.UpdateReleaseResponse, error)
type HelmClientConfig ¶
type HelmClientConfig struct {
Url string `env:"HELM_CLIENT_URL" envDefault:"127.0.0.1:50051"`
}
func GetConfig ¶
func GetConfig() (*HelmClientConfig, error)
type HelmInstallCustomRequest ¶ added in v0.4.14
type HelmInstallCustomRequest struct { ValuesYaml string `protobuf:"bytes,1,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"` ChartContent *ChartContent `protobuf:"bytes,2,opt,name=chartContent,proto3" json:"chartContent,omitempty"` ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,3,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"` // contains filtered or unexported fields }
func (*HelmInstallCustomRequest) Descriptor
deprecated
added in
v0.4.14
func (*HelmInstallCustomRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelmInstallCustomRequest.ProtoReflect.Descriptor instead.
func (*HelmInstallCustomRequest) GetChartContent ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) GetChartContent() *ChartContent
func (*HelmInstallCustomRequest) GetReleaseIdentifier ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) GetReleaseIdentifier() *ReleaseIdentifier
func (*HelmInstallCustomRequest) GetValuesYaml ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) GetValuesYaml() string
func (*HelmInstallCustomRequest) ProtoMessage ¶ added in v0.4.14
func (*HelmInstallCustomRequest) ProtoMessage()
func (*HelmInstallCustomRequest) ProtoReflect ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) ProtoReflect() protoreflect.Message
func (*HelmInstallCustomRequest) Reset ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) Reset()
func (*HelmInstallCustomRequest) String ¶ added in v0.4.14
func (x *HelmInstallCustomRequest) String() string
type HelmInstallCustomResponse ¶ added in v0.4.14
type HelmInstallCustomResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*HelmInstallCustomResponse) Descriptor
deprecated
added in
v0.4.14
func (*HelmInstallCustomResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelmInstallCustomResponse.ProtoReflect.Descriptor instead.
func (*HelmInstallCustomResponse) GetSuccess ¶ added in v0.4.14
func (x *HelmInstallCustomResponse) GetSuccess() bool
func (*HelmInstallCustomResponse) ProtoMessage ¶ added in v0.4.14
func (*HelmInstallCustomResponse) ProtoMessage()
func (*HelmInstallCustomResponse) ProtoReflect ¶ added in v0.4.14
func (x *HelmInstallCustomResponse) ProtoReflect() protoreflect.Message
func (*HelmInstallCustomResponse) Reset ¶ added in v0.4.14
func (x *HelmInstallCustomResponse) Reset()
func (*HelmInstallCustomResponse) String ¶ added in v0.4.14
func (x *HelmInstallCustomResponse) String() string
type HibernateRequest ¶
type HibernateRequest struct { ClusterConfig *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"` ObjectIdentifier []*ObjectIdentifier `protobuf:"bytes,2,rep,name=objectIdentifier,proto3" json:"objectIdentifier,omitempty"` // contains filtered or unexported fields }
func (*HibernateRequest) Descriptor
deprecated
func (*HibernateRequest) Descriptor() ([]byte, []int)
Deprecated: Use HibernateRequest.ProtoReflect.Descriptor instead.
func (*HibernateRequest) GetClusterConfig ¶
func (x *HibernateRequest) GetClusterConfig() *ClusterConfig
func (*HibernateRequest) GetObjectIdentifier ¶
func (x *HibernateRequest) GetObjectIdentifier() []*ObjectIdentifier
func (*HibernateRequest) ProtoMessage ¶
func (*HibernateRequest) ProtoMessage()
func (*HibernateRequest) ProtoReflect ¶
func (x *HibernateRequest) ProtoReflect() protoreflect.Message
func (*HibernateRequest) Reset ¶
func (x *HibernateRequest) Reset()
func (*HibernateRequest) String ¶
func (x *HibernateRequest) String() string
type HibernateResponse ¶
type HibernateResponse struct { Status []*HibernateStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HibernateResponse) Descriptor
deprecated
func (*HibernateResponse) Descriptor() ([]byte, []int)
Deprecated: Use HibernateResponse.ProtoReflect.Descriptor instead.
func (*HibernateResponse) GetStatus ¶
func (x *HibernateResponse) GetStatus() []*HibernateStatus
func (*HibernateResponse) ProtoMessage ¶
func (*HibernateResponse) ProtoMessage()
func (*HibernateResponse) ProtoReflect ¶
func (x *HibernateResponse) ProtoReflect() protoreflect.Message
func (*HibernateResponse) Reset ¶
func (x *HibernateResponse) Reset()
func (*HibernateResponse) String ¶
func (x *HibernateResponse) String() string
type HibernateStatus ¶
type HibernateStatus struct { TargetObject *ObjectIdentifier `protobuf:"bytes,1,opt,name=targetObject,proto3" json:"targetObject,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` ErrorMsg string `protobuf:"bytes,3,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` // contains filtered or unexported fields }
func (*HibernateStatus) Descriptor
deprecated
func (*HibernateStatus) Descriptor() ([]byte, []int)
Deprecated: Use HibernateStatus.ProtoReflect.Descriptor instead.
func (*HibernateStatus) GetErrorMsg ¶
func (x *HibernateStatus) GetErrorMsg() string
func (*HibernateStatus) GetSuccess ¶
func (x *HibernateStatus) GetSuccess() bool
func (*HibernateStatus) GetTargetObject ¶
func (x *HibernateStatus) GetTargetObject() *ObjectIdentifier
func (*HibernateStatus) ProtoMessage ¶
func (*HibernateStatus) ProtoMessage()
func (*HibernateStatus) ProtoReflect ¶
func (x *HibernateStatus) ProtoReflect() protoreflect.Message
func (*HibernateStatus) Reset ¶
func (x *HibernateStatus) Reset()
func (*HibernateStatus) String ¶
func (x *HibernateStatus) String() string
type InstallReleaseRequest ¶ added in v0.3.17
type InstallReleaseRequest struct { ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"` ChartName string `protobuf:"bytes,2,opt,name=chartName,proto3" json:"chartName,omitempty"` ChartVersion string `protobuf:"bytes,3,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"` ValuesYaml string `protobuf:"bytes,4,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"` ChartRepository *ChartRepository `protobuf:"bytes,5,opt,name=chartRepository,proto3" json:"chartRepository,omitempty"` // contains filtered or unexported fields }
func (*InstallReleaseRequest) Descriptor
deprecated
added in
v0.3.17
func (*InstallReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallReleaseRequest.ProtoReflect.Descriptor instead.
func (*InstallReleaseRequest) GetChartName ¶ added in v0.3.17
func (x *InstallReleaseRequest) GetChartName() string
func (*InstallReleaseRequest) GetChartRepository ¶ added in v0.3.17
func (x *InstallReleaseRequest) GetChartRepository() *ChartRepository
func (*InstallReleaseRequest) GetChartVersion ¶ added in v0.3.17
func (x *InstallReleaseRequest) GetChartVersion() string
func (*InstallReleaseRequest) GetReleaseIdentifier ¶ added in v0.3.17
func (x *InstallReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
func (*InstallReleaseRequest) GetValuesYaml ¶ added in v0.3.17
func (x *InstallReleaseRequest) GetValuesYaml() string
func (*InstallReleaseRequest) ProtoMessage ¶ added in v0.3.17
func (*InstallReleaseRequest) ProtoMessage()
func (*InstallReleaseRequest) ProtoReflect ¶ added in v0.3.17
func (x *InstallReleaseRequest) ProtoReflect() protoreflect.Message
func (*InstallReleaseRequest) Reset ¶ added in v0.3.17
func (x *InstallReleaseRequest) Reset()
func (*InstallReleaseRequest) String ¶ added in v0.3.17
func (x *InstallReleaseRequest) String() string
type InstallReleaseResponse ¶ added in v0.3.17
type InstallReleaseResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*InstallReleaseResponse) Descriptor
deprecated
added in
v0.3.17
func (*InstallReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallReleaseResponse.ProtoReflect.Descriptor instead.
func (*InstallReleaseResponse) GetSuccess ¶ added in v0.3.17
func (x *InstallReleaseResponse) GetSuccess() bool
func (*InstallReleaseResponse) ProtoMessage ¶ added in v0.3.17
func (*InstallReleaseResponse) ProtoMessage()
func (*InstallReleaseResponse) ProtoReflect ¶ added in v0.3.17
func (x *InstallReleaseResponse) ProtoReflect() protoreflect.Message
func (*InstallReleaseResponse) Reset ¶ added in v0.3.17
func (x *InstallReleaseResponse) Reset()
func (*InstallReleaseResponse) String ¶ added in v0.3.17
func (x *InstallReleaseResponse) String() string
type InstalledAppInfo ¶ added in v0.3.17
type InstalledAppInfo struct { AppId int `json:"appId"` InstalledAppId int `json:"installedAppId"` InstalledAppVersionId int `json:"installedAppVersionId"` AppStoreChartId int `json:"appStoreChartId"` EnvironmentName string `json:"environmentName"` AppOfferingMode string `json:"appOfferingMode"` ClusterId int `json:"clusterId"` EnvironmentId int `json:"environmentId"` AppStoreChartRepoName string `json:"appStoreChartRepoName"` AppStoreChartName string `json:"appStoreChartName"` }
type ObjectIdentifier ¶
type ObjectIdentifier struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ObjectIdentifier) Descriptor
deprecated
func (*ObjectIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.
func (*ObjectIdentifier) GetGroup ¶
func (x *ObjectIdentifier) GetGroup() string
func (*ObjectIdentifier) GetKind ¶
func (x *ObjectIdentifier) GetKind() string
func (*ObjectIdentifier) GetName ¶
func (x *ObjectIdentifier) GetName() string
func (*ObjectIdentifier) GetNamespace ¶
func (x *ObjectIdentifier) GetNamespace() string
func (*ObjectIdentifier) GetVersion ¶
func (x *ObjectIdentifier) GetVersion() string
func (*ObjectIdentifier) ProtoMessage ¶
func (*ObjectIdentifier) ProtoMessage()
func (*ObjectIdentifier) ProtoReflect ¶
func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message
func (*ObjectIdentifier) Reset ¶
func (x *ObjectIdentifier) Reset()
func (*ObjectIdentifier) String ¶
func (x *ObjectIdentifier) String() string
type ObjectRequest ¶
type ObjectRequest struct { ClusterConfig *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"` ObjectIdentifier *ObjectIdentifier `protobuf:"bytes,2,opt,name=objectIdentifier,proto3" json:"objectIdentifier,omitempty"` ReleaseName string `protobuf:"bytes,3,opt,name=releaseName,proto3" json:"releaseName,omitempty"` ReleaseNamespace string `protobuf:"bytes,4,opt,name=releaseNamespace,proto3" json:"releaseNamespace,omitempty"` // contains filtered or unexported fields }
func (*ObjectRequest) Descriptor
deprecated
func (*ObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectRequest.ProtoReflect.Descriptor instead.
func (*ObjectRequest) GetClusterConfig ¶
func (x *ObjectRequest) GetClusterConfig() *ClusterConfig
func (*ObjectRequest) GetObjectIdentifier ¶
func (x *ObjectRequest) GetObjectIdentifier() *ObjectIdentifier
func (*ObjectRequest) GetReleaseName ¶
func (x *ObjectRequest) GetReleaseName() string
func (*ObjectRequest) GetReleaseNamespace ¶
func (x *ObjectRequest) GetReleaseNamespace() string
func (*ObjectRequest) ProtoMessage ¶
func (*ObjectRequest) ProtoMessage()
func (*ObjectRequest) ProtoReflect ¶
func (x *ObjectRequest) ProtoReflect() protoreflect.Message
func (*ObjectRequest) Reset ¶
func (x *ObjectRequest) Reset()
func (*ObjectRequest) String ¶
func (x *ObjectRequest) String() string
type PodMetadata ¶
type PodMetadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Containers []string `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"` InitContainers []string `protobuf:"bytes,4,rep,name=initContainers,proto3" json:"initContainers,omitempty"` IsNew bool `protobuf:"varint,5,opt,name=isNew,proto3" json:"isNew,omitempty"` // contains filtered or unexported fields }
func (*PodMetadata) Descriptor
deprecated
func (*PodMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PodMetadata.ProtoReflect.Descriptor instead.
func (*PodMetadata) GetContainers ¶
func (x *PodMetadata) GetContainers() []string
func (*PodMetadata) GetInitContainers ¶
func (x *PodMetadata) GetInitContainers() []string
func (*PodMetadata) GetIsNew ¶
func (x *PodMetadata) GetIsNew() bool
func (*PodMetadata) GetName ¶
func (x *PodMetadata) GetName() string
func (*PodMetadata) GetUid ¶
func (x *PodMetadata) GetUid() string
func (*PodMetadata) ProtoMessage ¶
func (*PodMetadata) ProtoMessage()
func (*PodMetadata) ProtoReflect ¶
func (x *PodMetadata) ProtoReflect() protoreflect.Message
func (*PodMetadata) Reset ¶
func (x *PodMetadata) Reset()
func (*PodMetadata) String ¶
func (x *PodMetadata) String() string
type ReleaseAndInstalledAppInfo ¶ added in v0.3.17
type ReleaseAndInstalledAppInfo struct { InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"` ReleaseInfo *ReleaseInfo `json:"releaseInfo"` }
type ReleaseIdentifier ¶
type ReleaseIdentifier struct { ClusterConfig *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"` ReleaseName string `protobuf:"bytes,2,opt,name=releaseName,proto3" json:"releaseName,omitempty"` ReleaseNamespace string `protobuf:"bytes,3,opt,name=releaseNamespace,proto3" json:"releaseNamespace,omitempty"` // contains filtered or unexported fields }
func (*ReleaseIdentifier) Descriptor
deprecated
func (*ReleaseIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseIdentifier.ProtoReflect.Descriptor instead.
func (*ReleaseIdentifier) GetClusterConfig ¶
func (x *ReleaseIdentifier) GetClusterConfig() *ClusterConfig
func (*ReleaseIdentifier) GetReleaseName ¶
func (x *ReleaseIdentifier) GetReleaseName() string
func (*ReleaseIdentifier) GetReleaseNamespace ¶
func (x *ReleaseIdentifier) GetReleaseNamespace() string
func (*ReleaseIdentifier) ProtoMessage ¶
func (*ReleaseIdentifier) ProtoMessage()
func (*ReleaseIdentifier) ProtoReflect ¶
func (x *ReleaseIdentifier) ProtoReflect() protoreflect.Message
func (*ReleaseIdentifier) Reset ¶
func (x *ReleaseIdentifier) Reset()
func (*ReleaseIdentifier) String ¶
func (x *ReleaseIdentifier) String() string
type ReleaseInfo ¶
type ReleaseInfo struct { DeployedAppDetail *DeployedAppDetail `protobuf:"bytes,1,opt,name=deployedAppDetail,proto3" json:"deployedAppDetail,omitempty"` DefaultValues string `protobuf:"bytes,2,opt,name=defaultValues,proto3" json:"defaultValues,omitempty"` OverrideValues string `protobuf:"bytes,3,opt,name=overrideValues,proto3" json:"overrideValues,omitempty"` MergedValues string `protobuf:"bytes,4,opt,name=mergedValues,proto3" json:"mergedValues,omitempty"` Readme string `protobuf:"bytes,5,opt,name=readme,proto3" json:"readme,omitempty"` ValuesSchemaJson string `protobuf:"bytes,6,opt,name=valuesSchemaJson,proto3" json:"valuesSchemaJson,omitempty"` // contains filtered or unexported fields }
func (*ReleaseInfo) Descriptor
deprecated
func (*ReleaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseInfo.ProtoReflect.Descriptor instead.
func (*ReleaseInfo) GetDefaultValues ¶
func (x *ReleaseInfo) GetDefaultValues() string
func (*ReleaseInfo) GetDeployedAppDetail ¶
func (x *ReleaseInfo) GetDeployedAppDetail() *DeployedAppDetail
func (*ReleaseInfo) GetMergedValues ¶
func (x *ReleaseInfo) GetMergedValues() string
func (*ReleaseInfo) GetOverrideValues ¶
func (x *ReleaseInfo) GetOverrideValues() string
func (*ReleaseInfo) GetReadme ¶
func (x *ReleaseInfo) GetReadme() string
func (*ReleaseInfo) GetValuesSchemaJson ¶ added in v0.4.28
func (x *ReleaseInfo) GetValuesSchemaJson() string
func (*ReleaseInfo) ProtoMessage ¶
func (*ReleaseInfo) ProtoMessage()
func (*ReleaseInfo) ProtoReflect ¶
func (x *ReleaseInfo) ProtoReflect() protoreflect.Message
func (*ReleaseInfo) Reset ¶
func (x *ReleaseInfo) Reset()
func (*ReleaseInfo) String ¶
func (x *ReleaseInfo) String() string
type ReleaseStatus ¶
type ReleaseStatus struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*ReleaseStatus) Descriptor
deprecated
func (*ReleaseStatus) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseStatus.ProtoReflect.Descriptor instead.
func (*ReleaseStatus) GetDescription ¶
func (x *ReleaseStatus) GetDescription() string
func (*ReleaseStatus) GetMessage ¶
func (x *ReleaseStatus) GetMessage() string
func (*ReleaseStatus) GetStatus ¶
func (x *ReleaseStatus) GetStatus() string
func (*ReleaseStatus) ProtoMessage ¶
func (*ReleaseStatus) ProtoMessage()
func (*ReleaseStatus) ProtoReflect ¶
func (x *ReleaseStatus) ProtoReflect() protoreflect.Message
func (*ReleaseStatus) Reset ¶
func (x *ReleaseStatus) Reset()
func (*ReleaseStatus) String ¶
func (x *ReleaseStatus) String() string
type ResourceNetworkingInfo ¶
type ResourceNetworkingInfo struct { Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResourceNetworkingInfo) Descriptor
deprecated
func (*ResourceNetworkingInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceNetworkingInfo.ProtoReflect.Descriptor instead.
func (*ResourceNetworkingInfo) GetLabels ¶
func (x *ResourceNetworkingInfo) GetLabels() map[string]string
func (*ResourceNetworkingInfo) ProtoMessage ¶
func (*ResourceNetworkingInfo) ProtoMessage()
func (*ResourceNetworkingInfo) ProtoReflect ¶
func (x *ResourceNetworkingInfo) ProtoReflect() protoreflect.Message
func (*ResourceNetworkingInfo) Reset ¶
func (x *ResourceNetworkingInfo) Reset()
func (*ResourceNetworkingInfo) String ¶
func (x *ResourceNetworkingInfo) String() string
type ResourceNode ¶
type ResourceNode struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"` ParentRefs []*ResourceRef `protobuf:"bytes,7,rep,name=parentRefs,proto3" json:"parentRefs,omitempty"` NetworkingInfo *ResourceNetworkingInfo `protobuf:"bytes,8,opt,name=networkingInfo,proto3" json:"networkingInfo,omitempty"` ResourceVersion string `protobuf:"bytes,9,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` Health *HealthStatus `protobuf:"bytes,10,opt,name=health,proto3" json:"health,omitempty"` IsHibernated bool `protobuf:"varint,11,opt,name=isHibernated,proto3" json:"isHibernated,omitempty"` CanBeHibernated bool `protobuf:"varint,12,opt,name=canBeHibernated,proto3" json:"canBeHibernated,omitempty"` // contains filtered or unexported fields }
func (*ResourceNode) Descriptor
deprecated
func (*ResourceNode) Descriptor() ([]byte, []int)
Deprecated: Use ResourceNode.ProtoReflect.Descriptor instead.
func (*ResourceNode) GetCanBeHibernated ¶
func (x *ResourceNode) GetCanBeHibernated() bool
func (*ResourceNode) GetGroup ¶
func (x *ResourceNode) GetGroup() string
func (*ResourceNode) GetHealth ¶
func (x *ResourceNode) GetHealth() *HealthStatus
func (*ResourceNode) GetIsHibernated ¶
func (x *ResourceNode) GetIsHibernated() bool
func (*ResourceNode) GetKind ¶
func (x *ResourceNode) GetKind() string
func (*ResourceNode) GetName ¶
func (x *ResourceNode) GetName() string
func (*ResourceNode) GetNamespace ¶
func (x *ResourceNode) GetNamespace() string
func (*ResourceNode) GetNetworkingInfo ¶
func (x *ResourceNode) GetNetworkingInfo() *ResourceNetworkingInfo
func (*ResourceNode) GetParentRefs ¶
func (x *ResourceNode) GetParentRefs() []*ResourceRef
func (*ResourceNode) GetResourceVersion ¶
func (x *ResourceNode) GetResourceVersion() string
func (*ResourceNode) GetUid ¶
func (x *ResourceNode) GetUid() string
func (*ResourceNode) GetVersion ¶
func (x *ResourceNode) GetVersion() string
func (*ResourceNode) ProtoMessage ¶
func (*ResourceNode) ProtoMessage()
func (*ResourceNode) ProtoReflect ¶
func (x *ResourceNode) ProtoReflect() protoreflect.Message
func (*ResourceNode) Reset ¶
func (x *ResourceNode) Reset()
func (*ResourceNode) String ¶
func (x *ResourceNode) String() string
type ResourceRef ¶
type ResourceRef struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*ResourceRef) Descriptor
deprecated
func (*ResourceRef) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.
func (*ResourceRef) GetGroup ¶
func (x *ResourceRef) GetGroup() string
func (*ResourceRef) GetKind ¶
func (x *ResourceRef) GetKind() string
func (*ResourceRef) GetName ¶
func (x *ResourceRef) GetName() string
func (*ResourceRef) GetNamespace ¶
func (x *ResourceRef) GetNamespace() string
func (*ResourceRef) GetUid ¶
func (x *ResourceRef) GetUid() string
func (*ResourceRef) GetVersion ¶
func (x *ResourceRef) GetVersion() string
func (*ResourceRef) ProtoMessage ¶
func (*ResourceRef) ProtoMessage()
func (*ResourceRef) ProtoReflect ¶
func (x *ResourceRef) ProtoReflect() protoreflect.Message
func (*ResourceRef) Reset ¶
func (x *ResourceRef) Reset()
func (*ResourceRef) String ¶
func (x *ResourceRef) String() string
type ResourceRequestBean ¶
type ResourceRequestBean struct { AppId string `json:"appId"` K8sRequest application.K8sRequestBean `json:"k8sRequest"` }
type ResourceTreeResponse ¶
type ResourceTreeResponse struct { Nodes []*ResourceNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` PodMetadata []*PodMetadata `protobuf:"bytes,2,rep,name=podMetadata,proto3" json:"podMetadata,omitempty"` // contains filtered or unexported fields }
func (*ResourceTreeResponse) Descriptor
deprecated
func (*ResourceTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTreeResponse.ProtoReflect.Descriptor instead.
func (*ResourceTreeResponse) GetNodes ¶
func (x *ResourceTreeResponse) GetNodes() []*ResourceNode
func (*ResourceTreeResponse) GetPodMetadata ¶
func (x *ResourceTreeResponse) GetPodMetadata() []*PodMetadata
func (*ResourceTreeResponse) ProtoMessage ¶
func (*ResourceTreeResponse) ProtoMessage()
func (*ResourceTreeResponse) ProtoReflect ¶
func (x *ResourceTreeResponse) ProtoReflect() protoreflect.Message
func (*ResourceTreeResponse) Reset ¶
func (x *ResourceTreeResponse) Reset()
func (*ResourceTreeResponse) String ¶
func (x *ResourceTreeResponse) String() string
type RollbackReleaseRequest ¶ added in v0.3.21
type RollbackReleaseRequest struct { ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*RollbackReleaseRequest) Descriptor
deprecated
added in
v0.3.21
func (*RollbackReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackReleaseRequest.ProtoReflect.Descriptor instead.
func (*RollbackReleaseRequest) GetReleaseIdentifier ¶ added in v0.3.21
func (x *RollbackReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
func (*RollbackReleaseRequest) GetVersion ¶ added in v0.3.21
func (x *RollbackReleaseRequest) GetVersion() int32
func (*RollbackReleaseRequest) ProtoMessage ¶ added in v0.3.21
func (*RollbackReleaseRequest) ProtoMessage()
func (*RollbackReleaseRequest) ProtoReflect ¶ added in v0.3.21
func (x *RollbackReleaseRequest) ProtoReflect() protoreflect.Message
func (*RollbackReleaseRequest) Reset ¶ added in v0.3.21
func (x *RollbackReleaseRequest) Reset()
func (*RollbackReleaseRequest) String ¶ added in v0.3.21
func (x *RollbackReleaseRequest) String() string
type TemplateChartResponse ¶ added in v0.4.4
type TemplateChartResponse struct { GeneratedManifest string `protobuf:"bytes,1,opt,name=generatedManifest,proto3" json:"generatedManifest,omitempty"` // contains filtered or unexported fields }
func (*TemplateChartResponse) Descriptor
deprecated
added in
v0.4.4
func (*TemplateChartResponse) Descriptor() ([]byte, []int)
Deprecated: Use TemplateChartResponse.ProtoReflect.Descriptor instead.
func (*TemplateChartResponse) GetGeneratedManifest ¶ added in v0.4.4
func (x *TemplateChartResponse) GetGeneratedManifest() string
func (*TemplateChartResponse) ProtoMessage ¶ added in v0.4.4
func (*TemplateChartResponse) ProtoMessage()
func (*TemplateChartResponse) ProtoReflect ¶ added in v0.4.4
func (x *TemplateChartResponse) ProtoReflect() protoreflect.Message
func (*TemplateChartResponse) Reset ¶ added in v0.4.4
func (x *TemplateChartResponse) Reset()
func (*TemplateChartResponse) String ¶ added in v0.4.4
func (x *TemplateChartResponse) String() string
type UnimplementedApplicationServiceServer ¶
type UnimplementedApplicationServiceServer struct { }
UnimplementedApplicationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedApplicationServiceServer) GetAppDetail ¶
func (UnimplementedApplicationServiceServer) GetAppDetail(context.Context, *AppDetailRequest) (*AppDetail, error)
func (UnimplementedApplicationServiceServer) GetDeploymentDetail ¶ added in v0.3.15
func (UnimplementedApplicationServiceServer) GetDeploymentDetail(context.Context, *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
func (UnimplementedApplicationServiceServer) GetDeploymentHistory ¶
func (UnimplementedApplicationServiceServer) GetDeploymentHistory(context.Context, *AppDetailRequest) (*HelmAppDeploymentHistory, error)
func (UnimplementedApplicationServiceServer) GetDesiredManifest ¶
func (UnimplementedApplicationServiceServer) GetDesiredManifest(context.Context, *ObjectRequest) (*DesiredManifestResponse, error)
func (UnimplementedApplicationServiceServer) GetValuesYaml ¶
func (UnimplementedApplicationServiceServer) GetValuesYaml(context.Context, *AppDetailRequest) (*ReleaseInfo, error)
func (UnimplementedApplicationServiceServer) Hibernate ¶
func (UnimplementedApplicationServiceServer) Hibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
func (UnimplementedApplicationServiceServer) InstallRelease ¶ added in v0.3.17
func (UnimplementedApplicationServiceServer) InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error)
func (UnimplementedApplicationServiceServer) InstallReleaseWithCustomChart ¶ added in v0.4.14
func (UnimplementedApplicationServiceServer) InstallReleaseWithCustomChart(context.Context, *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
func (UnimplementedApplicationServiceServer) IsReleaseInstalled ¶ added in v0.3.20
func (UnimplementedApplicationServiceServer) IsReleaseInstalled(context.Context, *ReleaseIdentifier) (*BooleanResponse, error)
func (UnimplementedApplicationServiceServer) ListApplications ¶
func (UnimplementedApplicationServiceServer) ListApplications(*AppListRequest, ApplicationService_ListApplicationsServer) error
func (UnimplementedApplicationServiceServer) RollbackRelease ¶ added in v0.3.21
func (UnimplementedApplicationServiceServer) RollbackRelease(context.Context, *RollbackReleaseRequest) (*BooleanResponse, error)
func (UnimplementedApplicationServiceServer) TemplateChart ¶ added in v0.4.4
func (UnimplementedApplicationServiceServer) TemplateChart(context.Context, *InstallReleaseRequest) (*TemplateChartResponse, error)
func (UnimplementedApplicationServiceServer) UnHibernate ¶
func (UnimplementedApplicationServiceServer) UnHibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
func (UnimplementedApplicationServiceServer) UninstallRelease ¶
func (UnimplementedApplicationServiceServer) UninstallRelease(context.Context, *ReleaseIdentifier) (*UninstallReleaseResponse, error)
func (UnimplementedApplicationServiceServer) UpgradeRelease ¶
func (UnimplementedApplicationServiceServer) UpgradeRelease(context.Context, *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
func (UnimplementedApplicationServiceServer) UpgradeReleaseWithChartInfo ¶ added in v0.3.17
func (UnimplementedApplicationServiceServer) UpgradeReleaseWithChartInfo(context.Context, *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
type UninstallReleaseResponse ¶
type UninstallReleaseResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*UninstallReleaseResponse) Descriptor
deprecated
func (*UninstallReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UninstallReleaseResponse.ProtoReflect.Descriptor instead.
func (*UninstallReleaseResponse) GetSuccess ¶
func (x *UninstallReleaseResponse) GetSuccess() bool
func (*UninstallReleaseResponse) ProtoMessage ¶
func (*UninstallReleaseResponse) ProtoMessage()
func (*UninstallReleaseResponse) ProtoReflect ¶
func (x *UninstallReleaseResponse) ProtoReflect() protoreflect.Message
func (*UninstallReleaseResponse) Reset ¶
func (x *UninstallReleaseResponse) Reset()
func (*UninstallReleaseResponse) String ¶
func (x *UninstallReleaseResponse) String() string
type UnsafeApplicationServiceServer ¶
type UnsafeApplicationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeApplicationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationServiceServer will result in compilation errors.
type UpgradeReleaseRequest ¶
type UpgradeReleaseRequest struct { ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"` ValuesYaml string `protobuf:"bytes,2,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"` // contains filtered or unexported fields }
func (*UpgradeReleaseRequest) Descriptor
deprecated
func (*UpgradeReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeReleaseRequest.ProtoReflect.Descriptor instead.
func (*UpgradeReleaseRequest) GetReleaseIdentifier ¶
func (x *UpgradeReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier
func (*UpgradeReleaseRequest) GetValuesYaml ¶
func (x *UpgradeReleaseRequest) GetValuesYaml() string
func (*UpgradeReleaseRequest) ProtoMessage ¶
func (*UpgradeReleaseRequest) ProtoMessage()
func (*UpgradeReleaseRequest) ProtoReflect ¶
func (x *UpgradeReleaseRequest) ProtoReflect() protoreflect.Message
func (*UpgradeReleaseRequest) Reset ¶
func (x *UpgradeReleaseRequest) Reset()
func (*UpgradeReleaseRequest) String ¶
func (x *UpgradeReleaseRequest) String() string
type UpgradeReleaseResponse ¶
type UpgradeReleaseResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*UpgradeReleaseResponse) Descriptor
deprecated
func (*UpgradeReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeReleaseResponse.ProtoReflect.Descriptor instead.
func (*UpgradeReleaseResponse) GetSuccess ¶
func (x *UpgradeReleaseResponse) GetSuccess() bool
func (*UpgradeReleaseResponse) ProtoMessage ¶
func (*UpgradeReleaseResponse) ProtoMessage()
func (*UpgradeReleaseResponse) ProtoReflect ¶
func (x *UpgradeReleaseResponse) ProtoReflect() protoreflect.Message
func (*UpgradeReleaseResponse) Reset ¶
func (x *UpgradeReleaseResponse) Reset()
func (*UpgradeReleaseResponse) String ¶
func (x *UpgradeReleaseResponse) String() string