Documentation
¶
Index ¶
- Constants
- func PIDFile(name string) (string, error)
- func Sock(name string, sockType SockType) (string, error)
- func SockWithDirectory(dir string, name string, sockType SockType) (string, error)
- func Start(ctx context.Context, name string) error
- func StartGVisorNetstack(ctx context.Context, gVisorOpts *GVisorNetstackOpts) error
- func Stop(name string) error
- type Client
- type GVisorNetstackOpts
- type SockType
- type UDPFileConn
Constants ¶
View Source
const ( FDSock = "fd" QEMUSock = "qemu" EndpointSock = "ep" )
Variables ¶
This section is empty.
Functions ¶
func SockWithDirectory ¶
SockWithDirectory return a usernet socket based on dir, name and sockType
func Start ¶
Start starts a instance a usernet network with the given name. The name parameter must point to a valid network configuration name under <LIMA_HOME>/_config/networks.yaml with `mode: user-v2`
func StartGVisorNetstack ¶
func StartGVisorNetstack(ctx context.Context, gVisorOpts *GVisorNetstackOpts) error
Types ¶
type Client ¶
type Client struct {
Directory string
// contains filtered or unexported fields
}
func (*Client) ResolveAndForwardSSH ¶
func (*Client) UnExposeSSH ¶
type GVisorNetstackOpts ¶
type UDPFileConn ¶
Click to show internal directories.
Click to hide internal directories.