hcs

package
v0.0.0-...-c399e67 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) CreateLayer

func (c *Client) CreateLayer(di hcsshim.DriverInfo, id string, parentLayerPaths []string) error

func (*Client) DestroyLayer

func (c *Client) DestroyLayer(di hcsshim.DriverInfo, id string) error

func (*Client) GetLayerMountPath

func (c *Client) GetLayerMountPath(di hcsshim.DriverInfo, id string) (string, error)

func (*Client) LayerExists

func (c *Client) LayerExists(di hcsshim.DriverInfo, id string) (bool, error)

func (*Client) NewLayerWriter

func (c *Client) NewLayerWriter(di hcsshim.DriverInfo, layerID string, parentLayerPaths []string) (LayerWriter, error)

type LayerWriter

type LayerWriter interface {
	Add(name string, fileInfo *winio.FileBasicInfo) error
	AddLink(name string, target string) error
	Remove(name string) error
	Write(b []byte) (int, error)
	Close() error
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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