Documentation ¶
Index ¶
- func ContainsEqualFoldItemString(s []string, e string) (string, bool)
- func ContainsItemString(s []string, e string) bool
- func CopyFile(src, dst string) error
- func ExecKubectlCommand(ctx context.Context, mode ExecMode, kubeConfigPath string, kubeContext string, ...) (string, error)
- func ExecTemplate(obj interface{}, tmpl, filename string) error
- func GenerateKustomizationYaml(dirPath string) error
- func KubeClient(kubeConfigPath string, kubeContext string) (client.Client, error)
- func KubeConfig(kubeConfigPath string, kubeContext string) (*rest.Config, error)
- func MakeDependsOn(deps []string) []dependency.CrossNamespaceDependencyReference
- func ParseObjectKindName(input string) (string, string)
- func PrintTable(writer io.Writer, header []string, rows [][]string)
- func SplitKubeConfigPath(path string) []string
- func ValidateComponents(components []string) error
- func WriteFile(content, filename string) error
- type ExecMode
- type Utils
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsEqualFoldItemString ¶ added in v0.5.5
func ContainsItemString ¶
func ExecKubectlCommand ¶
func ExecTemplate ¶
func GenerateKustomizationYaml ¶
GenerateKustomizationYaml is the equivalent of running 'kustomize create --autodetect' in the specified dir
func KubeConfig ¶ added in v0.5.7
func MakeDependsOn ¶
func MakeDependsOn(deps []string) []dependency.CrossNamespaceDependencyReference
func ParseObjectKindName ¶
func SplitKubeConfigPath ¶
SplitKubeConfigPath splits the given KUBECONFIG path based on the runtime OS target.
func ValidateComponents ¶ added in v0.5.8
Types ¶
Click to show internal directories.
Click to hide internal directories.