secrets

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 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) PopulateAllSecrets

func (psf *PVCSecretsFetcher) PopulateAllSecrets(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(gh *config.GithubConfig, slack *config.SlackConfig, srv *config.ServerConfig, pg *config.PGConfig)
	PopulatePG(pg *config.PGConfig) 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