mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 10:34:24 +01:00
New command-line parameter for firecracker v0.19.0, named `--config-file`, which represents the path to a file that contains a JSON which can be used for configuring and starting a microVM without sending any API requests. Fixes: #2199 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
25 lines
569 B
Go
25 lines
569 B
Go
// Copyright (c) 2019 ARM Limited
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package types
|
|
|
|
import (
|
|
"github.com/kata-containers/runtime/virtcontainers/pkg/firecracker/client/models"
|
|
)
|
|
|
|
type FcConfig struct {
|
|
BootSource *models.BootSource `json:"boot-source"`
|
|
|
|
MachineConfig *models.MachineConfiguration `json:"machine-config"`
|
|
|
|
Drives []*models.Drive `json:"drives,omitempty"`
|
|
|
|
Vsock *models.Vsock `json:"vsock,omitempty"`
|
|
|
|
NetworkInterfaces []*models.NetworkInterface `json:"network-interfaces,omitempty"`
|
|
|
|
Logger *models.Logger `json:"logger,omitempty"`
|
|
}
|