docker

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

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

func ImageFromName

func ImageFromName(ctx context.Context, sys *types.SystemContext, name string) (*Image, error)

func (*Image) Copy

func (img *Image) Copy(ctx context.Context, dst string) error

func (*Image) GetManifest

func (img *Image) GetManifest(ctx context.Context) ([]byte, string, error)

type SchemaV2List

type SchemaV2List struct {
	MediaType     string `json:"mediaType"`
	SchemaVersion int    `json:"schemaVersion"`
	Manifests     []struct {
		MediaType string `json:"mediaType"`
		Digest    string `json:"digest"`
		Size      int    `json:"size"`
		Platform  struct {
			Architecture string `json:"architecture"`
			Os           string `json:"os"`
			Variant      string `json:"variant"`
		} `json:"platform,omitempty"`
	} `json:"manifests"`
}

Jump to

Keyboard shortcuts

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