Documentation
¶
Index ¶
- func GetDefaultListenIPStr() string
- func IsSMBExtModeDefault() bool
- func NewAFPBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
- func NewFTPBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
- func NewSMBBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
- type AFPBackend
- type Backend
- type FTPBackend
- type NetTapRuntimeContext
- type NewBackendFunc
- type RawUserConfiguration
- type SMBBackend
- type UserConfiguration
- type VMShareContext
- type VMShareOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultListenIPStr ¶
func GetDefaultListenIPStr() string
func IsSMBExtModeDefault ¶
func IsSMBExtModeDefault() bool
func NewAFPBackend ¶
func NewAFPBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
func NewFTPBackend ¶
func NewFTPBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
func NewSMBBackend ¶
func NewSMBBackend(uc *UserConfiguration) (Backend, *VMShareOptions, error)
Types ¶
type AFPBackend ¶
type AFPBackend struct {
// contains filtered or unexported fields
}
func (*AFPBackend) Apply ¶
func (b *AFPBackend) Apply(sharePWD string, vc *VMShareContext) (string, error)
type Backend ¶
type Backend interface {
Apply(sharePWD string, vc *VMShareContext) (string, error)
}
type FTPBackend ¶
type FTPBackend struct {
// contains filtered or unexported fields
}
func (*FTPBackend) Apply ¶
func (b *FTPBackend) Apply(sharePWD string, vc *VMShareContext) (string, error)
type NetTapRuntimeContext ¶
type NetTapRuntimeContext struct { Manager *nettap.TapManager Name string Net nettap.TapNet }
type NewBackendFunc ¶
type NewBackendFunc func(uc *UserConfiguration) (Backend, *VMShareOptions, error)
type RawUserConfiguration ¶
type RawUserConfiguration struct { ListenIP string // Backend-specific FTPExtIP string SMBExtMode bool }
func (RawUserConfiguration) Process ¶
func (rc RawUserConfiguration) Process(backend string, warnLogger *slog.Logger) (*UserConfiguration, error)
type SMBBackend ¶
type SMBBackend struct {
// contains filtered or unexported fields
}
func (*SMBBackend) Apply ¶
func (b *SMBBackend) Apply(sharePWD string, vc *VMShareContext) (string, error)
type UserConfiguration ¶
type UserConfiguration struct {
// contains filtered or unexported fields
}
type VMShareContext ¶
type VMShareContext struct {}
type VMShareOptions ¶
type VMShareOptions struct {}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.