Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { DockerImage types.Image DockerImageInfo dtypes.ImageInspect Ctx context.Context Client *client.Client GearRootPath string // $HOME/.gear/ TmpDir string // $HOME/.gear/tmp/ RegularFiles map[string]types.ExtendFileInfo IrregularFiles map[string]os.FileInfo Dockerfile types.Dockerfile }
func InitBuilder ¶
func (*Builder) BuildGearImage ¶
func (b *Builder) BuildGearImage()
func (*Builder) HasParsedThisImage ¶
This func detect whether this image has been built
func (*Builder) InitDockerfile ¶
func (b *Builder) InitDockerfile()
func (*Builder) InitGearJSON ¶
func (b *Builder) InitGearJSON()
func (*Builder) TarIrregularFiles ¶
func (b *Builder) TarIrregularFiles()
func (*Builder) WalkThroughLayers ¶
This Func is used to walk through the lowerdirs, calculate regular files' hash and copy irregular file to parsedImages path
Click to show internal directories.
Click to hide internal directories.