Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildManager ¶
func BuildManager(enableSecureManifests bool, matcher Matcher, secretsFetcher CredhubOperator) broker.ManifestSecretManager
Types ¶
type BoshCredHubSecretManager ¶
type BoshCredHubSecretManager struct {
// contains filtered or unexported fields
}
func (*BoshCredHubSecretManager) DeleteSecretsForInstance ¶
func (r *BoshCredHubSecretManager) DeleteSecretsForInstance(instanceID string, logger *log.Logger) error
func (*BoshCredHubSecretManager) ResolveManifestSecrets ¶
func (r *BoshCredHubSecretManager) ResolveManifestSecrets(manifest []byte, deploymentVariables []boshdirector.Variable, logger *log.Logger) (map[string]string, error)
type CredHubPathMatcher ¶
type CredHubPathMatcher struct{}
func (*CredHubPathMatcher) Match ¶
func (m *CredHubPathMatcher) Match(manifest []byte, deploymentVariables []boshdirector.Variable) (map[string]boshdirector.Variable, error)
type CredhubOperator ¶
type Matcher ¶
type Matcher interface {
Match(manifest []byte, deploymentVariables []boshdirector.Variable) (map[string]boshdirector.Variable, error)
}
type NoopSecretManager ¶
type NoopSecretManager struct{}
func (*NoopSecretManager) DeleteSecretsForInstance ¶
func (r *NoopSecretManager) DeleteSecretsForInstance(instanceID string, logger *log.Logger) error
func (*NoopSecretManager) ResolveManifestSecrets ¶
func (r *NoopSecretManager) ResolveManifestSecrets(manifest []byte, deploymentVariables []boshdirector.Variable, logger *log.Logger) (map[string]string, error)
type ODBSecrets ¶
type ODBSecrets struct {
ServiceOfferingID string
}
func (ODBSecrets) GenerateSecretPaths ¶
func (o ODBSecrets) GenerateSecretPaths(deploymentName, manifest string, secretsMap serviceadapter.ODBManagedSecrets) []broker.ManifestSecret
func (ODBSecrets) ReplaceODBRefs ¶
func (o ODBSecrets) ReplaceODBRefs(manifest string, secrets []broker.ManifestSecret) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.