specs

package
v0.92.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromConfigMap added in v0.10.9

func LoadFromConfigMap(namespace string, configMapName string, key string) ([]byte, error)

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

func LoadFromSecret(namespace string, secretName string, key string) ([]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL