types

package
v0.0.0-...-a4b3a0d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 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 Dir

type Dir struct {
	Files     map[string]ExtendFileInfo
	LowerDir  string
	UpperDir  string
	WorkDir   string
	MergedDir string
	PublicDir string

	DirPath string
	DirAttr ExtendFileInfo
}

func (*Dir) Attr

func (d *Dir) Attr(c context.Context, a *fuse.Attr) error

func (*Dir) Lookup

func (d *Dir) Lookup(c context.Context, req *fuse.LookupRequest, res *fuse.LookupResponse) (fs.Node, error)

type Dockerfile

type Dockerfile struct {
	FROM       string
	ENV        []string
	RUN        []string
	LABEL      map[string]string
	EXPOSE     map[string]struct{} // "80/tcp":{}
	ENTRYPOINT []string
	VOLUME     map[string]struct{}
	WORKDIR    string
	CMD        []string
}

type ExtendFileInfo

type ExtendFileInfo struct {
	Hash    string
	Name    string // file name
	Size    int64  // file size
	Mode    os.FileMode
	ModTime time.Time // modification time
	IsDir   bool      // whether this file is a dir
}

type FS

type FS struct {
	Files     map[string]ExtendFileInfo
	LowerDir  string
	UpperDir  string
	WorkDir   string
	MergedDir string
	PublicDir string
}

func (*FS) Root

func (f *FS) Root() (fs.Node, error)

type File

type File struct {
	FileInfo  ExtendFileInfo
	LowerDir  string
	UpperDir  string
	WorkDir   string
	MergedDir string
	PublicDir string

	FilePath string
}

type GearImage

type GearImage struct {
	// gear imageID
	GearID string
	// raw imageID
	RawID string
	// image name
	Name string
	// image tag
	Tag string
}

type Image

type Image struct {
	// raw imageID
	RawID string
	// image name
	Name string
	// image tag
	Tag string
}

Jump to

Keyboard shortcuts

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