Documentation
¶
Overview ¶
Package credentialsetup provides centralized registration of all available credential implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAll ¶
func RegisterAll(registrar CredentialRegistrar) error
RegisterAll registers all available credential implementations to the given registrar. Returns an error if any credential fails to register.
Types ¶
type CredentialRegistrar ¶
type CredentialRegistrar interface {
RegisterCredential(c credential.Credential) error
}
CredentialRegistrar is an interface for types that can register credentials. This is implemented by instances.Manager.
Click to show internal directories.
Click to hide internal directories.