Documentation ¶
Index ¶
- Constants
- func DecryptKeys(keys openpgp.EntityList, passphrase []byte)
- func DecryptSecret(keys openpgp.EntityList, secret io.Reader) (string, error)
- func DecryptSecretFile(ctx context.Context, kubeClient *kubernetes.Clientset, kubernetesSecret string, ...) (string, error)
- func EncryptSecret(keys openpgp.EntityList, secret string) ([]byte, error)
- func FromSecret(secret *corev1.Secret) (openpgp.EntityList, error)
- func FromString(privKey []byte, passphrase []byte) (openpgp.EntityList, error)
- func GetKubeSecret(ctx context.Context, kube *kubernetes.Clientset, secretPath string) (*corev1.Secret, error)
- func GetSecretPath(secretPath string) (string, string, error)
Constants ¶
View Source
const (
DefaultKubernetesSecretName = "argocd/manifesto-gpg"
)
Variables ¶
This section is empty.
Functions ¶
func DecryptKeys ¶
func DecryptKeys(keys openpgp.EntityList, passphrase []byte)
func DecryptSecret ¶
func DecryptSecretFile ¶
func EncryptSecret ¶
func EncryptSecret(keys openpgp.EntityList, secret string) ([]byte, error)
func FromSecret ¶
func FromSecret(secret *corev1.Secret) (openpgp.EntityList, error)
func FromString ¶
func FromString(privKey []byte, passphrase []byte) (openpgp.EntityList, error)
func GetKubeSecret ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.