Documentation ¶
Index ¶
- func Engine() token.Engine
- type Item
- type SecretMgr
- func (mgr *SecretMgr) AddItem(source token.Source, item Item)
- func (mgr *SecretMgr) AddItemWithKey(key string, item Item)
- func (mgr *SecretMgr) AddSecret(source token.Source, secret secret.Secret)
- func (mgr *SecretMgr) AddSecretWithKey(key string, secret secret.Secret)
- func (mgr *SecretMgr) EnableFlag(source token.Source) int
- func (mgr *SecretMgr) GetSecret(source token.Source) secret.Secret
- func (mgr *SecretMgr) Load(items map[string]Item) error
- func (mgr *SecretMgr) LoadFromFile(file string) error
- func (mgr *SecretMgr) SetEnabled(source token.Source, enable bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretMgr ¶
type SecretMgr struct {
// contains filtered or unexported fields
}
func NewSecretMgr ¶ added in v0.5.11
func NewSecretMgr() *SecretMgr
func (*SecretMgr) AddItemWithKey ¶ added in v0.5.0
func (*SecretMgr) AddSecretWithKey ¶ added in v0.5.0
func (*SecretMgr) EnableFlag ¶ added in v0.5.19
EnableFlag implement token.Secret interface
func (*SecretMgr) LoadFromFile ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.