repository

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package repository is an implementation of Docker2ACIBackend for Docker remote registries.

Note: this package is an implementation detail and shouldn't be used outside of docker2aci.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoData

type RepoData struct {
	Tokens    []string
	Endpoints []string
	Cookie    []string
}

type RepositoryBackend

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

func NewRepositoryBackend

func NewRepositoryBackend(username string, password string, insecure common.InsecureConfig, debug log.Logger) *RepositoryBackend

func (*RepositoryBackend) BuildACI

func (rb *RepositoryBackend) BuildACI(layerIDs []string, dockerURL *common.ParsedDockerURL, outputDir string, tmpBaseDir string, compression common.Compression) ([]string, []*schema.ImageManifest, error)

func (*RepositoryBackend) GetImageInfo

func (rb *RepositoryBackend) GetImageInfo(url string) ([]string, *common.ParsedDockerURL, error)

Jump to

Keyboard shortcuts

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