registry

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	Server   string
	UserName string
	Password string
	Email    string
}

Credential is a parameter for Kubernetes secret of docker-registry type

type ECRClient

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

ECRClient is a client for AWS ECR service

func NewECRClient

func NewECRClient(endpointURL, region, accessKeyID, secretAccessKey string) (*ECRClient, error)

NewECRClient is a constructor

func (*ECRClient) Login

func (c *ECRClient) Login(accountID, email string) (*Credential, error)

Login is authorization for AWS ECR

Jump to

Keyboard shortcuts

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