Documentation ¶
Index ¶
- func LoadFromConfigMap(namespace string, configMapName string, key string) ([]byte, error)
- func LoadFromConfigMapMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, ...) ([]string, error)
- func LoadFromSecret(namespace string, secretName string, key string) ([]byte, error)
- func LoadFromSecretMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, ...) ([]string, error)
- func SplitTroubleshootSecretLabelSelector(client kubernetes.Interface, labelSelector labels.Selector) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFromConfigMap ¶ added in v0.10.9
func LoadFromConfigMapMatchingLabel ¶ added in v0.47.0
func LoadFromSecret ¶
func LoadFromSecretMatchingLabel ¶ added in v0.43.0
func SplitTroubleshootSecretLabelSelector ¶ added in v0.69.0
func SplitTroubleshootSecretLabelSelector(client kubernetes.Interface, labelSelector labels.Selector) ([]string, error)
SplitTroubleshootSecretLabelSelector splits a label selector into two selectors, if applicable: 1. troubleshoot.io/kind=support-bundle and non-troubleshoot (if contains) labels selector. 2. troubleshoot.sh/kind=support-bundle and non-troubleshoot (if contains) labels selector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.