reader

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvConfig = InitConfig()
)

Functions

func GetSecret

func GetSecret(name string, projectId string, version string) (string, error)

func GetSecrets

func GetSecrets(filename string, projectId string, version string) error

Types

type Config

type Config struct {
	GsmIsStub string `envconfig:"GSM_IS_STUB" default:"no"`
	Timeout   string `envconfig:"GSM_TIMEOUT" default:"10"`
}

func InitConfig

func InitConfig() Config

type GsmResponse

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

type SecretIDList

type SecretIDList map[string]string

func GetSecretIDList

func GetSecretIDList(filename string) (SecretIDList, error)

type SecretsPayload

type SecretsPayload map[string]interface{}

Jump to

Keyboard shortcuts

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