common

package
v1.1.22-fix14 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CouldNotLoadRepositoriesFileErrorFormat = "could not load repositories file (%s): you might need to run `werf helm repo init`"
View Source
var (
	HelmSettings *helm_env.EnvSettings
)

Functions

func CheckArgsLength

func CheckArgsLength(argsReceived int, requiredArgs ...string) error

func DefaultKeyring

func DefaultKeyring() string

func DownloadChart

func DownloadChart(opts *DownloadChartOptions) error

func GetEnvironmentOrStub

func GetEnvironmentOrStub(environmentOption string) string

func GetTagOrStub

func GetTagOrStub(commonCmdData *common.CmdData) (string, tag_strategy.TagStrategy, error)

func InitHelmSettings

func InitHelmSettings(helmCmdData *HelmCmdData)

func IsCouldNotLoadRepositoriesFileError

func IsCouldNotLoadRepositoriesFileError(err error) bool

func SetupHelmHome

func SetupHelmHome(cmdData *HelmCmdData, cmd *cobra.Command)

Types

type DownloadChartOptions

type DownloadChartOptions struct {
	Untar    bool
	UntarDir string
	ChartRef string
	DestDir  string
	Version  string
	RepoURL  string
	Username string
	Password string

	Verify      bool
	VerifyLater bool
	Keyring     string

	CertFile string
	KeyFile  string
	CaFile   string

	Devel bool

	Out io.Writer
}

type HelmCmdData

type HelmCmdData struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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