Versions in this module Expand all Collapse all v0 v0.5.8 Aug 23, 2022 Changes in this version + type Auth interface + Login func(ctx context.Context, authMethod vault.AuthMethod) (*vault.Secret, error) + type Client interface + AddHeader func(key, value string) + Auth func() Auth + AuthToken func() Token + ClearToken func() + Logical func() Logical + SetNamespace func(namespace string) + SetToken func(v string) + Token func() string + type Logical interface + ListWithContext func(ctx context.Context, path string) (*vault.Secret, error) + ReadWithDataWithContext func(ctx context.Context, path string, data map[string][]string) (*vault.Secret, error) + WriteWithContext func(ctx context.Context, path string, data map[string]interface{}) (*vault.Secret, error) + type Token interface + LookupSelfWithContext func(ctx context.Context) (*vault.Secret, error) + RevokeSelfWithContext func(ctx context.Context, token string) error + type VClient struct + func (v VClient) AddHeader(key, value string) + func (v VClient) Auth() Auth + func (v VClient) AuthToken() Token + func (v VClient) ClearToken() + func (v VClient) Logical() Logical + func (v VClient) SetNamespace(namespace string) + func (v VClient) SetToken(token string) + func (v VClient) Token() string