Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Client ¶
type Client interface { Version() (*semver.Version, error) InstallChart(namespace string, releaseName string, chartDirectory string, valuesFile string, values map[string]string, flags []string) error GetRelease(namespace string, name string) (*Release, error) ListReleases(namespace string) ([]Release, error) UninstallRelease(namespace string, name string) error RenderChart(namespace string, releaseName string, chartDirectory string, valuesFile string, values map[string]string) ([]byte, error) GetValues(namespace string, releaseName string) (*yamled.Document, error) }
Client describes the operations that the Helm client is providing to the installer. This is the minimum set of operations required to perform a Kubermatic installation.
type Release ¶
type Release struct { Name string `json:"name"` Namespace string `json:"namespace"` Chart string `json:"chart"` Revision string `json:"revision"` Version *semver.Version `json:"-"` // AppVersion is not a semver, for example Minio has date-based versions. AppVersion string `json:"app_version"` Status ReleaseStatus `json:"status"` }
type ReleaseStatus ¶
type ReleaseStatus string
const ( ReleaseCheckFailed ReleaseStatus = "" ReleaseStatusUnknown ReleaseStatus = "unknown" ReleaseStatusDeployed ReleaseStatus = "deployed" ReleaseStatusDeleted ReleaseStatus = "uninstalled" ReleaseStatusSuperseded ReleaseStatus = "superseded" ReleaseStatusFailed ReleaseStatus = "failed" ReleaseStatusDeleting ReleaseStatus = "uninstalling" ReleaseStatusPendingInstall ReleaseStatus = "pending-install" ReleaseStatusPendingUpgrade ReleaseStatus = "pending-upgrade" ReleaseStatusPendingRollback ReleaseStatus = "pending-rollback" )
Click to show internal directories.
Click to hide internal directories.