manager

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Extends           []string           `yaml:"extends,omitempty"`
	ContextID         string             `yaml:"context_id,omitempty"`
	Secrets           Secrets            `yaml:"secrets"`
	SkipDeploy        bool               `yaml:"skip_deploy,omitempty"`
	RemoteSecretStore *RemoteSecretStore `yaml:"remote_secret_store,omitempty"`
	Name              string
}

type Contexts

type Contexts map[string]Context

func (Contexts) HasAWSRemoteSecrets added in v0.0.2

func (contexts Contexts) HasAWSRemoteSecrets() (bool, error)

func (Contexts) Process

func (contexts Contexts) Process() Contexts

type Manager added in v0.0.2

type Manager struct {
	AWSSecretManager *secretsmanager.SecretsManager
}

func (*Manager) GetAWSSecret added in v0.0.2

func (m *Manager) GetAWSSecret(name string) (string, error)

func (*Manager) ProcessContexts added in v0.0.2

func (m *Manager) ProcessContexts(contexts Contexts) (Contexts, error)

func (*Manager) ProcessProjects added in v0.0.2

func (m *Manager) ProcessProjects(projects Projects) (Projects, error)

func (*Manager) ProcessSecrets added in v0.0.2

func (m *Manager) ProcessSecrets(secrets Secrets) (Secrets, error)

type Project added in v0.0.2

type Project struct {
	Extends           []string           `yaml:"extends,omitempty"`
	ProjectSlug       string             `yaml:"project_slug,omitempty"`
	Secrets           Secrets            `yaml:"secrets"`
	SkipDeploy        bool               `yaml:"skip_deploy,omitempty"`
	RemoteSecretStore *RemoteSecretStore `yaml:"remote_secret_store,omitempty"`
}

type Projects added in v0.0.2

type Projects map[string]Project

func (Projects) HasAWSRemoteSecrets added in v0.0.2

func (projects Projects) HasAWSRemoteSecrets() (bool, error)

func (Projects) Process added in v0.0.2

func (projects Projects) Process() Projects

type RemoteSecretStore added in v0.0.2

type RemoteSecretStore struct {
	Type string `yaml:"type"`
}

type Secrets

type Secrets map[string]string

Jump to

Keyboard shortcuts

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