Documentation
¶
Index ¶
- func ApplySecretsFromFolder(secretsFolder string, namespace string) error
- func CreateFolder(path string) error
- func DeleteApplications() error
- func DeleteManifest(filePath string) error
- func KubectlApply(path string, extraArgs ...string) error
- func RemoveObstructiveFinalizers() error
- func RunCommand(cmd string) (string, error)
- func WriteFile(path string, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySecretsFromFolder ¶
ApplySecretsFromFolder applies all secrets from a folder using kubectl
func CreateFolder ¶
Create folder (clear its content if it exists)
func DeleteApplications ¶
func DeleteApplications() error
DeleteApplications deletes all Argo CD applications
func DeleteManifest ¶
DeleteManifest deletes a Kubernetes manifest file using kubectl
func KubectlApply ¶
KubectlApply applies a Kubernetes manifest file using kubectl
func RemoveObstructiveFinalizers ¶
func RemoveObstructiveFinalizers() error
RemoveObstructiveFinalizers removes finalizers from applications that would prevent deletion
func RunCommand ¶
RunCommand executes a command and returns its output
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.