nydussdk

package
v0.0.0-...-3cab0da Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	CheckStatus() (model.DaemonInfo, error)
	SharedMount(sharedMountPoint, bootstrap, daemonConfig string) error
	Umount(sharedMountPoint string) error
	GetFsMetric(sharedDaemon bool, sid string) (*model.FsMetric, error)
}

func NewNydusClient

func NewNydusClient(sock string) (Interface, error)

type NydusClient

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

func (*NydusClient) CheckStatus

func (c *NydusClient) CheckStatus() (model.DaemonInfo, error)

func (*NydusClient) GetFsMetric

func (c *NydusClient) GetFsMetric(sharedDaemon bool, sid string) (*model.FsMetric, error)

func (*NydusClient) SharedMount

func (c *NydusClient) SharedMount(sharedMountPoint, bootstrap, daemonConfig string) error

func (*NydusClient) Umount

func (c *NydusClient) Umount(sharedMountPoint string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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