Help us shape the future of Go! Take the 2026 Go Developer Survey

tiller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Details

type Details struct {
	// Name of the deployment created for Tiller
	Name string

	// Namespace that Tiller has been deployed into
	Namespace string

	// KubeConfig is the path to a kubeconfig file that can be used to speak
	// to the tiller instance
	KubeConfig string

	// KubeContext is the name of the kubeconfig context to use to speak to the
	// tiller instance
	KubeContext string
}

Details return the details about the Tiller instance deployed

type Tiller

type Tiller struct {

	// Base is the base addon to use for Kubernetes API interactions
	Base *base.Base

	// Optional name to use for the tiller deployment.
	// If not specified, 'tiller-deploy' will be used.
	Name string

	// Optional namespace to deploy Tiller into.
	// If not specified, the 'kube-system' namespace will be used.
	Namespace string

	// ImageRepo is the image repo to use for Tiller.
	// If not set, the global tiller image repo set in the config will be used.
	ImageRepo string

	// ImageTag is the image tag to use for Tiller.
	// If not set, the global tiller image tag set in the config will be used.
	ImageTag string

	// ClusterPermissions will cause the addon to give this tiller instance
	// global permissions over the cluster.
	ClusterPermissions bool
	// contains filtered or unexported fields
}

Tiller defines an addon that installs an instance of tiller in the target cluster.

func (*Tiller) Deprovision

func (t *Tiller) Deprovision() error

Deprovision the deployed instance of tiller-deploy

func (*Tiller) Details

func (t *Tiller) Details() (*Details, error)

Details must be possible to compute without Provision being called if we want to be able to provision global/shared instances of Tiller.

func (*Tiller) Provision

func (t *Tiller) Provision() error

Provision an instance of tiller-deploy

func (*Tiller) Setup

func (t *Tiller) Setup(c *config.Config) error

Setup will configure this addon but not provision it

func (*Tiller) SupportsGlobal

func (t *Tiller) SupportsGlobal() bool

Jump to

Keyboard shortcuts

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