cmd

package
v1.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

View Source
var FilePath string
View Source
var (
	HelmConfigObj = HelmConfig{}
)
View Source
var Quiet bool
View Source
var (
	UsingFiles = false
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type HelmConfig

type HelmConfig struct {
	DEBUG             bool   `envconfig:"DEBUG"`
	PLUGINS           string `envconfig:"PLUGINS"`
	PLUGIN_NAME       string `envconfig:"PLUGIN_NAME"`
	PLUGIN_DIR        string `envconfig:"PLUGIN_DIR"`
	BIN               string `envconfig:"BIN"`
	REGISTRY_CONFIG   string `envconfig:"REGISTRY_CONFIG"`
	REPOSITORY_CACHE  string `envconfig:"REPOSITORY_CACHE"`
	REPOSITORY_CONFIG string `envconfig:"REPOSITORY_CONFIG"`
	NAMESPACE         string `envconfig:"NAMESPACE"`
	KUBECONTEXT       string `envconfig:"KUBECONTEXT"`
}

type OutputFormat

type OutputFormat int
const (
	Yaml OutputFormat = iota
	Json
)

func (*OutputFormat) Set

func (of *OutputFormat) Set(v string) error

func (*OutputFormat) String

func (of *OutputFormat) String() string

func (*OutputFormat) Type

func (of *OutputFormat) Type() string

Type is only used in help text

Jump to

Keyboard shortcuts

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