v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigVersion

func ConfigVersion() string

ConfigVersion gets the version of the v1 configuration scheme.

Types

type Checker

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

Checker runs chart-releaser configuration checks.

func NewChecker

func NewChecker(b []byte) *Checker

NewChecker creates a new Checker.

func (*Checker) Run

func (c *Checker) Run(opts CheckerOptions) error

Run the v1 config checker.

type CheckerOptions

type CheckerOptions struct {
	SkipEnv bool
}

CheckerOptions provide command line options to the Checker.

type Formatter

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

Formatter runs chart-releaser config formatting.

func NewFormatter

func NewFormatter(b []byte) *Formatter

NewFormatter creates a new Formatter.

func (*Formatter) Run

func (f *Formatter) Run(opts FormatterOptions) error

Run the v1 config formatter.

type FormatterOptions

type FormatterOptions struct {
	NoHeader bool
	Path     string
}

FormatterOptions provide command line options to the Formatter.

type Pipeline

type Pipeline []stages.V1Stage

Pipeline defines a list of V1Stages to run in order.

UpdatePipeline defines the stages and the order in which to execute them in order to perform an update to a Chart.

func (Pipeline) Run

func (p Pipeline) Run(ctx *ctx.Context) error

Run the stages defined by the Pipeline.

type UpdateOptions

type UpdateOptions struct {
	AllowDirty bool
	DryRun     bool
	ShowDiff   bool
	Timeout    time.Duration
}

UpdateOptions provide command line options to the Updater.

func (*UpdateOptions) AugmentCtx

func (opts *UpdateOptions) AugmentCtx(context *ctx.Context)

AugmentCtx translates the update option values to their corresponding fields in a v1 Context.

type Updater

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

Updater runs chart updates.

func NewUpdater

func NewUpdater(b []byte) *Updater

NewUpdater creates a new Updater.

func (*Updater) Run

func (u *Updater) Run(opts UpdateOptions) error

Run the v1 chart updater.

Directories

Path Synopsis
env
git

Jump to

Keyboard shortcuts

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