Documentation ¶
Index ¶
- func CreateIfNotExistsDir(targetDir string) (string, error)
- func GetCacheDir(repo, chart string) (string, error)
- func GetConfigDir(repo, chart string) (string, error)
- func GetExecOptions(streams genericclioptions.IOStreams, ...) (*exec.ExecOptions, error)
- func RandomKubeCompatibleText(length int) string
- func SetKubernetesDefaults(config *rest.Config) error
- func VerifyFileExists(yamlPath string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIfNotExistsDir ¶ added in v0.3.0
func GetCacheDir ¶
GetCacheDir returns the caching directory for module
func GetConfigDir ¶
GetConfigDir returns the config directory for k8ssandra and creates it if it does not exists
func GetExecOptions ¶
func GetExecOptions(streams genericclioptions.IOStreams, configFlags *genericclioptions.ConfigFlags) (*exec.ExecOptions, error)
GetExecOptions returns a filled ExecOptions with correct parameters for Cassandra tools execution
func RandomKubeCompatibleText ¶ added in v0.3.0
func SetKubernetesDefaults ¶
SetKubernetesDefaults hack is copied from kubectl/exec (unexported)
func VerifyFileExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.