charts

package
v0.44.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartArgs added in v0.41.0

func ChartArgs(ctx context.Context, c *config.ChartsRelease) ([]string, error)

ChartArgs will return the list of available charts in the current branch

func IsBranchAvailable added in v0.41.0

func IsBranchAvailable(branch string, availableBranches []string) bool

IsBranchAvailable will check if the branch line exists

func IsChartAvailable added in v0.41.0

func IsChartAvailable(ctx context.Context, conf *config.ChartsRelease, ch string) (bool, error)

IsChartAvailable will check if the chart exists in the available charts

func IsVersionAvailable added in v0.41.0

func IsVersionAvailable(ctx context.Context, conf *config.ChartsRelease, ch, version string) (bool, error)

IsVersionAvailable exists to be released or forward ported

func List

func List(ctx context.Context, c *config.ChartsRelease, branch, chart string) (string, error)

List prints the lifecycle status of the charts

func MountReleaseBranch added in v0.41.1

func MountReleaseBranch(line string) string

MountReleaseBranch will mount the release branch name from the line provided

func Push added in v0.41.1

func Push(ctx context.Context, conf *config.ChartsRelease, user *config.User, ghc *github.Client, branch, token string, debug bool) (string, error)

Push will push the charts updates to the remote upstream charts repository and create a PR.

func Update added in v0.41.0

func Update(ctx context.Context, c *config.ChartsRelease, br, ch, vr string) (string, error)

Update will pull the target chart version to the local branch and create a PR to release the chart

func VersionArgs added in v0.41.0

func VersionArgs(ctx context.Context, c *config.ChartsRelease, ch string) ([]string, error)

VersionArgs will return the list of available versions for the target chart

Types

This section is empty.

Jump to

Keyboard shortcuts

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