passfd

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuseFd

func GetFuseFd(path string, close bool) (int, []byte)

func InitGlobalFds

func InitGlobalFds(ctx context.Context, client *k8s.K8sClient, basePath string) error

func InitTestFds

func InitTestFds()

Types

type Fds

type Fds struct {
	// contains filtered or unexported fields
}
var GlobalFds *Fds

func (*Fds) CloseFd

func (fs *Fds) CloseFd(podHashVal string)

func (*Fds) GetFdAddress

func (fs *Fds) GetFdAddress(ctx context.Context, podHashVal string) (string, error)

func (*Fds) GetSid

func (fs *Fds) GetSid(podHashVal string) uint64

func (*Fds) ParseFuseFds

func (fs *Fds) ParseFuseFds(ctx context.Context) error

func (*Fds) ServeFuseFd

func (fs *Fds) ServeFuseFd(ctx context.Context, podHashVal string) error

func (*Fds) StopFd

func (fs *Fds) StopFd(ctx context.Context, podHashVal string)

func (*Fds) UpdateSid

func (fs *Fds) UpdateSid(podHashVal string, sid uint64)

Jump to

Keyboard shortcuts

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