registry

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL