auth

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 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
	// contains filtered or unexported fields
}

func (*Provider) Credentials

func (*Provider) FetchToken

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