manifestsecrets

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildManager added in v0.23.0

func BuildManager(enableSecureManifests bool, matcher Matcher, secretsFetcher CredhubOperator) broker.ManifestSecretManager

Types

type BoshCredHubSecretManager added in v0.23.0

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

func (*BoshCredHubSecretManager) DeleteSecretsForInstance added in v0.23.0

func (r *BoshCredHubSecretManager) DeleteSecretsForInstance(instanceID string, logger *log.Logger) error

func (*BoshCredHubSecretManager) ResolveManifestSecrets added in v0.23.0

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 added in v0.23.0

type CredhubOperator interface {
	BulkGet(map[string]boshdirector.Variable, *log.Logger) (map[string]string, error)
	FindNameLike(name string, logger *log.Logger) ([]string, error)
	BulkDelete(paths []string, logger *log.Logger) error
}

type Matcher

type Matcher interface {
	Match(manifest []byte, deploymentVariables []boshdirector.Variable) (map[string]boshdirector.Variable, error)
}

type NoopSecretManager added in v0.23.0

type NoopSecretManager struct{}

func (*NoopSecretManager) DeleteSecretsForInstance added in v0.23.0

func (r *NoopSecretManager) DeleteSecretsForInstance(instanceID string, logger *log.Logger) error

func (*NoopSecretManager) ResolveManifestSecrets added in v0.23.0

func (r *NoopSecretManager) ResolveManifestSecrets(manifest []byte, deploymentVariables []boshdirector.Variable, logger *log.Logger) (map[string]string, error)

type ODBSecrets added in v0.23.0

type ODBSecrets struct {
	ServiceOfferingID string
}

func (ODBSecrets) GenerateSecretPaths added in v0.23.0

func (o ODBSecrets) GenerateSecretPaths(deploymentName, manifest string, secretsMap serviceadapter.ODBManagedSecrets) []broker.ManifestSecret

func (ODBSecrets) ReplaceODBRefs added in v0.23.0

func (o ODBSecrets) ReplaceODBRefs(manifest string, secrets []broker.ManifestSecret) string

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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