layers

package
v0.0.0-...-276c9e9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashSHA256

func HashSHA256(fpath string) (string, error)

func IsPathExist

func IsPathExist(path string) bool

func Move

func Move(oldFile, newFile string) error

Types

type Image

type Image struct {
	Fpath   string
	Destdir string
}

func NewImage

func NewImage(fpath string, destdir string) *Image

func (*Image) RemoveDir

func (i *Image) RemoveDir(path string) error

func (*Image) Unzip

func (i *Image) Unzip() error

func (*Image) Zip

func (i *Image) Zip() error

type Manifest

type Manifest struct {
	Config  string
	RepoTag string
	Layers  []string
}

type Manifests

type Manifests []Manifest

Jump to

Keyboard shortcuts

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