package computestorage

import "github.com/Microsoft/hcsshim/computestorage"

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

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 Layer

type Layer = hcsschema.Layer

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"
)

type Version

type Version = hcsschema.Version

Source Files

storage.go

Version
v0.12.9 (latest)
Published
Oct 30, 2024
Platform
linux/amd64
Imports
1 packages
Last checked
12 hours ago

Tools for package owners.