Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegistryNewEndpoint = registry.NewEndpoint
apes dockers registry.NewEndpoint
View Source
var RegistryNewSession = registry.NewSession
apes dockers registry.NewSession
Functions ¶
This section is empty.
Types ¶
type DockerRepositoryFetcher ¶
type DockerRepositoryFetcher struct {
// contains filtered or unexported fields
}
type Graph ¶
type Graph interface { Get(name string) (*image.Image, error) Exists(imageID string) bool Register(image *image.Image, layer archive.ArchiveReader) error }
apes docker's *graph.Graph
type InsecureRegistryError ¶
func (InsecureRegistryError) Error ¶
func (err InsecureRegistryError) Error() string
type Registry ¶
type Registry interface { GetRepositoryData(repoName string) (*registry.RepositoryData, error) GetRemoteTags(registries []string, repository string, token []string) (map[string]string, error) GetRemoteHistory(imageID string, registry string, token []string) ([]string, error) GetRemoteImageJSON(imageID string, registry string, token []string) ([]byte, int, error) GetRemoteImageLayer(imageID string, registry string, token []string, size int64) (io.ReadCloser, error) }
apes docker's *registry.Registry
type RegistryProvider ¶
type RegistryProvider interface { ProvideRegistry(hostname string) (Registry, error) ApplyDefaultHostname(hostname string) string }
func NewRepositoryProvider ¶
func NewRepositoryProvider(defaultHostname string, insecureRegistries []string) RegistryProvider
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.