Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyObject ¶
type CopyObject struct { metadata.ObjectMetadata metadata.CompressedObject utils.FileSystemHelper `json:"-"` LibArchiveBackend libarchive.API `json:"-"` FileSystemBackend afero.Fs CopyBackend copy.Interface `json:"-"` utils.Permissions installifdifferent.TargetProvider Target string `json:"target"` TargetType string `json:"target-type"` TargetPath string `json:"target-path"` TargetGID interface{} `json:"target-gid"` // can be string or int TargetUID interface{} `json:"target-uid"` // can be string or int TargetMode string `json:"target-mode"` FSType string `json:"filesystem"` FormatOptions string `json:"format-options,omitempty"` MustFormat bool `json:"format?,omitempty"` MountOptions string `json:"mount-options,omitempty"` ChunkSize int `json:"chunk-size,omitempty"` // contains filtered or unexported fields }
CopyObject encapsulates the "copy" handler data and functions
func (*CopyObject) Cleanup ¶
func (cp *CopyObject) Cleanup() error
Cleanup implementation for the "copy" handler
func (*CopyObject) GetTarget ¶
func (cp *CopyObject) GetTarget() string
GetTarget implementation for the "copy" handler
func (*CopyObject) Install ¶
func (cp *CopyObject) Install(downloadDir string) error
Install implementation for the "copy" handler
func (*CopyObject) Setup ¶
func (cp *CopyObject) Setup() error
Setup implementation for the "copy" handler
func (*CopyObject) SetupTarget ¶
func (cp *CopyObject) SetupTarget(target afero.File)
SetupTarget implementation for the "copy" handler
Click to show internal directories.
Click to hide internal directories.