Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client struct.
type Config ¶
type Config struct { SecretsPath string `json:"SecretsPath"` ReSTClientConfig restclient.Config `json:"VaultConnection"` // contains filtered or unexported fields }
type Credentials ¶
type Credentials struct { AppID string `json:"AppID"` UserID string `json:"UserID"` UserIDFile string `json:"UserIDFile"` }
func (*Credentials) ReadUserID ¶
func (creds *Credentials) ReadUserID() error
type ErrSecretNotFound ¶
type ErrSecretNotFound struct{}
func (ErrSecretNotFound) Error ¶
func (e ErrSecretNotFound) Error() string
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) NewRequest ¶
func (s *Session) NewRequest(c *restclient.Config, a, u string) (err error)
type UserIdFile ¶
type UserIdFile struct {
UserID string `json:"UserID"`
}
Click to show internal directories.
Click to hide internal directories.