Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraConfig ¶
type ExtraConfig struct {
// NetworkStack selects the in-sandbox network stack. The open-source runsc
// adapter supports gVisor netstack only; empty is treated as netstack.
NetworkStack string `json:"networkStack,omitempty"`
// EnableKVM exposes the configured character device as /dev/kvm. It is
// intentionally opt-in and valid only for the host-kernel runc runtime.
EnableKVM bool `json:"enableKVM,omitempty"`
}
type SandboxService ¶
type SandboxService interface {
runtime.SandboxServiceServer
Run() error
Shutdown()
Ready() bool
RegisterServer(*grpc.Server)
RebootHandler() http.Handler
}
func NewSandboxService ¶
func NewSandboxService(root, configPath string) (result SandboxService, retErr error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.