auth

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(quaytkn, awskeyid, awskey string) session.Attachable

Types

type Provider

type Provider struct {
	QuayIOToken                  string
	AccessKeyID, SecretAccessKey string // AWS credentials scoped to ECR only
	ECRAuthClientFactoryFunc     func(s *awssession.Session, cfg *aws.Config) ecrapi.Client
}

func (*Provider) Credentials

func (*Provider) GetECRAuth

func (p *Provider) GetECRAuth(serverURL string) (string, string, error)

func (*Provider) Register

func (p *Provider) Register(s *grpc.Server)

Jump to

Keyboard shortcuts

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