client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigType = "application/vnd.docker.container.image.v1+json"
View Source
const LayerType = "application/vnd.docker.image.rootfs.diff.tar.gzip"
View Source
const ManifestType = "application/vnd.docker.distribution.manifest.v2+json"
View Source
const ManifestVersion = 2

Variables

This section is empty.

Functions

func Run

func Run()

Types

type Config

type Config struct {
	MediaType string `json:"mediaType"`
	Size      int64  `json:"size"`
	Digest    string `json:"digest"`
}

type Layer

type Layer struct {
	MediaType string `json:"mediaType"`
	Size      int64  `json:"size"`
	Digest    string `json:"digest"`
}

type Manifest

type Manifest struct {
	SchemaVersion int      `json:"schemaVersion"`
	MediaType     string   `json:"mediaType"`
	Config        *Config  `json:"config"`
	Layers        []*Layer `json:"layers"`
}

type Work

type Work struct {
	Input *os.File
	Dir   string

	Name string
}

func (*Work) Process

func (w *Work) Process()

Jump to

Keyboard shortcuts

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