client

package
v2.0.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const InstallYAML = `` /* 709-byte string literal not displayed */

InstallYAML is the installation YAML for DM.

View Source
const NamespaceYAML = `` /* 168-byte string literal not displayed */

NamespaceYAML is the installation for a namespace.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer struct {

	// Metadata holds any global metadata attributes for the resources
	Metadata map[string]interface{}

	// Tiller specific metadata
	Tiller map[string]interface{}
}

Installer installs tiller into Kubernetes

See InstallYAML.

func NewInstaller

func NewInstaller() *Installer

NewInstaller creates a new Installer

func (*Installer) Install

func (i *Installer) Install(verbose, createNS bool) error

Install uses kubernetes client to install tiller

Returns the string output received from the operation, and an error if the command failed.

If verbose is true, this will print the manifest to stdout.

If createNS is true, this will also create the namespace.

Jump to

Keyboard shortcuts

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