Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { Name string `yaml:"name"` Version *semver.Version `yaml:"-"` VersionRaw string `yaml:"version"` // AppVersion is not a semver, for example Minio has date-based versions. AppVersion string `yaml:"appVersion"` Directory string Dependencies []Dependency `yaml:"dependencies,omitempty"` }
type Client ¶
type Client interface { Version() (*semver.Version, error) BuildChartDependencies(chartDirectory string, flags []string) 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 Dependency ¶ added in v2.19.0
type Dependency struct { Name string `yaml:"name"` Version string `yaml:"version,omitempty"` Repository string `yaml:"repository"` Condition string `yaml:"condition,omitempty"` Tags []string `yaml:"tags,omitempty"` Enabled bool `yaml:"enabled,omitempty"` ImportValues []interface{} `json:"import-values,omitempty"` Alias string `yaml:"alias,omitempty"` }
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.