Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pusher ¶
type Pusher struct { DockerImage types.GearImage DockerImageInfo dtypes.ImageInspect Ctx context.Context Client *client.Client GearRootPath string // $HOME/.gear/ TmpDir string // $HOME/.gear/tmp/ RegularFiles map[string]string TargetUrl string }
func (*Pusher) CreateLinks ¶
func (b *Pusher) CreateLinks()
This Func create hardlinks of regular files for pushing
func (*Pusher) 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.