Documentation ¶
Index ¶
- Constants
- type Manager
- func (t *Manager) CheckTarfsHintAnnotation(ctx context.Context, ref string, manifestDigest digest.Digest) (bool, error)
- func (t *Manager) DetachLayer(snapshotID string) error
- func (t *Manager) ExportBlockData(s storage.Snapshot, perLayer bool, labels map[string]string, ...) ([]string, error)
- func (t *Manager) GetConcurrentLimiter(ref string) *semaphore.Weighted
- func (t *Manager) ImageDiskFilePath(blobID string) string
- func (t *Manager) LayerDiskFilePath(blobID string) string
- func (t *Manager) MergeLayers(s storage.Snapshot, storageLocater func(string) string) error
- func (t *Manager) MountTarErofs(snapshotID string, s *storage.Snapshot, labels map[string]string, ...) error
- func (t *Manager) PrepareLayer(snapshotID, ref string, manifestDigest, layerDigest digest.Digest, ...) error
- func (t *Manager) UmountTarErofs(snapshotID string) error
Constants ¶
View Source
const ( TarfsStatusInit = 0 TarfsStatusPrepare = 1 TarfsStatusReady = 2 TarfsStatusFailed = 3 )
View Source
const ( MaxManifestConfigSize = 0x100000 TarfsLayerBootstrapName = "layer.boot" TarfsImageBootstrapName = "image.boot" TarfsLayerDiskName = "layer.disk" TarfsImageDiskName = "image.disk" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CheckTarfsHintAnnotation ¶
func (*Manager) DetachLayer ¶
func (*Manager) ExportBlockData ¶
func (*Manager) GetConcurrentLimiter ¶
func (*Manager) ImageDiskFilePath ¶
func (*Manager) LayerDiskFilePath ¶ added in v0.13.5
func (*Manager) MergeLayers ¶
func (*Manager) MountTarErofs ¶
func (*Manager) PrepareLayer ¶
func (*Manager) UmountTarErofs ¶
Click to show internal directories.
Click to hide internal directories.