tiller

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "tillerv1"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	HelmClient helmclient.Interface
	Logger     micrologger.Logger
}

Config represents the configuration used to create a new tiller resource.

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

Resource implements the tiller resource.

func New

func New(config Config) (*Resource, error)

New creates a new configured tiller resource.

func (*Resource) EnsureCreated

func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error

EnsureCreated ensures Tiller is installed and the latest version.

func (*Resource) EnsureDeleted

func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error

EnsureDeleted ensures Tiller is installed and the latest version. This is so the release resource has a working tiller to connect to.

func (*Resource) Name

func (r *Resource) Name() string

Jump to

Keyboard shortcuts

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