Documentation ¶
Index ¶
- func ChartArgs(ctx context.Context, c *config.ChartsRelease) ([]string, error)
- func IsBranchAvailable(branch string, availableBranches []string) bool
- func IsChartAvailable(ctx context.Context, conf *config.ChartsRelease, ch string) (bool, error)
- func IsVersionAvailable(ctx context.Context, conf *config.ChartsRelease, ch, version string) (bool, error)
- func List(ctx context.Context, c *config.ChartsRelease, branch, chart string) (string, error)
- func MountReleaseBranch(line string) string
- func Push(ctx context.Context, conf *config.ChartsRelease, user *config.User, ...) (string, error)
- func Update(ctx context.Context, c *config.ChartsRelease, br, ch, vr string) (string, error)
- func VersionArgs(ctx context.Context, c *config.ChartsRelease, ch string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChartArgs ¶ added in v0.41.0
ChartArgs will return the list of available charts in the current branch
func IsBranchAvailable ¶ added in v0.41.0
IsBranchAvailable will check if the branch line exists
func IsChartAvailable ¶ added in v0.41.0
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 MountReleaseBranch ¶ added in v0.41.1
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
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
VersionArgs will return the list of available versions for the target chart
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.