resolve

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLabelValue added in v0.2.109

func IsLabelValue(release *state.ReleaseSpec, label, value string) bool

IsLabelValue returns true if the release is labelled with the given label with a value

Types

type Options

type Options struct {
	versionstreamer.Options
	Namespace        string
	GitCommitMessage string
	Helmfile         string
	Helmfiles        []helmfiles.Helmfile
	KptBinary        string
	HelmfileBinary   string
	HelmBinary       string
	BatchMode        bool
	UpdateMode       bool
	DoGitCommit      bool
	TestOutOfCluster bool
	Gitter           gitclient.Interface

	Results                 Results
	AddEnvironmentPipelines bool
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdHelmfileResolve

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

NewCmdHelmfileResolve creates a command object for the command

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command, prefix string)

func (*Options) CustomUpgrades

func (o *Options) CustomUpgrades(helmstate *state.HelmState) error

CustomUpgrades performs custom upgrades outside of the version stream/kpt approach

func (*Options) Git

func (o *Options) Git() gitclient.Interface

Git returns the gitter - lazily creating one if required

func (*Options) GitCommit

func (o *Options) GitCommit(outDir, commitMessage string) error

func (*Options) HasHelmfile

func (o *Options) HasHelmfile() (bool, error)

HasHelmfile returns true if there is a helmfile

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options and populates any missing values

type Results

type Results struct {
	RequirementsValuesFileName string
}

Jump to

Keyboard shortcuts

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