lmhelm

package
v0.0.0-...-ebef5bb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOnly

func CreateOnly(chartmgr *crv1alpha1.ChartManager) bool

CreateOnly returns true of the chart manager CreateOnly option is set

Types

type Client

type Client struct {
	Helm *helm.Client
	// contains filtered or unexported fields
}

Client represents the LM helm client wrapper

func (*Client) Config

func (c *Client) Config() *config.Config

Config returns the client application settings

func (*Client) HelmSettings

func (c *Client) HelmSettings() helm_env.EnvSettings

HelmSettings returns the helm client settings

func (*Client) Init

func (c *Client) Init(chartmgrconfig *config.Config, config *rest.Config) error

Init initializes the LM helm wrapper struct

type Release

type Release struct {
	Client   *Client
	Chartmgr *crv1alpha1.ChartManager
	// contains filtered or unexported fields
}

Release represents the LM helm release wrapper

func (*Release) Delete

func (r *Release) Delete() error

Delete the release

func (*Release) Deployed

func (r *Release) Deployed() bool

Deployed indicates whether or not the release is successfully deployed

func (*Release) Exists

func (r *Release) Exists() bool

Exists indicates whether or not the release exists in-cluster

func (*Release) Install

func (r *Release) Install() error

Install the release

func (*Release) Name

func (r *Release) Name() string

Name returns the name of this release

func (*Release) Status

func (r *Release) Status() crv1alpha1.ChartMgrState

Status returns the name of the release status

func (*Release) Update

func (r *Release) Update() error

Update the release

Jump to

Keyboard shortcuts

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