Documentation ¶
Index ¶
- type Manager
- func (m *Manager) Close(ctx context.Context) error
- func (m *Manager) Configure(ctx context.Context, data map[string]interface{}) error
- func (m *Manager) Notify(conn *mongo.Conn)
- func (m *Manager) Options() *vault.ManagerOptions
- func (m *Manager) Register(observer Observer)
- func (m *Manager) Unregister(observer Observer)
- type Notifier
- type Observer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager represents a vault manager for mongodb client.
func NewManager ¶
func NewManager(conn *mongo.Conn) *Manager
NewManager returns a new vault manager with default options.
func NewManagerWithConfigPath ¶
NewManagerWithConfigPath returns a new vault manager with options from config path.
func NewManagerWithOptions ¶
func NewManagerWithOptions(conn *mongo.Conn, options *vault.ManagerOptions) *Manager
NewManagerWithOptions returns a new vault manager with options.
func (*Manager) Options ¶
func (m *Manager) Options() *vault.ManagerOptions
Options returns vault manager options.
func (*Manager) Unregister ¶
Click to show internal directories.
Click to hide internal directories.