Help us shape the future of Go! Take the 2026 Go Developer Survey

secrets

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PVCSecretsFetcher

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

func NewPVCSecretsFetcher

func NewPVCSecretsFetcher(sc *pvc.SecretsClient) *PVCSecretsFetcher

func (*PVCSecretsFetcher) PopulateAWS

func (psf *PVCSecretsFetcher) PopulateAWS(aws *config.AWSCreds) error

PopulateAWS populates AWS secrets into aws

func (*PVCSecretsFetcher) PopulateAllSecrets

func (psf *PVCSecretsFetcher) PopulateAllSecrets(aws *config.AWSCreds, gh *config.GithubConfig, slack *config.SlackConfig, srv *config.ServerConfig, pg *config.PGConfig) error

PopulateAllSecrets populates all secrets into the respective config structs

func (*PVCSecretsFetcher) PopulateGithub

func (psf *PVCSecretsFetcher) PopulateGithub(gh *config.GithubConfig) error

PopulateGithub populates Github secrets into gh

func (*PVCSecretsFetcher) PopulatePG

func (psf *PVCSecretsFetcher) PopulatePG(pg *config.PGConfig) error

PopulatePG populates postgres secrets into pg

func (*PVCSecretsFetcher) PopulateServer

func (psf *PVCSecretsFetcher) PopulateServer(srv *config.ServerConfig) error

PopulateServer populates server secrets into srv

func (*PVCSecretsFetcher) PopulateSlack

func (psf *PVCSecretsFetcher) PopulateSlack(slack *config.SlackConfig) error

PopulateSlack populates Slack secrets into slack

type SecretFetcher

type SecretFetcher interface {
	PopulateAllSecrets(aws *config.AWSCreds, gh *config.GithubConfig, slack *config.SlackConfig, srv *config.ServerConfig, pg *config.PGConfig)
	PopulatePG(pg *config.PGConfig) error
	PopulateAWS(aws *config.AWSCreds) error
	PopulateGithub(gh *config.GithubConfig) error
	PopulateSlack(slack *config.SlackConfig) error
	PopulateServer(srv *config.ServerConfig) error
}

Jump to

Keyboard shortcuts

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