credhubbroker

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredHubBroker

type CredHubBroker struct {
	apiserver.CombinedBroker
	// contains filtered or unexported fields
}

func New

func New(broker apiserver.CombinedBroker,
	credStore CredentialStore,
	serviceName string,
	loggerFactory *loggerfactory.LoggerFactory,
) *CredHubBroker

func (*CredHubBroker) Bind

func (b *CredHubBroker) Bind(ctx context.Context, instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)

func (*CredHubBroker) Unbind added in v0.18.0

func (b *CredHubBroker) Unbind(ctx context.Context, instanceID, bindingID string, details brokerapi.UnbindDetails) error

type CredentialStore

type CredentialStore interface {
	Set(key string, value interface{}) error
	Delete(key string) error
	AddPermissions(credentialName string, perms []permissions.Permission) ([]permissions.Permission, error)
}

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