Documentation ¶
Index ¶
- type Auth
- type Client
- type JwtProviderFactory
- type Logical
- type Token
- type VaultClient
- func (v VaultClient) AddHeader(key, value string)
- func (v VaultClient) Auth() Auth
- func (v VaultClient) AuthToken() Token
- func (v VaultClient) ClearToken()
- func (v VaultClient) Logical() Logical
- func (v VaultClient) Namespace() string
- func (v VaultClient) SetNamespace(namespace string)
- func (v VaultClient) SetToken(token string)
- func (v VaultClient) Token() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtProviderFactory ¶
type Logical ¶
type Logical interface { ReadWithDataWithContext(ctx context.Context, path string, data map[string][]string) (*vault.Secret, error) ListWithContext(ctx context.Context, path string) (*vault.Secret, error) WriteWithContext(ctx context.Context, path string, data map[string]interface{}) (*vault.Secret, error) DeleteWithContext(ctx context.Context, path string) (*vault.Secret, error) }
type VaultClient ¶ added in v0.9.12
type VaultClient struct { SetTokenFunc func(v string) TokenFunc func() string ClearTokenFunc func() AuthField Auth LogicalField Logical AuthTokenField Token NamespaceFunc func() string SetNamespaceFunc func(namespace string) AddHeaderFunc func(key, value string) }
func (VaultClient) AddHeader ¶ added in v0.9.12
func (v VaultClient) AddHeader(key, value string)
func (VaultClient) Auth ¶ added in v0.9.12
func (v VaultClient) Auth() Auth
func (VaultClient) AuthToken ¶ added in v0.9.12
func (v VaultClient) AuthToken() Token
func (VaultClient) ClearToken ¶ added in v0.9.12
func (v VaultClient) ClearToken()
func (VaultClient) Logical ¶ added in v0.9.12
func (v VaultClient) Logical() Logical
func (VaultClient) Namespace ¶ added in v0.9.14
func (v VaultClient) Namespace() string
func (VaultClient) SetNamespace ¶ added in v0.9.12
func (v VaultClient) SetNamespace(namespace string)
func (VaultClient) SetToken ¶ added in v0.9.12
func (v VaultClient) SetToken(token string)
func (VaultClient) Token ¶ added in v0.9.12
func (v VaultClient) Token() string
Click to show internal directories.
Click to hide internal directories.