Documentation ¶
Index ¶
- type PVCSecretsFetcher
- func (psf *PVCSecretsFetcher) PopulateAllSecrets(gh *config.GithubConfig, slack *config.SlackConfig, srv *config.ServerConfig, ...) error
- func (psf *PVCSecretsFetcher) PopulateGithub(gh *config.GithubConfig) error
- func (psf *PVCSecretsFetcher) PopulatePG(pg *config.PGConfig) error
- func (psf *PVCSecretsFetcher) PopulateServer(srv *config.ServerConfig) error
- func (psf *PVCSecretsFetcher) PopulateSlack(slack *config.SlackConfig) error
- type SecretFetcher
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 }
Click to show internal directories.
Click to hide internal directories.