Documentation ¶
Index ¶
- type Credhub
- type CredhubAuth
- type CredhubAuthShim
- type CredhubShim
- func (ch *CredhubShim) Delete(name string) error
- func (ch *CredhubShim) FindByPath(path string) (credentials.FindResults, error)
- func (ch *CredhubShim) GetLatestJSON(name string) (credentials.JSON, error)
- func (ch *CredhubShim) GetLatestValue(name string) (credentials.Value, error)
- func (ch *CredhubShim) SetJSON(name string, value values.JSON) (credentials.JSON, error)
- func (ch *CredhubShim) SetValue(name string, value values.Value) (credentials.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credhub ¶
type Credhub interface { SetJSON(name string, value values.JSON) (credentials.JSON, error) GetLatestJSON(name string) (credentials.JSON, error) SetValue(name string, value values.Value) (credentials.Value, error) GetLatestValue(name string) (credentials.Value, error) FindByPath(path string) (credentials.FindResults, error) Delete(name string) error }
func NewCredhubShim ¶
type CredhubAuth ¶
type CredhubAuthShim ¶
type CredhubAuthShim struct { }
func (*CredhubAuthShim) UaaClientCredentials ¶
func (c *CredhubAuthShim) UaaClientCredentials(clientId, clientSecret string) auth.Builder
type CredhubShim ¶
type CredhubShim struct {
// contains filtered or unexported fields
}
func (*CredhubShim) Delete ¶
func (ch *CredhubShim) Delete(name string) error
func (*CredhubShim) FindByPath ¶
func (ch *CredhubShim) FindByPath(path string) (credentials.FindResults, error)
func (*CredhubShim) GetLatestJSON ¶
func (ch *CredhubShim) GetLatestJSON(name string) (credentials.JSON, error)
func (*CredhubShim) GetLatestValue ¶
func (ch *CredhubShim) GetLatestValue(name string) (credentials.Value, error)
func (*CredhubShim) SetJSON ¶
func (ch *CredhubShim) SetJSON(name string, value values.JSON) (credentials.JSON, error)
func (*CredhubShim) SetValue ¶
func (ch *CredhubShim) SetValue(name string, value values.Value) (credentials.Value, error)
Click to show internal directories.
Click to hide internal directories.