specs

package
v0.70.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 8 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)

func LoadFromConfigMapMatchingLabel added in v0.47.0

func LoadFromConfigMapMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, key string) ([]string, error)

func LoadFromSecret

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

func LoadFromSecretMatchingLabel added in v0.43.0

func LoadFromSecretMatchingLabel(client kubernetes.Interface, labelSelector string, namespace string, key string) ([]string, error)

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.

Jump to

Keyboard shortcuts

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