Documentation ¶
Index ¶
- func AddPartOfArgoCDLabel(objs ...metav1.Object)
- func CaptureStderr(callback func()) (string, error)
- func CaptureStdout(callback func()) (string, error)
- func MustCreateSecretFromFile(filepath string) *v1.Secret
- func MustCreateSecretFromJson(jsonData string) *v1.Secret
- func MustReadFile(path string) string
- func NewConfigMap(namespace, name string, entries map[string]string) *v1.ConfigMap
- func NewSecret(namespace, name string, entries map[string][]byte) *v1.Secret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPartOfArgoCDLabel ¶ added in v0.9.0
func CaptureStderr ¶
func CaptureStdout ¶
func MustCreateSecretFromFile ¶
MustCreateSecretFromFile reads a Kubernetes secret definition from filepath and returns a Secret object. Panics on error.
func MustCreateSecretFromJson ¶
MustCreateSecretFromJson creates a Kubernetes secret from given JSON data and returns a Secret object. Panics on error.
func MustReadFile ¶
MustReadFile must read a file from given path. Panics if it can't.
func NewConfigMap ¶ added in v0.9.0
NewSecret creates a new Kubernetes secret object in given namespace, with given name and with given data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.