registry

package
v0.0.0-...-e6d3209 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaACRService

type AlibabaACRService struct {
	ImageConfig *models.ImageConfig
}

func (*AlibabaACRService) GetNamespaces

func (this *AlibabaACRService) GetNamespaces(domain string, c *cr.Client) (namespaces []string, err error)

func (*AlibabaACRService) Imports

func (this *AlibabaACRService) Imports() (err error)

func (*AlibabaACRService) ListNamespaces

func (this *AlibabaACRService) ListNamespaces() models.Result

func (*AlibabaACRService) NewAuth

func (this *AlibabaACRService) NewAuth(registry *models.Registry) (err error)

type Auth

type Auth struct {
	Identity Identity               `json:"identity"`
	Scope    map[string]interface{} `json:"scope"`
}

type AwsECRService

type AwsECRService struct {
	ImageConfig *models.ImageConfig
}

func (*AwsECRService) Auth

func (this *AwsECRService) Auth(url string, user string, pwd string) (authorizationData *ecr.AuthorizationData, error error)

func (*AwsECRService) Imports

func (this *AwsECRService) Imports() (err error)

func (*AwsECRService) ListRepositories

func (this *AwsECRService) ListRepositories() models.Result

type CommonService

type CommonService struct {
	ImageConfig *models.ImageConfig
	Token       string
}

func (*CommonService) AddDetail

func (this *CommonService) AddDetail()

func (*CommonService) AddTask

func (this *CommonService) AddTask() *models.Task

type DockerHubService

type DockerHubService struct {
	ImageConfig *models.ImageConfig
}

func (*DockerHubService) Auth

func (this *DockerHubService) Auth(url string, user string, pwd string) (token string, error error)

func (*DockerHubService) Imports

func (this *DockerHubService) Imports() (err error)

func (*DockerHubService) ListNamespaces

func (this *DockerHubService) ListNamespaces() models.Result

type HuaweiSWRService

type HuaweiSWRService struct {
	ImageConfig *models.ImageConfig
}

func (*HuaweiSWRService) Auth

func (this *HuaweiSWRService) Auth(url string, user string, pwd string) (token string, error error)

func (*HuaweiSWRService) Imports

func (this *HuaweiSWRService) Imports() (err error)

func (*HuaweiSWRService) ListNamespaces

func (this *HuaweiSWRService) ListNamespaces() models.Result

type Identity

type Identity struct {
	Methods  []string `json:"methods"`
	Password password `json:"password"`
}

type JFrogArtifactoryService

type JFrogArtifactoryService struct {
	ImageConfig *models.ImageConfig
}

func (*JFrogArtifactoryService) ListRepositories

func (this *JFrogArtifactoryService) ListRepositories() models.Result

type Repo

type Repo struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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