Documentation ¶
Index ¶
- Constants
- type CredhubStore
- func (s *CredhubStore) Activate() error
- func (s *CredhubStore) Cleanup() error
- func (s *CredhubStore) CreateBindingDetails(id string, details brokerapi.BindDetails) error
- func (s *CredhubStore) CreateInstanceDetails(id string, details ServiceInstance) error
- func (s *CredhubStore) DeleteBindingDetails(id string) error
- func (s *CredhubStore) DeleteInstanceDetails(id string) error
- func (s *CredhubStore) IsActivated() (bool, error)
- func (s *CredhubStore) IsBindingConflict(id string, details brokerapi.BindDetails) bool
- func (s *CredhubStore) IsInstanceConflict(id string, details ServiceInstance) bool
- func (s *CredhubStore) Restore(logger lager.Logger) error
- func (s *CredhubStore) RetrieveAllBindingDetails() (map[string]brokerapi.BindDetails, error)
- func (s *CredhubStore) RetrieveAllInstanceDetails() (map[string]ServiceInstance, error)
- func (s *CredhubStore) RetrieveBindingDetails(id string) (domain.BindDetails, error)
- func (s *CredhubStore) RetrieveInstanceDetails(id string) (ServiceInstance, error)
- func (s *CredhubStore) Save(logger lager.Logger) error
- type ServiceInstance
- type Store
Constants ¶
View Source
const HashKey = "paramsHash"
Utility methods for storing bindings with secrets stripped out
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredhubStore ¶
type CredhubStore struct {
// contains filtered or unexported fields
}
func NewCredhubStore ¶
func NewCredhubStore(logger lager.Logger, credhubShim credhub_shims.Credhub, storeID string) *CredhubStore
func (*CredhubStore) Activate ¶
func (s *CredhubStore) Activate() error
func (*CredhubStore) Cleanup ¶
func (s *CredhubStore) Cleanup() error
func (*CredhubStore) CreateBindingDetails ¶
func (s *CredhubStore) CreateBindingDetails(id string, details brokerapi.BindDetails) error
func (*CredhubStore) CreateInstanceDetails ¶
func (s *CredhubStore) CreateInstanceDetails(id string, details ServiceInstance) error
func (*CredhubStore) DeleteBindingDetails ¶
func (s *CredhubStore) DeleteBindingDetails(id string) error
func (*CredhubStore) DeleteInstanceDetails ¶
func (s *CredhubStore) DeleteInstanceDetails(id string) error
func (*CredhubStore) IsActivated ¶
func (s *CredhubStore) IsActivated() (bool, error)
func (*CredhubStore) IsBindingConflict ¶
func (s *CredhubStore) IsBindingConflict(id string, details brokerapi.BindDetails) bool
func (*CredhubStore) IsInstanceConflict ¶
func (s *CredhubStore) IsInstanceConflict(id string, details ServiceInstance) bool
func (*CredhubStore) Restore ¶
func (s *CredhubStore) Restore(logger lager.Logger) error
func (*CredhubStore) RetrieveAllBindingDetails ¶
func (s *CredhubStore) RetrieveAllBindingDetails() (map[string]brokerapi.BindDetails, error)
func (*CredhubStore) RetrieveAllInstanceDetails ¶
func (s *CredhubStore) RetrieveAllInstanceDetails() (map[string]ServiceInstance, error)
func (*CredhubStore) RetrieveBindingDetails ¶
func (s *CredhubStore) RetrieveBindingDetails(id string) (domain.BindDetails, error)
func (*CredhubStore) RetrieveInstanceDetails ¶
func (s *CredhubStore) RetrieveInstanceDetails(id string) (ServiceInstance, error)
func (*CredhubStore) Save ¶
func (s *CredhubStore) Save(logger lager.Logger) error
type ServiceInstance ¶
type Store ¶
type Store interface { RetrieveInstanceDetails(id string) (ServiceInstance, error) RetrieveBindingDetails(id string) (domain.BindDetails, error) RetrieveAllInstanceDetails() (map[string]ServiceInstance, error) RetrieveAllBindingDetails() (map[string]domain.BindDetails, error) CreateInstanceDetails(id string, details ServiceInstance) error CreateBindingDetails(id string, details domain.BindDetails) error DeleteInstanceDetails(id string) error DeleteBindingDetails(id string) error IsInstanceConflict(id string, details ServiceInstance) bool IsBindingConflict(id string, details domain.BindDetails) bool Restore(logger lager.Logger) error Save(logger lager.Logger) error Cleanup() error }
Directories ¶
Path | Synopsis |
---|---|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
credhub_fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.