chart

package
v0.0.0-...-2d2a8db Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 18 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 CommitBump

func CommitBump(c *Chart) error

func CommitMessage

func CommitMessage(c *Chart, msg string) 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 UpdateValue

func UpdateValue(c *Chart, d *Update, 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
	Updates []*Update
	Lines   []string
}

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"`
	Prerelease bool     `yaml:"prerelease"`
	Disabled   bool     `yaml:"disabled"`
}

type Update

type Update struct {
	Name  string
	Image string
	Tag   string
	Line  int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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