Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + func ManagerFactories() map[string]ManagerFactory + func NewVariables(secrets Secrets, teamName string, pipelineName string, allowRootPath bool) vars.Variables + func Register(name string, managerFactory ManagerFactory) + type CacheEntry struct + type CachedSecrets struct + func NewCachedSecrets(secrets Secrets, cacheConfig SecretCacheConfig) *CachedSecrets + func (cs *CachedSecrets) Get(secretPath string) (interface{}, *time.Time, bool, error) + func (cs *CachedSecrets) NewSecretLookupPaths(teamName string, pipelineName string, allowRootPath bool) []SecretLookupPath + type CredentialManagementConfig struct + CacheConfig SecretCacheConfig + RetryConfig SecretRetryConfig + type HealthResponse struct + Error string + Method string + Response interface{} + type Manager interface + Close func(logger lager.Logger) + Health func() (*HealthResponse, error) + Init func(lager.Logger) error + IsConfigured func() bool + NewSecretsFactory func(lager.Logger) (SecretsFactory, error) + Validate func() error + type ManagerFactory interface + AddConfig func(*flags.Group) Manager + NewInstance func(interface{}) (Manager, error) + type Managers map[string]Manager + type Params struct + func NewParams(variables vars.Variables, params atc.Params) Params + func (p Params) Evaluate() (atc.Params, error) + type RetryableSecrets struct + func (rs RetryableSecrets) Get(secretPath string) (interface{}, *time.Time, bool, error) + func (rs RetryableSecrets) NewSecretLookupPaths(teamName string, pipelineName string, allowRootPath bool) []SecretLookupPath + type SecretCacheConfig struct + Duration time.Duration + DurationNotFound time.Duration + Enabled bool + PurgeInterval time.Duration + type SecretLookupPath interface + VariableToSecretPath func(vars.VariableReference) (vars.VariableReference, error) + func NewSecretLookupWithPrefix(prefix string) SecretLookupPath + func NewSecretLookupWithTemplate(pathTemplate *SecretTemplate, teamName string, pipelineName string) SecretLookupPath + type SecretLookupWithPrefix struct + Prefix string + func (sl SecretLookupWithPrefix) VariableToSecretPath(ref vars.VariableReference) (vars.VariableReference, error) + type SecretLookupWithTemplate struct + PathTemplate *SecretTemplate + PipelineName string + TeamName string + func (sl SecretLookupWithTemplate) VariableToSecretPath(ref vars.VariableReference) (vars.VariableReference, error) + type SecretRetryConfig struct + Attempts int + Interval time.Duration + type SecretTemplate struct + func BuildSecretTemplate(name, tmpl string) (*SecretTemplate, error) + type Secrets interface + Get func(string) (interface{}, *time.Time, bool, error) + NewSecretLookupPaths func(string, string, bool) []SecretLookupPath + func NewRetryableSecrets(secrets Secrets, retryConfig SecretRetryConfig) Secrets + type SecretsFactory interface + NewSecrets func() Secrets + type SetPipelinePlan struct + func NewSetPipelinePlan(variables vars.Variables, plan atc.SetPipelinePlan) SetPipelinePlan + func (s SetPipelinePlan) Evaluate() (atc.SetPipelinePlan, error) + type Source struct + func NewSource(variables vars.Variables, source atc.Source) Source + func (s Source) Evaluate() (atc.Source, error) + type String struct + func NewString(variables vars.Variables, credString string) String + func (s String) Evaluate() (string, error) + type TaskParamsValidator struct + func NewTaskParamsValidator(variables vars.Variables, params atc.Params) TaskParamsValidator + func (s TaskParamsValidator) Validate() error + type TaskVarsValidator struct + func NewTaskVarsValidator(variables vars.Variables, taskVars atc.Params) TaskVarsValidator + func (s TaskVarsValidator) Validate() error + type VarSourcePool interface + Close func() + FindOrCreate func(lager.Logger, map[string]interface{}, ManagerFactory) (Secrets, error) + Size func() int + func NewVarSourcePool(logger lager.Logger, ttl time.Duration, collectInterval time.Duration, ...) VarSourcePool + type VariableLookupFromSecrets struct + LookupPaths []SecretLookupPath + Secrets Secrets + func (sl VariableLookupFromSecrets) Get(varDef vars.VariableDefinition) (interface{}, bool, error) + func (sl VariableLookupFromSecrets) List() ([]vars.VariableDefinition, error) + type VersionedResourceType struct + Source Source + type VersionedResourceTypes []VersionedResourceType + func NewVersionedResourceTypes(variables vars.Variables, rawTypes atc.VersionedResourceTypes) VersionedResourceTypes + func (types VersionedResourceTypes) Evaluate() (atc.VersionedResourceTypes, error) + func (types VersionedResourceTypes) Lookup(name string) (VersionedResourceType, bool) + func (types VersionedResourceTypes) Without(name string) VersionedResourceTypes