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
LoadFromConfigMap reads data from a configmap and returns the list of values extracted from the key Deprecated: Remove in a future version (v1.0). Future loader functions will be created
func LoadFromConfigMapMatchingLabel ¶ added in v0.47.0
func LoadFromConfigMapMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, key string) ([]string, error)
LoadFromConfigMapMatchingLabel reads data from a configmap and returns the list of values extracted from the key Deprecated: Remove in a future version (v1.0). Future loader functions will be created
func LoadFromSecret ¶
LoadFromSecret reads data from a secret in the cluster Deprecated: Remove in a future version (v1.0). Future loader functions will be created
func LoadFromSecretMatchingLabel ¶ added in v0.43.0
func LoadFromSecretMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, key string) ([]string, error)
LoadFromSecretMatchingLabel reads data from a secret in the cluster using a label selector Deprecated: Remove in a future version (v1.0). Future loader functions will be created
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. Deprecated: Remove in a future version (v1.0). Future loader functions will be created
Types ¶
This section is empty.