common

package
v1.2.0-alpha14 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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