computestorage

package
v0.10.0-rc.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 1 Imported by: 3

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 Layer added in v0.10.0

type Layer = hcsschema.Layer

type LayerData

type LayerData struct {
	SchemaVersion Version `json:"SchemaVersion,omitempty"`
	Layers        []Layer `json:"Layers,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 added in v0.10.0

type Version = hcsschema.Version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL