plugin

package
v0.0.0-...-146dbd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HELM_BIN = "/bin/helm"
View Source
var KUBECONFIG = "/root/.kube/kubeconfig"

Functions

This section is empty.

Types

type Config

type Config struct {
	APIServer          string   `json:"api_server"`
	Token              string   `json:"token"`
	Certificate        string   `json:"certificate"`
	ServiceAccount     string   `json:"service_account"`
	KubeConfig         string   `json:"kube_config"`
	HelmCommand        string   `json:"helm_command"`
	SkipTLSVerify      bool     `json:"tls_skip_verify"`
	Namespace          string   `json:"namespace"`
	Release            string   `json:"release"`
	Chart              string   `json:"chart"`
	Version            string   `json:"version"`
	EKSCluster         string   `json:"eks_cluster"`
	EKSRoleARN         string   `json:"eks_role_arn"`
	Values             string   `json:"values"`
	StringValues       string   `json:"string_values"`
	ValuesFiles        string   `json:"values_files"`
	Debug              bool     `json:"debug"`
	DryRun             bool     `json:"dry_run"`
	Secrets            []string `json:"secrets"`
	Prefix             string   `json:"prefix"`
	TillerNs           string   `json:"tiller_ns"`
	Wait               bool     `json:"wait"`
	RecreatePods       bool     `json:"recreate_pods"`
	Upgrade            bool     `json:"upgrade"`
	CanaryImage        bool     `json:"canary_image"`
	ClientOnly         bool     `json:"client_only"`
	ReuseValues        bool     `json:"reuse_values"`
	Timeout            string   `json:"timeout"`
	Force              bool     `json:"force"`
	HelmRepos          []string `json:"helm_repos"`
	Purge              bool     `json:"purge"`
	UpdateDependencies bool     `json:"update_dependencies"`
	StableRepoURL      string   `json:"stable_repo_url"`
}

Config maps the params we need to run Helm

type Plugin

type Plugin struct {
	Config Config
	// contains filtered or unexported fields
}

Plugin default

func (*Plugin) Exec

func (p *Plugin) Exec() error

Exec default method

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL