chart

package
v0.0.0-...-6e9fcf6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFilesNotFound = errors.New("chart files not found")
)
View Source
var (
	ErrNothingToCommit = errors.New("nothing to commit")
)

Functions

func CommitChanges

func CommitChanges(c *Chart) error

func Save

func Save(chart *Chart) error

func UpdateApp

func UpdateApp(c *Chart, latest string) error

func UpdateDependency

func UpdateDependency(c *Chart, d *chart.Dependency, latest string) error

func UpdateVersion

func UpdateVersion(c *Chart) error

Types

type Bump

type Bump int
const (
	NoBump Bump = iota
	PatchBump
	MinorBump
	MajorBump
)

type Chart

type Chart struct {
	Path    string
	Bump    Bump
	Changed bool
	Meta    *chart.Metadata
	Source  *Source
}

func Find

func Find(root string) ([]*Chart, error)

type Source

type Source struct {
	Registry   string   `yaml:"registry"`
	Image      string   `yaml:"image"`
	Ignored    []string `yaml:"ignored"`
	Disabled   bool     `yaml:"disabled"`
	Prerelease bool     `yaml:"prerelease"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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