plan

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dir      = ".helmwave/"
	File     = "planfile"
	Body     = "helmwave.yml"
	Manifest = "manifest/"
	Values   = "values/"
)

Variables

View Source
var (
	ErrManifestDirNotFound = errors.New(Manifest + " dir not found")
	ErrManifestDirEmpty    = errors.New(Manifest + " is empty")
)
View Source
var ErrDeploy = errors.New("deploy failed")
View Source
var ErrValidateFailed = errors.New("validate failed")

Functions

func NewBody

func NewBody(file string) (*planBody, error)

Types

type Plan

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

func New

func New(dir string) *Plan

func (*Plan) Apply

func (p *Plan) Apply() (err error)

func (*Plan) ApplyReport

func (p *Plan) ApplyReport(fails map[*release.Config]error) error

func (*Plan) ApplyWithKubedog

func (p *Plan) ApplyWithKubedog(kubedogConfig *kubedog.Config) (err error)

func (*Plan) Build

func (p *Plan) Build(yml string, tags []string, matchAll bool) error

Build plan with yml and tags/matchALL options

func (*Plan) Clean

func (p *Plan) Clean()

func (*Plan) Destroy

func (p *Plan) Destroy() error

func (*Plan) Diff

func (p *Plan) Diff(b *Plan, diffWide int)

func (*Plan) Export

func (p *Plan) Export() error

Export allows save plan to file

func (*Plan) Import

func (p *Plan) Import() error

func (*Plan) IsExist

func (p *Plan) IsExist() bool

IsExist returns true if planfile exists

func (*Plan) IsManifestExist

func (p *Plan) IsManifestExist() bool

IsManifestExist returns true if planfile exists

func (*Plan) List

func (p *Plan) List() error

func (*Plan) PrettyPlan

func (p *Plan) PrettyPlan()

func (*Plan) Rollback

func (p *Plan) Rollback() error

func (*Plan) Status

func (p *Plan) Status(names []string) error

func (*Plan) ValidateValues

func (p *Plan) ValidateValues() error

Jump to

Keyboard shortcuts

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