google

package
v0.0.0-...-b25f04e Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGoogleSecretsProvider

func NewGoogleSecretsProvider(ctx context.Context) (secrets.Provider, error)

Types

type SecretsProvider

type SecretsProvider struct {
	// contains filtered or unexported fields
}

SecretsProvider Google Cloud secrets provider

func (SecretsProvider) GetSecret

func (sp SecretsProvider) GetSecret(ctx context.Context, preffix string, key string) (string, error)

func (SecretsProvider) GetSecrets

func (sp SecretsProvider) GetSecrets(ctx context.Context, preffix string) ([]string, error)

func (SecretsProvider) ListSecrets

func (sp SecretsProvider) ListSecrets(ctx context.Context, prefix string) ([]string, error)

Jump to

Keyboard shortcuts

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