Documentation ¶
Index ¶
- Variables
- func DockerPullPrinter(out io.Writer) io.Writer
- func ImageID(s string) (string, error)
- func InfoPrinter(jsonOut bool) chan<- layer.PullInfo
- func NewTUFSession(client *tuf.Client, ref *Ref) *tufSession
- func PullImages(tufDB, repository, driver, root, ver string, progress chan<- layer.PullInfo) error
- func PullImagesWithClient(client *tuf.Client, repository, driver, root, version string, ...) error
- type Context
- type Image
- type ImageConfig
- type Ref
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoImageID = errors.New("pinkerton: missing image id")
Functions ¶
func InfoPrinter ¶
func NewTUFSession ¶
func PullImages ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func BuildContext ¶
func NewContext ¶
func (*Context) PullDocker ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) MarshalConfig ¶
type ImageConfig ¶
type ImageConfig struct { ID string `json:"id"` ParentID string `json:"parent,omitempty"` Comment string `json:"comment,omitempty"` Created time.Time `json:"created"` Container string `json:"container,omitempty"` ContainerConfig *json.RawMessage `json:"container_config,omitempty"` Config *json.RawMessage `json:"config,omitempty"` DockerVersion string `json:"docker_version,omitempty"` Author string `json:"author,omitempty"` Architecture string `json:"architecture,omitempty"` OS string `json:"os,omitempty"` Size int64 `json:"size,omitempty"` }
Click to show internal directories.
Click to hide internal directories.