Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerStatusHealthy ServerStatus = "healthy" ServerStatusUpgrading ServerStatus = "upgrading" ServerStatusUpgradeFailed ServerStatus = "upgradeFailed" ServerStatusUnknown ServerStatus = "unknown" ServerStatusTimeout ServerStatus = "timeout" InstallerCrdObjectStatusBlank InstallerCrdObjectStatus = "" InstallerCrdObjectStatusDownloaded InstallerCrdObjectStatus = "Downloaded" InstallerCrdObjectStatusApplied InstallerCrdObjectStatus = "Applied" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResponse ¶
type ActionResponse struct {
Success bool `json:"success"`
}
type AppHealthStatusCode ¶
type AppHealthStatusCode = string
const ( AppHealthStatusProgressing AppHealthStatusCode = "Progressing" AppHealthStatusDegraded AppHealthStatusCode = "Degraded" )
type DevtronInstallationType ¶ added in v0.4.2
type DevtronInstallationType = string
const ( DevtronInstallationTypeOssKubectl DevtronInstallationType = "oss_kubectl" DevtronInstallationTypeOssHelm DevtronInstallationType = "oss_helm" DevtronInstallationTypeEnterprise DevtronInstallationType = "enterprise" )
type HelmReleaseStatus ¶
type HelmReleaseStatus = string
const ( // HelmReleaseStatusUnknown indicates that a release is in an uncertain state. HelmReleaseStatusUnknown HelmReleaseStatus = "unknown" // HelmReleaseStatusDeployed indicates that the release has been pushed to Kubernetes. HelmReleaseStatusDeployed HelmReleaseStatus = "deployed" // HelmReleaseStatusUninstalled indicates that a release has been uninstalled from Kubernetes. HelmReleaseStatusUninstalled HelmReleaseStatus = "uninstalled" // HelmReleaseStatusSuperseded indicates that this release object is outdated and a newer one exists. HelmReleaseStatusSuperseded HelmReleaseStatus = "superseded" // HelmReleaseStatusFailed indicates that the release was not successfully deployed. HelmReleaseStatusFailed HelmReleaseStatus = "failed" // HelmReleaseStatusUninstalling indicates that a uninstall operation is underway. HelmReleaseStatusUninstalling HelmReleaseStatus = "uninstalling" // HelmReleaseStatusPendingInstall indicates that an install operation is underway. HelmReleaseStatusPendingInstall HelmReleaseStatus = "pending-install" // HelmReleaseStatusPendingUpgrade indicates that an upgrade operation is underway. HelmReleaseStatusPendingUpgrade HelmReleaseStatus = "pending-upgrade" // HelmReleaseStatusPendingRollback indicates that an rollback operation is underway. HelmReleaseStatusPendingRollback HelmReleaseStatus = "pending-rollback" )
Describe the status of a release NOTE: Make sure to update cmd/helm/status.go when adding or modifying any of these statuses.
type InstallerCrdObjectStatus ¶
type InstallerCrdObjectStatus = string
type ServerActionRequestDto ¶
type ServerInfoDto ¶
type ServerInfoDto struct { CurrentVersion string `json:"currentVersion,omitempty"` Status string `json:"status,notnull" validate:"oneof=healthy upgrading upgradeFailed unknown timeout"` ReleaseName string `json:"releaseName,notnull"` InstallationType string `json:"installationType,notnull" validate:"oneof=oss_kubectl oss_helm enterprise"` }
type ServerStatus ¶
type ServerStatus = string
Click to show internal directories.
Click to hide internal directories.