secrets

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SecretsManagerClient *secretmanager.Client

SecretsManagerClient -_-

Functions

This section is empty.

Types

type Client

type Client struct{}

Client Real Secrets Manager client.

func (Client) Get

func (c Client) Get(name string) ([]byte, error)

Get Gets value of specified secret.

type Manager

type Manager interface {
	Get(name string) ([]byte, error)
}

Manager is an abstraction over PubSub

type MockClient

type MockClient struct{}

MockClient NOOP Secrets Manager client.

func (MockClient) Get

func (c MockClient) Get(name string) ([]byte, error)

Get Gets value of specified secret.

Jump to

Keyboard shortcuts

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