release

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	UseHelmPlugin        bool
	NoRelease            bool
	ChartOCI             bool
	ChartPages           bool
	NoOCILogin           bool
	Artifactory          bool
	HelmBinary           string
	Dir                  string
	ChartsDir            string
	RepositoryName       string
	RepositoryURL        string
	RepositoryUsername   string
	RepositoryPassword   string
	RepositoryNested     string
	GithubPagesBranch    string
	GithubPagesURL       string
	Version              string
	VersionFile          string
	Namespace            string
	RegistryConfigFile   string
	ContainerRegistryOrg string
	GitHubPagesDir       string
	IgnoreChartNames     []string
	KubeClient           kubernetes.Interface
	JXClient             jxc.Interface
	GitClient            gitclient.Interface
	CommandRunner        cmdrunner.CommandRunner
	Requirements         *jxcore.RequirementsConfig
	ReleasedCharts       int
}

Options the options for the command

func NewCmdHelmRelease

func NewCmdHelmRelease() (*cobra.Command, *Options)

NewCmdHelmRelease creates a command object for the command

func (*Options) BasicRegistry

func (o *Options) BasicRegistry(repoURL, chartDir, name string) error

func (*Options) BuildAndPackage

func (o *Options) BuildAndPackage(chartDir string) error

func (*Options) ChartPageRegistry

func (o *Options) ChartPageRegistry(repoURL, chartDir, name string) error

func (*Options) GitCloneGitHubPages

func (o *Options) GitCloneGitHubPages(repoURL, branch string) (string, error)

Setup sets up the storage in the given directory

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Run implements the command

Jump to

Keyboard shortcuts

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