Documentation ¶
Index ¶
- Constants
- func CheckError(err error, msg string)
- func CreateFile(path string) (afero.File, error)
- func ExtractYAMLFiles(paths []string) ([]string, error)
- func MkdirAll(name string) error
- func ReadFile(filename string) ([]byte, error)
- func RemoveAll(path string) error
- func WriteFile(filename string, data []byte) error
- func WriteYamlsToDisk(objs map[string]runtime.Object, outputDirectory string)
- type DeployConfig
- type Options
Constants ¶
View Source
const (
StdinToken string = "-"
)
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
CreateFile create a new file in path
func ExtractYAMLFiles ¶
ExtractYAMLFiles return array of YAML filenames from array of files and directories
Types ¶
type DeployConfig ¶
DeployConfig are all the specific configurations used in deploy phase
type Options ¶
type Options struct { Config *genericclioptions.ConfigFlags CertificateAuthority string ClientCertificate string ClientKey string Cluster string Context string Kubeconfig string InsecureSkipTLSVerify bool Namespace string Server string Token string User string }
Options global option for the cli that can be passed to all commands
Click to show internal directories.
Click to hide internal directories.