Documentation ¶
Index ¶
- func ByteMapToRawMessageMap(m map[string][]byte) (map[string]json.RawMessage, error)
- func ConfigMapRefFromLocalRef(localConfigMapRef *lsv1alpha1.LocalConfigMapReference, namespace string) *lsv1alpha1.ConfigMapReference
- func ResolveConfigMapReference(ctx context.Context, kubeClient client.Client, ...) (map[string][]byte, []byte, int64, error)
- func ResolveSecretReference(ctx context.Context, kubeClient client.Client, ...) (map[string][]byte, []byte, int64, error)
- func SecretRefFromLocalRef(localSecretRef *lsv1alpha1.LocalSecretReference, namespace string) *lsv1alpha1.SecretReference
- func StringMapToRawMessageMap(m map[string]string) (map[string]json.RawMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteMapToRawMessageMap ¶
ByteMapToRawMessageMap converts a map of bytes to a map of json.RawMessages
func ConfigMapRefFromLocalRef ¶
func ConfigMapRefFromLocalRef(localConfigMapRef *lsv1alpha1.LocalConfigMapReference, namespace string) *lsv1alpha1.ConfigMapReference
func ResolveConfigMapReference ¶
func ResolveConfigMapReference(ctx context.Context, kubeClient client.Client, configMapRef *lsv1alpha1.ConfigMapReference) (map[string][]byte, []byte, int64, error)
ResolveConfigMapReference is an auxiliary function that fetches the content of a configmap as specified by the given ConfigMapReference The first returned value is the complete configmap content, the second one the specified key (if set), the third one is the generation of the configmap
func ResolveSecretReference ¶
func ResolveSecretReference(ctx context.Context, kubeClient client.Client, secretRef *lsv1alpha1.SecretReference) (map[string][]byte, []byte, int64, error)
ResolveSecretReference is an auxiliary function that fetches the content of a secret as specified by the given SecretReference The first returned value is the complete secret content, the second one the specified key (if set), the third one is the generation of the secret
func SecretRefFromLocalRef ¶
func SecretRefFromLocalRef(localSecretRef *lsv1alpha1.LocalSecretReference, namespace string) *lsv1alpha1.SecretReference
func StringMapToRawMessageMap ¶
StringMapToRawMessageMap converts a map of strings to a map of json.RawMessages
Types ¶
This section is empty.