layer

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layer

type Layer struct {
	Hash       string `json:"hash"`
	Annotation string `json:"path"`
}

func (*Layer) Integration

func (l *Layer) Integration(dir, layerHash string) error

type Manifest

type Manifest struct {
	Name      string              `json:"name"`
	Hash      string              `json:"hash"`
	Layers    []*Layer            `json:"layers"`
	Histories []*_image.ImageInfo `json:"histories"`
	Localpath string              `json:"localpath"`
}

func (*Manifest) File

func (m *Manifest) File(file string) (*bytes.Buffer, error)

func (*Manifest) GetLayers

func (m *Manifest) GetLayers(ctx context.Context, tarReader *tar.Reader, tempPath string) error

Jump to

Keyboard shortcuts

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