Documentation
¶
Overview ¶
Package computestorage is a wrapper around the HCS storage APIs. These are new storage APIs introduced separate from the original graphdriver calls intended to give more freedom around creating and managing container layers and scratch spaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportLayerOptions ¶
type ExportLayerOptions struct {
IsWritableLayer bool `json:"IsWritableLayer,omitempty"`
}
ExportLayerOptions are the set of options that are used with the `computestorage.HcsExportLayer` syscall.
type LayerData ¶
type LayerData struct { SchemaVersion Version `json:"SchemaVersion,omitempty"` Layers []Layer `json:"Layers,omitempty"` FilterType hcsschema.FileSystemFilterType `json:"FilterType,omitempty"` }
LayerData is the data used to describe parent layer information.
type OsLayerOptions ¶
type OsLayerOptions struct { Type OsLayerType `json:"Type,omitempty"` DisableCiCacheOptimization bool `json:"DisableCiCacheOptimization,omitempty"` SkipUpdateBcdForBoot bool `json:"SkipUpdateBcdForBoot,omitempty"` }
OsLayerOptions are the set of options that are used with the `SetupBaseOSLayer` and `SetupBaseOSVolume` calls.
type OsLayerType ¶
type OsLayerType string
OsLayerType is the type of layer being operated on.
const ( // OsLayerTypeContainer is a container layer. OsLayerTypeContainer OsLayerType = "Container" // OsLayerTypeVM is a virtual machine layer. OsLayerTypeVM OsLayerType = "Vm" )
Click to show internal directories.
Click to hide internal directories.