dockerauth

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerConfigAuthProvider

func NewDockerConfigAuthProvider(file io.Reader) (*dockerConfigAuthProvider, error)

func NewECRAuthProvider

func NewECRAuthProvider(svcFactory ECRFactory) *ecrAuthProvider

func NewMultiAuthProvider

func NewMultiAuthProvider(providers ...AuthProvider) *multiAuthProvider

Types

type AuthProvider

type AuthProvider interface {
	AuthConfiguration(registry string) (*docker.AuthConfiguration, error)
}

type ECR

type ECR interface {
	GetAuthorizationToken(*ecr.GetAuthorizationTokenInput) (*ecr.GetAuthorizationTokenOutput, error)
}

type ECRFactory

type ECRFactory func(region string) ECR

Jump to

Keyboard shortcuts

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