providers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package providers is used to load all the supported credential providers that can be used to get credentials.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Providers

type Providers struct {
	// contains filtered or unexported fields
}

Providers contains all providers loaded.

func Load

func Load(cfgDir string) (*Providers, error)

Load will load and create providers from config directory cfgDir.

func (*Providers) Get

func (p *Providers) Get(name string) (types.Provider, error)

Get will return the provider with name or error if it doesn't exists.

Directories

Path Synopsis
Package aws is a provider that can be used by the providers package to retrieve aws credentials from aws cli credentials and config files.
Package aws is a provider that can be used by the providers package to retrieve aws credentials from aws cli credentials and config files.
Package types includes the interfaces that must be satisfied to create a provider that can be used by the providers package.
Package types includes the interfaces that must be satisfied to create a provider that can be used by the providers package.

Jump to

Keyboard shortcuts

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