resolve

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Apache-2.0 Imports: 31 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 {
	versionstreamer.Options
	Namespace        string
	GitCommitMessage string
	Helmfile         string
	Helmfiles        []helmfiles.Helmfile
	KptBinary        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 string, 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