Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewCredentialFuncs = map[string]NewCredentialFunc{}
NewCredentialFuncs is a map containing all the registered auth strategies.
Functions ¶
func Register ¶
func Register(name string, f NewCredentialFunc)
Register registers a new auth strategy new function. Not safe for concurrent use. Safe for use from package init.
Types ¶
type NewCredentialFunc ¶
type NewCredentialFunc func(map[string]interface{}) (auth.CredentialStrategy, error)
NewCredentialFunc is the function that credential strategies should register at init time.
Click to show internal directories.
Click to hide internal directories.