providers

package
v0.0.0-...-80d501c Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package providers defines default secrets providers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadKubernetesSecret

func ReadKubernetesSecret(readSecretFromKubeClient KubeSecretGetter, path string) secrets.SecretVal

ReadKubernetesSecret reads a secrets store in k8s

func ReadSecretFile

func ReadSecretFile(path string) secrets.SecretVal

ReadSecretFile reads the given secret file

Types

type KubeSecretGetter

type KubeSecretGetter func(string, string) (map[string][]byte, error)

KubeSecretGetter is a function that fetches a secret from k8s

Jump to

Keyboard shortcuts

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