credhubbroker

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 domain.BindDetails, asyncAllowed bool) (domain.Binding, error)

func (*CredHubBroker) Unbind

func (b *CredHubBroker) Unbind(ctx context.Context, instanceID, bindingID string, details domain.UnbindDetails, asyncAllowed bool) (domain.UnbindSpec, error)

type CredentialStore

type CredentialStore interface {
	Set(key string, value interface{}) error
	Delete(key string) error
	AddPermission(credentialName string, actor string, ops []string) (*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