Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CREDSTORE_GLOBALS ¶
type CREDSTORE_GLOBALS struct {
Logger *logrus.Logger
Running *bool
CredCacheDuration int
VaultKeypath string
// contains filtered or unexported fields
}
func (*CREDSTORE_GLOBALS) NewGlobals ¶
type CredStoreProvider ¶
type MockStore ¶ added in v2.11.0
type MockStore struct {
Username, Password string
}
func (*MockStore) GetControllerCredentials ¶ added in v2.11.0
func (*MockStore) GetCredentials ¶ added in v2.11.0
func (*MockStore) Init ¶ added in v2.11.0
func (s *MockStore) Init(_ *CREDSTORE_GLOBALS)
type VAULTv0 ¶
type VAULTv0 struct {
CredStoreGlobals CREDSTORE_GLOBALS
}
func (*VAULTv0) GetControllerCredentials ¶
Get the credentials for the controller of a specified xname. This will only go to vault if the credentials are unknown or have been cached for too long.
func (*VAULTv0) GetCredentials ¶
Get the credentials for a specified xname. This will only go to vault if the credentials are unknown or have been cached for too long.
func (*VAULTv0) Init ¶
func (b *VAULTv0) Init(globals *CREDSTORE_GLOBALS)
Click to show internal directories.
Click to hide internal directories.