Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
MountPoint string
ConfigPath string
GatewayAddr string
Token string
Verbose bool
Backend string // "fuse", "nfs", or "" for platform auto-detect
Compression string // compression strategy: "strip", "distill", "chain", or "" (disabled)
Session string // custom access session ID; defaults to workspace ID if empty
AccessLog bool // enable access logging; when false, no session header is sent
}
type MountManager ¶
type MountManager struct {
// contains filtered or unexported fields
}
func NewMountManager ¶
func NewMountManager(cfg Config, cb StateCallback) *MountManager
func (*MountManager) Err ¶
func (m *MountManager) Err() error
func (*MountManager) GatewayAddr ¶
func (m *MountManager) GatewayAddr() string
func (*MountManager) Reload ¶
func (m *MountManager) Reload() error
func (*MountManager) Start ¶
func (m *MountManager) Start() error
func (*MountManager) State ¶
func (m *MountManager) State() State
func (*MountManager) Stop ¶
func (m *MountManager) Stop()
func (*MountManager) Wait ¶
func (m *MountManager) Wait() error
type StateCallback ¶
Click to show internal directories.
Click to hide internal directories.