providers

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const AzureVaultDomain = "vault.azure.net"
View Source
const PROJECTS_ENDPOINT = "/projects"

nolint: golint

View Source
const VERCEL_API_BASE = "https://api.vercel.com/"

nolint: golint

Variables

View Source
var (
	ErrCloudFlareSourceFieldIsMissing = errors.New("`source` field is missing")
)

Functions

func NewAWSSSM

func NewAWSSSM(logger logging.Logger) (core.Provider, error)

func NewAWSSecretsManager

func NewAWSSecretsManager(logger logging.Logger) (core.Provider, error)

func NewAzureKeyVault

func NewAzureKeyVault(logger logging.Logger) (core.Provider, error)

func NewCloudflareClient added in v1.4.0

func NewCloudflareClient(logger logging.Logger) (core.Provider, error)

func NewCloudflareSecretsClient added in v1.5.0

func NewCloudflareSecretsClient(logger logging.Logger) (core.Provider, error)

func NewConjurClient added in v1.4.0

func NewConjurClient(logger logging.Logger) (core.Provider, error)

func NewConsul

func NewConsul(logger logging.Logger) (core.Provider, error)

func NewDoppler added in v0.6.0

func NewDoppler(logger logging.Logger) (core.Provider, error)

func NewDotenv

func NewDotenv(logger logging.Logger) (core.Provider, error)

func NewEtcd

func NewEtcd(logger logging.Logger) (core.Provider, error)

func NewFileSystem added in v1.5.1

func NewFileSystem(logger logging.Logger) (core.Provider, error)

NewFileSystem creates new provider instance

func NewGitHub added in v1.5.0

func NewGitHub(logger logging.Logger) (core.Provider, error)

NewGitHub create new GitHub provider

func NewGoogleSecretManager

func NewGoogleSecretManager(logger logging.Logger) (core.Provider, error)

func NewGopass added in v1.5.0

func NewGopass(logger logging.Logger) (core.Provider, error)

func NewHashicorpVault

func NewHashicorpVault(logger logging.Logger) (core.Provider, error)

func NewHeroku

func NewHeroku(logger logging.Logger) (core.Provider, error)

func NewKeyPass added in v1.5.1

func NewKeyPass(logger logging.Logger) (core.Provider, error)

NewKeyPass creates new provider instance

func NewLastPass added in v1.5.0

func NewLastPass(logger logging.Logger) (core.Provider, error)

func NewOnePassword added in v1.5.0

func NewOnePassword(logger logging.Logger) (core.Provider, error)

func NewVercel

func NewVercel(logger logging.Logger) (core.Provider, error)

Types

type AWSSSM

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

func (*AWSSSM) Delete added in v1.5.0

func (a *AWSSSM) Delete(kp core.KeyPath) error

func (*AWSSSM) DeleteMapping added in v1.5.0

func (a *AWSSSM) DeleteMapping(kp core.KeyPath) error

func (*AWSSSM) Get

func (a *AWSSSM) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*AWSSSM) GetMapping

func (a *AWSSSM) GetMapping(kp core.KeyPath) ([]core.EnvEntry, error)

func (*AWSSSM) Name

func (a *AWSSSM) Name() string

func (*AWSSSM) Put added in v1.3.0

func (a *AWSSSM) Put(p core.KeyPath, val string) error

func (*AWSSSM) PutMapping added in v1.3.0

func (a *AWSSSM) PutMapping(p core.KeyPath, m map[string]string) error

type AWSSSMClient

type AWSSSMClient interface {
	GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
}

type AWSSecretsManager

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

func (*AWSSecretsManager) Delete added in v1.5.0

func (a *AWSSecretsManager) Delete(kp core.KeyPath) error

func (*AWSSecretsManager) DeleteMapping added in v1.5.0

func (a *AWSSecretsManager) DeleteMapping(kp core.KeyPath) error

func (*AWSSecretsManager) Get

func (*AWSSecretsManager) GetMapping

func (a *AWSSecretsManager) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*AWSSecretsManager) Name

func (a *AWSSecretsManager) Name() string

func (*AWSSecretsManager) Put added in v1.3.0

func (a *AWSSecretsManager) Put(kp core.KeyPath, val string) error

func (*AWSSecretsManager) PutMapping added in v1.3.0

func (a *AWSSecretsManager) PutMapping(kp core.KeyPath, m map[string]string) error

type AzureKeyVault

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

func (*AzureKeyVault) Delete added in v1.5.0

func (a *AzureKeyVault) Delete(kp core.KeyPath) error

func (*AzureKeyVault) DeleteMapping added in v1.5.0

func (a *AzureKeyVault) DeleteMapping(kp core.KeyPath) error

func (*AzureKeyVault) Get

func (a *AzureKeyVault) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*AzureKeyVault) GetMapping

func (a *AzureKeyVault) GetMapping(kp core.KeyPath) ([]core.EnvEntry, error)

func (*AzureKeyVault) Name

func (a *AzureKeyVault) Name() string

func (*AzureKeyVault) Put added in v1.3.0

func (a *AzureKeyVault) Put(p core.KeyPath, val string) error

func (*AzureKeyVault) PutMapping added in v1.3.0

func (a *AzureKeyVault) PutMapping(p core.KeyPath, m map[string]string) error

type AzureKeyVaultClient added in v1.5.1

type AzureKeyVaultClient interface {
	SetSecret(ctx context.Context, vaultBaseURL string, secretName string, parameters keyvault.SecretSetParameters) (result keyvault.SecretBundle, err error)
	GetSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (result keyvault.SecretBundle, err error)
	GetSecrets(ctx context.Context, vaultBaseURL string, maxresults *int32) (result keyvault.SecretListResultPage, err error)
	DeleteSecret(ctx context.Context, vaultBaseURL string, secretName string) (result keyvault.DeletedSecretBundle, err error)
}

type Cloudflare added in v1.4.0

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

func (*Cloudflare) Delete added in v1.5.0

func (c *Cloudflare) Delete(kp core.KeyPath) error

func (*Cloudflare) DeleteMapping added in v1.5.0

func (c *Cloudflare) DeleteMapping(kp core.KeyPath) error

func (*Cloudflare) Get added in v1.4.0

func (c *Cloudflare) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Cloudflare) GetMapping added in v1.4.0

func (c *Cloudflare) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Cloudflare) Name added in v1.4.0

func (c *Cloudflare) Name() string

func (*Cloudflare) Put added in v1.4.0

func (c *Cloudflare) Put(p core.KeyPath, val string) error

func (*Cloudflare) PutMapping added in v1.4.0

func (c *Cloudflare) PutMapping(p core.KeyPath, m map[string]string) error

type CloudflareClient added in v1.4.0

type CloudflareClient interface {
	WriteWorkersKV(ctx context.Context, namespaceID, key string, value []byte) (cloudflare.Response, error)
	WriteWorkersKVBulk(ctx context.Context, namespaceID string, kvs cloudflare.WorkersKVBulkWriteRequest) (cloudflare.Response, error)
	ReadWorkersKV(ctx context.Context, namespaceID string, key string) ([]byte, error)
	ListWorkersKVs(ctx context.Context, namespaceID string) (cloudflare.ListStorageKeysResponse, error)
}

type CloudflareSecrets added in v1.5.0

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

func (*CloudflareSecrets) Delete added in v1.5.0

func (c *CloudflareSecrets) Delete(p core.KeyPath) error

func (*CloudflareSecrets) DeleteMapping added in v1.5.0

func (c *CloudflareSecrets) DeleteMapping(kp core.KeyPath) error

func (*CloudflareSecrets) Get added in v1.5.0

func (*CloudflareSecrets) GetMapping added in v1.5.0

func (c *CloudflareSecrets) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*CloudflareSecrets) Name added in v1.5.0

func (c *CloudflareSecrets) Name() string

func (*CloudflareSecrets) Put added in v1.5.0

func (c *CloudflareSecrets) Put(p core.KeyPath, val string) error

func (*CloudflareSecrets) PutMapping added in v1.5.0

func (c *CloudflareSecrets) PutMapping(p core.KeyPath, m map[string]string) error

type CloudflareSecretsClient added in v1.5.0

type CloudflareSecretsClient interface {
	SetWorkersSecret(ctx context.Context, script string, req *cloudflare.WorkersPutSecretRequest) (cloudflare.WorkersPutSecretResponse, error)
	DeleteWorkersSecret(ctx context.Context, script, secretName string) (cloudflare.Response, error)
}

type ConjurClient added in v1.4.0

type ConjurClient interface {
	AddSecret(variableID string, secretValue string) error
	RetrieveSecret(variableID string) ([]byte, error)
}

type Consul

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

func (*Consul) Delete added in v1.5.0

func (a *Consul) Delete(kp core.KeyPath) error

func (*Consul) DeleteMapping added in v1.5.0

func (a *Consul) DeleteMapping(kp core.KeyPath) error

func (*Consul) Get

func (a *Consul) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Consul) GetMapping

func (a *Consul) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Consul) Name

func (a *Consul) Name() string

func (*Consul) Put added in v1.3.0

func (a *Consul) Put(p core.KeyPath, val string) error

func (*Consul) PutMapping added in v1.3.0

func (a *Consul) PutMapping(p core.KeyPath, m map[string]string) error

type ConsulClient

type ConsulClient interface {
	Get(key string, q *api.QueryOptions) (*api.KVPair, *api.QueryMeta, error)
	List(prefix string, q *api.QueryOptions) (api.KVPairs, *api.QueryMeta, error)
	Put(p *api.KVPair, q *api.WriteOptions) (*api.WriteMeta, error)
}

type CyberArkConjur added in v1.4.0

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

func (*CyberArkConjur) Delete added in v1.5.0

func (c *CyberArkConjur) Delete(kp core.KeyPath) error

func (*CyberArkConjur) DeleteMapping added in v1.5.0

func (c *CyberArkConjur) DeleteMapping(kp core.KeyPath) error

func (*CyberArkConjur) Get added in v1.4.0

func (c *CyberArkConjur) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*CyberArkConjur) GetMapping added in v1.4.0

func (c *CyberArkConjur) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*CyberArkConjur) Name added in v1.4.0

func (c *CyberArkConjur) Name() string

func (*CyberArkConjur) Put added in v1.4.0

func (c *CyberArkConjur) Put(p core.KeyPath, val string) error

func (*CyberArkConjur) PutMapping added in v1.4.0

func (c *CyberArkConjur) PutMapping(p core.KeyPath, m map[string]string) error

type Doppler added in v0.6.0

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

func (*Doppler) Delete added in v1.5.0

func (h *Doppler) Delete(kp core.KeyPath) error

func (*Doppler) DeleteMapping added in v1.5.0

func (h *Doppler) DeleteMapping(kp core.KeyPath) error

func (*Doppler) Get added in v0.6.0

func (h *Doppler) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Doppler) GetMapping added in v0.6.0

func (h *Doppler) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Doppler) Name added in v0.6.0

func (h *Doppler) Name() string

func (*Doppler) Put added in v1.3.0

func (h *Doppler) Put(p core.KeyPath, val string) error

func (*Doppler) PutMapping added in v1.3.0

func (h *Doppler) PutMapping(p core.KeyPath, m map[string]string) error

type DopplerClient added in v0.6.0

type DopplerClient interface {
	GetSecrets(host string, verifyTLS bool, apiKey string, project string, config string) ([]byte, http.Error)
}

type DotEnvClient

type DotEnvClient interface {
	Read(p string) (map[string]string, error)
	Write(p string, kvs map[string]string) error
	Exists(p string) (bool, error)
	Delete(p string) error
}

type DotEnvReader

type DotEnvReader struct {
}

func (*DotEnvReader) Delete added in v1.5.0

func (d *DotEnvReader) Delete(p string) error

func (*DotEnvReader) Exists added in v1.5.0

func (d *DotEnvReader) Exists(p string) (bool, error)

func (*DotEnvReader) Read

func (d *DotEnvReader) Read(p string) (map[string]string, error)

func (*DotEnvReader) Write added in v1.3.0

func (d *DotEnvReader) Write(p string, kvs map[string]string) error

type Dotenv

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

func (*Dotenv) Delete added in v1.5.0

func (a *Dotenv) Delete(kp core.KeyPath) error

func (*Dotenv) DeleteMapping added in v1.5.0

func (a *Dotenv) DeleteMapping(kp core.KeyPath) error

func (*Dotenv) Get

func (a *Dotenv) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Dotenv) GetMapping

func (a *Dotenv) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Dotenv) Name

func (a *Dotenv) Name() string

func (*Dotenv) Put added in v1.3.0

func (a *Dotenv) Put(p core.KeyPath, val string) error

func (*Dotenv) PutMapping added in v1.3.0

func (a *Dotenv) PutMapping(kp core.KeyPath, m map[string]string) error

type Etcd

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

func (*Etcd) Delete added in v1.5.0

func (a *Etcd) Delete(kp core.KeyPath) error

func (*Etcd) DeleteMapping added in v1.5.0

func (a *Etcd) DeleteMapping(kp core.KeyPath) error

func (*Etcd) Get

func (a *Etcd) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Etcd) GetMapping

func (a *Etcd) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Etcd) Name

func (a *Etcd) Name() string

func (*Etcd) Put added in v1.3.0

func (a *Etcd) Put(p core.KeyPath, val string) error

func (*Etcd) PutMapping added in v1.3.0

func (a *Etcd) PutMapping(p core.KeyPath, m map[string]string) error

type EtcdClient

type EtcdClient interface {
	Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error)
	Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error)
}

type FileSystem added in v1.5.1

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

func (*FileSystem) Delete added in v1.5.1

func (f *FileSystem) Delete(kp core.KeyPath) error

Delete will delete entry

func (*FileSystem) DeleteMapping added in v1.5.1

func (f *FileSystem) DeleteMapping(kp core.KeyPath) error

DeleteMapping will delete the given path

func (*FileSystem) Get added in v1.5.1

func (f *FileSystem) Get(p core.KeyPath) (*core.EnvEntry, error)

Get returns a single entry

func (*FileSystem) GetMapping added in v1.5.1

func (f *FileSystem) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

GetMapping returns a multiple entries

func (*FileSystem) IsText added in v1.5.1

func (f *FileSystem) IsText(s []byte) bool

func (*FileSystem) Name added in v1.5.1

func (f *FileSystem) Name() string

Name return the provider name

func (*FileSystem) Put added in v1.5.1

func (f *FileSystem) Put(p core.KeyPath, val string) error

Put will create a new single entry

func (*FileSystem) PutMapping added in v1.5.1

func (f *FileSystem) PutMapping(p core.KeyPath, m map[string]string) error

PutMapping will create a multiple entries

type GitHub added in v1.5.0

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

func (*GitHub) Delete added in v1.5.0

func (g *GitHub) Delete(p core.KeyPath) error

func (*GitHub) DeleteMapping added in v1.5.0

func (g *GitHub) DeleteMapping(p core.KeyPath) error

func (*GitHub) Get added in v1.5.0

func (g *GitHub) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*GitHub) GetMapping added in v1.5.0

func (g *GitHub) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*GitHub) Name added in v1.5.0

func (g *GitHub) Name() string

func (*GitHub) Put added in v1.5.0

func (g *GitHub) Put(p core.KeyPath, val string) error

func (*GitHub) PutMapping added in v1.5.0

func (g *GitHub) PutMapping(p core.KeyPath, m map[string]string) error

type GitHubActionClient added in v1.5.0

type GitHubActionClient interface {
	GetRepoPublicKey(ctx context.Context, owner, repo string) (*github.PublicKey, *github.Response, error)
	CreateOrUpdateRepoSecret(ctx context.Context, owner, repo string, eSecret *github.EncryptedSecret) (*github.Response, error)
	DeleteRepoSecret(ctx context.Context, owner, repo, name string) (*github.Response, error)
	ListRepoSecrets(ctx context.Context, owner, repo string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
}

GitHubActionClient describe the GitHub action client

type GoogleSecretManager

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

func (*GoogleSecretManager) Delete added in v1.5.0

func (a *GoogleSecretManager) Delete(kp core.KeyPath) error

func (*GoogleSecretManager) DeleteMapping added in v1.5.0

func (a *GoogleSecretManager) DeleteMapping(kp core.KeyPath) error

func (*GoogleSecretManager) Get

func (*GoogleSecretManager) GetMapping

func (a *GoogleSecretManager) GetMapping(kp core.KeyPath) ([]core.EnvEntry, error)

func (*GoogleSecretManager) Name

func (a *GoogleSecretManager) Name() string

func (*GoogleSecretManager) Put added in v1.3.0

func (a *GoogleSecretManager) Put(p core.KeyPath, val string) error

func (*GoogleSecretManager) PutMapping added in v1.3.0

func (a *GoogleSecretManager) PutMapping(p core.KeyPath, m map[string]string) error

type Gopass added in v1.5.0

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

func (*Gopass) Delete added in v1.5.0

func (g *Gopass) Delete(kp core.KeyPath) error

func (*Gopass) DeleteMapping added in v1.5.0

func (g *Gopass) DeleteMapping(kp core.KeyPath) error

func (*Gopass) Get added in v1.5.0

func (g *Gopass) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Gopass) GetMapping added in v1.5.0

func (g *Gopass) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Gopass) Name added in v1.5.0

func (g *Gopass) Name() string

func (*Gopass) Put added in v1.5.0

func (g *Gopass) Put(p core.KeyPath, val string) error

func (*Gopass) PutMapping added in v1.5.0

func (g *Gopass) PutMapping(p core.KeyPath, m map[string]string) error

type GopassClient added in v1.5.0

type GopassClient interface {
	List(ctx context.Context) ([]string, error)
	Get(ctx context.Context, name, revision string) (gopass.Secret, error)
	Set(ctx context.Context, name string, sec gopass.Byter) error
}

type HashicorpClient

type HashicorpClient interface {
	Read(path string) (*api.Secret, error)
	Write(path string, data map[string]interface{}) (*api.Secret, error)
}

type HashicorpVault

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

func (*HashicorpVault) Delete added in v1.5.0

func (h *HashicorpVault) Delete(kp core.KeyPath) error

func (*HashicorpVault) DeleteMapping added in v1.5.0

func (h *HashicorpVault) DeleteMapping(kp core.KeyPath) error

func (*HashicorpVault) Get

func (h *HashicorpVault) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*HashicorpVault) GetMapping

func (h *HashicorpVault) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*HashicorpVault) Name

func (h *HashicorpVault) Name() string

func (*HashicorpVault) Put added in v1.3.0

func (h *HashicorpVault) Put(p core.KeyPath, val string) error

func (*HashicorpVault) PutMapping added in v1.3.0

func (h *HashicorpVault) PutMapping(p core.KeyPath, m map[string]string) error

type Heroku

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

func (*Heroku) Delete added in v1.5.0

func (h *Heroku) Delete(kp core.KeyPath) error

func (*Heroku) DeleteMapping added in v1.5.0

func (h *Heroku) DeleteMapping(kp core.KeyPath) error

func (*Heroku) Get

func (h *Heroku) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Heroku) GetMapping

func (h *Heroku) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Heroku) Name

func (h *Heroku) Name() string

func (*Heroku) Put added in v1.3.0

func (h *Heroku) Put(p core.KeyPath, val string) error

func (*Heroku) PutMapping added in v1.3.0

func (h *Heroku) PutMapping(p core.KeyPath, m map[string]string) error

type HerokuClient

type HerokuClient interface {
	ConfigVarInfoForApp(ctx context.Context, appIdentity string) (heroku.ConfigVarInfoForAppResult, error)
	ConfigVarUpdate(ctx context.Context, appIdentity string, o map[string]*string) (heroku.ConfigVarUpdateResult, error)
}

type KeyPass added in v1.5.1

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

func (*KeyPass) Delete added in v1.5.1

func (k *KeyPass) Delete(kp core.KeyPath) error

Delete will delete entry

func (*KeyPass) DeleteMapping added in v1.5.1

func (k *KeyPass) DeleteMapping(kp core.KeyPath) error

DeleteMapping will delete the given path recessively

func (*KeyPass) Get added in v1.5.1

func (k *KeyPass) Get(p core.KeyPath) (*core.EnvEntry, error)

Get returns a single entry

func (*KeyPass) GetMapping added in v1.5.1

func (k *KeyPass) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

GetMapping returns a multiple entries

func (*KeyPass) Name added in v1.5.1

func (k *KeyPass) Name() string

Name return the provider name

func (*KeyPass) Put added in v1.5.1

func (k *KeyPass) Put(p core.KeyPath, val string) error

Put will create a new single entry

func (*KeyPass) PutMapping added in v1.5.1

func (k *KeyPass) PutMapping(p core.KeyPath, m map[string]string) error

PutMapping will create a multiple entries

type LastPass added in v1.5.0

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

func (*LastPass) Delete added in v1.5.0

func (l *LastPass) Delete(kp core.KeyPath) error

func (*LastPass) DeleteMapping added in v1.5.0

func (l *LastPass) DeleteMapping(kp core.KeyPath) error

func (*LastPass) Get added in v1.5.0

func (l *LastPass) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*LastPass) GetMapping added in v1.5.0

func (l *LastPass) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*LastPass) Name added in v1.5.0

func (l *LastPass) Name() string

func (*LastPass) Put added in v1.5.0

func (l *LastPass) Put(p core.KeyPath, val string) error

func (*LastPass) PutMapping added in v1.5.0

func (l *LastPass) PutMapping(p core.KeyPath, m map[string]string) error

type OnePassword added in v1.5.0

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

func (*OnePassword) Delete added in v1.5.0

func (o *OnePassword) Delete(kp core.KeyPath) error

func (*OnePassword) DeleteMapping added in v1.5.0

func (o *OnePassword) DeleteMapping(kp core.KeyPath) error

func (*OnePassword) Get added in v1.5.0

func (o *OnePassword) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*OnePassword) GetMapping added in v1.5.0

func (o *OnePassword) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*OnePassword) Name added in v1.5.0

func (o *OnePassword) Name() string

func (*OnePassword) Put added in v1.5.0

func (o *OnePassword) Put(p core.KeyPath, val string) error

func (*OnePassword) PutMapping added in v1.5.0

func (o *OnePassword) PutMapping(p core.KeyPath, m map[string]string) error

type OnePasswordClient added in v1.5.0

type OnePasswordClient interface {
	GetItemByTitle(title, vaultUUID string) (*onepassword.Item, error)
	UpdateItem(item *onepassword.Item, vaultUUID string) (*onepassword.Item, error)
}

type ResourceFilter added in v1.4.0

type ResourceFilter struct {
	Kind   string
	Search string
	Limit  int
	Offset int
}

type Vercel

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

func (*Vercel) Delete added in v1.5.0

func (ve *Vercel) Delete(kp core.KeyPath) error

func (*Vercel) DeleteMapping added in v1.5.0

func (ve *Vercel) DeleteMapping(kp core.KeyPath) error

func (*Vercel) Get

func (ve *Vercel) Get(p core.KeyPath) (*core.EnvEntry, error)

func (*Vercel) GetMapping

func (ve *Vercel) GetMapping(p core.KeyPath) ([]core.EnvEntry, error)

func (*Vercel) Name

func (ve *Vercel) Name() string

func (*Vercel) Put added in v1.3.0

func (ve *Vercel) Put(p core.KeyPath, val string) error

func (*Vercel) PutMapping added in v1.3.0

func (ve *Vercel) PutMapping(p core.KeyPath, m map[string]string) error

type VercelAPI

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

func NewVercelAPI

func NewVercelAPI(token string) *VercelAPI

func (*VercelAPI) GetProject

func (v *VercelAPI) GetProject(path string) (map[string]*string, error)

type VercelClient

type VercelClient interface {
	GetProject(path string) (map[string]*string, error)
}

type VercelProject

type VercelProject struct {
	Env []struct {
		Key   string `json:"key"`
		Value string `json:"value"`
		Type  string `json:"type"`
	} `json:"env"`
}

Directories

Path Synopsis
Package mock_providers is a generated GoMock package.
Package mock_providers is a generated GoMock package.

Jump to

Keyboard shortcuts

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