nydussdk

package
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 15 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
	FscacheBindBlob(daemonConfig string) error
	FscacheUnbindBlob(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) FscacheBindBlob added in v0.3.0

func (c NydusClient) FscacheBindBlob(daemonConfig string) error

func (NydusClient) FscacheUnbindBlob added in v0.3.0

func (c NydusClient) FscacheUnbindBlob(daemonConfig string) 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