Documentation ¶
Index ¶
- type CredhubClient
- type Store
- func (c *Store) AddPermission(credName string, actor string, ops []string) (*permissions.Permission, error)
- func (c *Store) BulkDelete(paths []string, logger *log.Logger) error
- func (c *Store) BulkGet(secretsToFetch map[string]boshdirector.Variable, logger *log.Logger) (map[string]string, error)
- func (c *Store) BulkSet(secretsToSet []broker.ManifestSecret) error
- func (c *Store) Delete(key string) error
- func (c *Store) FindNameLike(name string, logger *log.Logger) ([]string, error)
- func (c *Store) Set(key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredhubClient ¶
type CredhubClient interface { GetById(id string) (credentials.Credential, error) GetLatestVersion(name string) (credentials.Credential, error) FindByPartialName(partialName string) (credentials.FindResults, error) SetJSON(name string, value values.JSON, options ...credhub.SetOption) (credentials.JSON, error) SetValue(name string, value values.Value, options ...credhub.SetOption) (credentials.Value, error) AddPermission(credName string, actor string, ops []string) (*permissions.Permission, error) Delete(name string) error }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func New ¶
func New(credhubClient CredhubClient) *Store
func (*Store) AddPermission ¶
func (c *Store) AddPermission(credName string, actor string, ops []string) (*permissions.Permission, error)
func (*Store) FindNameLike ¶
Click to show internal directories.
Click to hide internal directories.