MCPcopy
hub / github.com/lxc/incus / InstanceWriter

Interface InstanceWriter

internal/instancewriter/instance_writer_interface.go:9–13  ·  view source on GitHub ↗

InstanceWriter is the instance writer interface.

Source from the content-addressed store, hash-verified

7
8// InstanceWriter is the instance writer interface.
9type InstanceWriter interface {
10 ResetHardLinkMap()
11 WriteFile(name string, srcPath string, fi os.FileInfo, ignoreGrowth bool) error
12 WriteFileFromReader(src io.Reader, fi os.FileInfo) error
13}

Callers 15

BackupVolumeFunction · 0.65
GetImageFileMethod · 0.65
CreateProfileFunction · 0.65
setupMethod · 0.65
BridgeVLANSetDefaultPVIDFunction · 0.65
archiveProfileLoadFunction · 0.65
rsyncProfileLoadFunction · 0.65
BackupVolumeFunction · 0.65
BackupVolumeMethod · 0.65
DownloadAllFilesMethod · 0.65

Implementers 2

InstanceRawWriterinternal/instancewriter/instance_raw_w
InstanceTarWriterinternal/instancewriter/instance_tar_w

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…