Documentation ¶
Index ¶
- Constants
- func ConfigAdd(path string)
- func ManageAll(ctx context.Context, managers ...Manager)
- func ManagerConfigAdd(path string)
- func NewClient(ctx context.Context) (*vault.Client, error)
- func NewClientWithConfigPath(ctx context.Context, path string) (*vault.Client, error)
- func NewClientWithOptions(ctx context.Context, options *Options) (*vault.Client, error)
- type Manager
- type ManagerOptions
- type ManagerPool
- type Options
Constants ¶
View Source
const (
ManagersRoot = root + ".managers"
)
Variables ¶
This section is empty.
Functions ¶
func ManagerConfigAdd ¶
func ManagerConfigAdd(path string)
func NewClientWithConfigPath ¶
Types ¶
type ManagerOptions ¶
type ManagerOptions struct { SecretPath string Watcher struct { Enabled bool Increment int } Keys map[string]string }
func NewManagerOptionsWithPath ¶
func NewManagerOptionsWithPath(path string) (opts *ManagerOptions, err error)
type ManagerPool ¶
type ManagerPool struct {
// contains filtered or unexported fields
}
func NewManagerPool ¶
func NewManagerPool(client *vault.Client, managers ...Manager) *ManagerPool
func (*ManagerPool) Configure ¶
func (m *ManagerPool) Configure(ctx context.Context, manager Manager) error
func (*ManagerPool) ManageAll ¶
func (m *ManagerPool) ManageAll(ctx context.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.