Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidEndpoint = errors.New("invalid endpoint")
Functions ¶
func SetFetcher ¶
func SetFetcher(f Fetcher)
Types ¶
type AzureManagedIdentity ¶
func GetAzureManagedIdentity ¶
func GetAzureManagedIdentity(ctx context.Context, opts ...AzureManagedIdentityOption) (*AzureManagedIdentity, error)
func (*AzureManagedIdentity) RunRefreshLoop ¶
func (a *AzureManagedIdentity) RunRefreshLoop( ctx context.Context, callback func(*AzureManagedIdentity, error) error, opts ...AzureManagedIdentityOption, ) error
type AzureManagedIdentityOption ¶
type AzureManagedIdentityOption func(*azureFetchOption)
func WithMaxAttempts ¶
func WithMaxAttempts(n int) AzureManagedIdentityOption
Click to show internal directories.
Click to hide internal directories.