Documentation ¶
Index ¶
- Constants
- func Delete(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
- func GetReleaseClusterName(release string) (string, bool)
- func IsKinkRelease(name string) bool
- func KubeHelmFlags(ku *kubectl.KubeFlags) map[string]string
- func List(h *HelmFlags, k *kubectl.KubeFlags) []string
- func RepoAdd(h *HelmFlags, c *ChartFlags) []string
- func RepoUpdate(h *HelmFlags, repoNames ...string) []string
- func Template(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
- func TemplateCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string
- func Upgrade(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
- func UpgradeCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string
- type ChartFlags
- type ClusterReleaseFlags
- type HelmFlags
- type ReleaseFlags
Constants ¶
View Source
const ( ClusterLabel = "kind.meln5674.github.com/cluster" ReleasePrefix = "kink-" )
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
func GetReleaseClusterName ¶
func IsKinkRelease ¶
func RepoAdd ¶
func RepoAdd(h *HelmFlags, c *ChartFlags) []string
func RepoUpdate ¶
func Template ¶ added in v0.2.0
func Template(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
func TemplateCluster ¶ added in v0.2.0
func TemplateCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string
func Upgrade ¶
func Upgrade(h *HelmFlags, c *ChartFlags, r *ReleaseFlags, k *kubectl.KubeFlags) []string
func UpgradeCluster ¶ added in v0.2.0
func UpgradeCluster(h *HelmFlags, c *ChartFlags, r *ClusterReleaseFlags, k *kubectl.KubeFlags) []string
Types ¶
type ChartFlags ¶
type ChartFlags struct { RepositoryURL string `json:"repositoryURL"` ChartName string `json:"chart"` Version string `json:"version"` }
func (*ChartFlags) FullChartName ¶
func (c *ChartFlags) FullChartName() string
func (*ChartFlags) IsLocalChart ¶
func (c *ChartFlags) IsLocalChart() bool
func (*ChartFlags) Override ¶
func (c *ChartFlags) Override(c2 *ChartFlags)
func (*ChartFlags) RepoName ¶
func (c *ChartFlags) RepoName() string
func (*ChartFlags) UpgradeFlags ¶ added in v0.2.0
func (c *ChartFlags) UpgradeFlags() []string
type ClusterReleaseFlags ¶ added in v0.2.0
type ClusterReleaseFlags struct { ClusterName string `json:"clusterName"` Values []string `json:"values"` Set map[string]string `json:"set"` SetString map[string]string `json:"setString"` UpgradeFlags []string `json:"upgradeFlags"` }
func (*ClusterReleaseFlags) ExtraLabelFlags ¶ added in v0.2.0
func (r *ClusterReleaseFlags) ExtraLabelFlags() []string
func (*ClusterReleaseFlags) ExtraLabels ¶ added in v0.2.0
func (r *ClusterReleaseFlags) ExtraLabels() map[string]string
func (*ClusterReleaseFlags) Override ¶ added in v0.2.0
func (r *ClusterReleaseFlags) Override(r2 *ClusterReleaseFlags)
func (*ClusterReleaseFlags) Raw ¶ added in v0.2.0
func (f *ClusterReleaseFlags) Raw() ReleaseFlags
type HelmFlags ¶
type HelmFlags struct {
Command []string `json:"command"`
}
type ReleaseFlags ¶
type ReleaseFlags struct { Name string `json:"name"` Values []string `json:"values"` Set map[string]string `json:"set"` SetString map[string]string `json:"setString"` UpgradeFlags []string `json:"upgradeFlags"` }
func (*ReleaseFlags) ValuesFlags ¶ added in v0.2.0
func (r *ReleaseFlags) ValuesFlags() []string
Click to show internal directories.
Click to hide internal directories.