Documentation
¶
Index ¶
- type Handler
- func (k *Handler) Delete(ctx context.Context, sandboxID string) error
- func (handler *Handler) HostResources(resource *runtime.LinuxSandboxResources) *runtime.LinuxSandboxResources
- func (k *Handler) List(ctx context.Context) ([]*runtimecore.State, error)
- func (handler *Handler) SandboxDefaults() runtimecore.SandboxDefaults
- func (k *Handler) Start(ctx context.Context, startConfig runtimecore.StartConfig) error
- func (k *Handler) Wait(ctx context.Context, sandboxID string) (runtimecore.Exit, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler manages the Kata shim and VM lifecycle.
func NewHandler ¶
func (*Handler) HostResources ¶
func (handler *Handler) HostResources( resource *runtime.LinuxSandboxResources, ) *runtime.LinuxSandboxResources
func (*Handler) SandboxDefaults ¶
func (handler *Handler) SandboxDefaults() runtimecore.SandboxDefaults
func (*Handler) Start ¶
func (k *Handler) Start(ctx context.Context, startConfig runtimecore.StartConfig) error
Click to show internal directories.
Click to hide internal directories.