docker_metadata_fetcher

package
v0.0.0-...-098adc7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerSessionFactory

func NewDockerSessionFactory() *dockerSessionFactory

Types

type DockerMetadataFetcher

type DockerMetadataFetcher interface {
	FetchMetadata(dockerPath string) (*ImageMetadata, error)
}

func New

func New(sessionFactory DockerSessionFactory) DockerMetadataFetcher

type DockerSession

type DockerSession interface {
	GetRepositoryData(remote string) (*registry.RepositoryData, error)
	GetRemoteTags(registries []string, repository string) (map[string]string, error)
	GetRemoteImageJSON(imgID, registry string) ([]byte, int, error)
}

type DockerSessionFactory

type DockerSessionFactory interface {
	MakeSession(reposName string, allowInsecure bool) (DockerSession, error)
}

type ImageMetadata

type ImageMetadata struct {
	User         string
	WorkingDir   string
	ExposedPorts []uint16
	StartCommand []string
	Env          []string
}

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
This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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