passfd

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFdAddress added in v0.26.0

func GetFdAddress(ctx context.Context, upgradeUUID string) (string, error)

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(pod *corev1.Pod)

func (*Fds) GetSid

func (fs *Fds) GetSid(pod *corev1.Pod) uint64

func (*Fds) ParseFuseFds

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

func (*Fds) ServeFuseFd

func (fs *Fds) ServeFuseFd(ctx context.Context, pod *corev1.Pod) error

func (*Fds) StopFd

func (fs *Fds) StopFd(ctx context.Context, pod *corev1.Pod)

func (*Fds) UpdateSid

func (fs *Fds) UpdateSid(pod *corev1.Pod, sid uint64)

Jump to

Keyboard shortcuts

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