proto

package
v0.0.0-...-81c6e22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DriveExposePolicy_name = map[int32]string{
		0: "COPY",
		1: "BIND",
	}
	DriveExposePolicy_value = map[string]int32{
		"COPY": 0,
		"BIND": 1,
	}
)

Enum value maps for DriveExposePolicy.

View Source
var File_events_proto protoreflect.FileDescriptor
View Source
var File_firecracker_proto protoreflect.FileDescriptor
View Source
var File_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CNIConfiguration

type CNIConfiguration struct {

	// NetworkName is the name of a CNI network (as found in CNI
	// configuration files) that will be used to generate the
	// network interface.
	NetworkName string `protobuf:"bytes,1,opt,name=NetworkName,proto3" json:"NetworkName,omitempty"`
	// InterfaceName corresponds to the CNI_IFNAME parameter that will be
	// provided to CNI plugins during invocation.
	InterfaceName string `protobuf:"bytes,2,opt,name=InterfaceName,proto3" json:"InterfaceName,omitempty"`
	// BinPath is a list of directories that will be searched when
	// looking for CNI plugin binaries. Defaults to just "/opt/cni/bin"
	BinPath []string `protobuf:"bytes,3,rep,name=BinPath,proto3" json:"BinPath,omitempty"`
	// ConfDir is the directory in which CNI configuration will be sought.
	// If not specified, will default to "/etc/cni/conf.d".
	ConfDir string `protobuf:"bytes,4,opt,name=ConfDir,proto3" json:"ConfDir,omitempty"`
	// CacheDir is the directory in which CNI results will be temporarily
	// cached by the runtime. If not specified, it will default to
	// "/var/lib/cni"
	CacheDir string `protobuf:"bytes,5,opt,name=CacheDir,proto3" json:"CacheDir,omitempty"`
	// Args corresponds to the CNI_ARGS parameter that will be provided to
	// CNI plugins on invocation.
	Args []*CNIConfiguration_CNIArg `protobuf:"bytes,6,rep,name=Args,proto3" json:"Args,omitempty"`
	// contains filtered or unexported fields
}

Message to specify CNI configuration that will be used to generate a network interface for a Firecracker VM

func (*CNIConfiguration) Descriptor deprecated

func (*CNIConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use CNIConfiguration.ProtoReflect.Descriptor instead.

func (*CNIConfiguration) GetArgs

func (x *CNIConfiguration) GetArgs() []*CNIConfiguration_CNIArg

func (*CNIConfiguration) GetBinPath

func (x *CNIConfiguration) GetBinPath() []string

func (*CNIConfiguration) GetCacheDir

func (x *CNIConfiguration) GetCacheDir() string

func (*CNIConfiguration) GetConfDir

func (x *CNIConfiguration) GetConfDir() string

func (*CNIConfiguration) GetInterfaceName

func (x *CNIConfiguration) GetInterfaceName() string

func (*CNIConfiguration) GetNetworkName

func (x *CNIConfiguration) GetNetworkName() string

func (*CNIConfiguration) ProtoMessage

func (*CNIConfiguration) ProtoMessage()

func (*CNIConfiguration) ProtoReflect

func (x *CNIConfiguration) ProtoReflect() protoreflect.Message

func (*CNIConfiguration) Reset

func (x *CNIConfiguration) Reset()

func (*CNIConfiguration) String

func (x *CNIConfiguration) String() string

type CNIConfiguration_CNIArg

type CNIConfiguration_CNIArg struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*CNIConfiguration_CNIArg) Descriptor deprecated

func (*CNIConfiguration_CNIArg) Descriptor() ([]byte, []int)

Deprecated: Use CNIConfiguration_CNIArg.ProtoReflect.Descriptor instead.

func (*CNIConfiguration_CNIArg) GetKey

func (x *CNIConfiguration_CNIArg) GetKey() string

func (*CNIConfiguration_CNIArg) GetValue

func (x *CNIConfiguration_CNIArg) GetValue() string

func (*CNIConfiguration_CNIArg) ProtoMessage

func (*CNIConfiguration_CNIArg) ProtoMessage()

func (*CNIConfiguration_CNIArg) ProtoReflect

func (x *CNIConfiguration_CNIArg) ProtoReflect() protoreflect.Message

func (*CNIConfiguration_CNIArg) Reset

func (x *CNIConfiguration_CNIArg) Reset()

func (*CNIConfiguration_CNIArg) String

func (x *CNIConfiguration_CNIArg) String() string

type CreateVMRequest

type CreateVMRequest struct {

	// VM identifier to assign
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// Specifies the machine configuration for the VM
	MachineCfg *FirecrackerMachineConfiguration `protobuf:"bytes,2,opt,name=MachineCfg,proto3" json:"MachineCfg,omitempty"`
	// Specifies the file path where the kernel image is located
	KernelImagePath string `protobuf:"bytes,3,opt,name=KernelImagePath,proto3" json:"KernelImagePath,omitempty"`
	// Specifies the commandline arguments that should be passed to the kernel
	KernelArgs string `protobuf:"bytes,4,opt,name=KernelArgs,proto3" json:"KernelArgs,omitempty"`
	// Specifies drive containing the rootfs of the VM
	RootDrive *FirecrackerRootDrive `protobuf:"bytes,5,opt,name=RootDrive,proto3" json:"RootDrive,omitempty"`
	// Specifies additional drives whose contents will be mounted inside the VM on boot.
	DriveMounts []*FirecrackerDriveMount `protobuf:"bytes,6,rep,name=DriveMounts,proto3" json:"DriveMounts,omitempty"`
	// Specifies the networking configuration for a VM
	NetworkInterfaces []*FirecrackerNetworkInterface `protobuf:"bytes,7,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"`
	// The number of dummy drives to reserve in advance before running FC instance.
	ContainerCount int32 `protobuf:"varint,8,opt,name=ContainerCount,proto3" json:"ContainerCount,omitempty"`
	// Whether the VM should exit after all tasks running in it have been deleted.
	ExitAfterAllTasksDeleted bool                      `protobuf:"varint,9,opt,name=ExitAfterAllTasksDeleted,proto3" json:"ExitAfterAllTasksDeleted,omitempty"`
	JailerConfig             *JailerConfig             `protobuf:"bytes,10,opt,name=JailerConfig,proto3" json:"JailerConfig,omitempty"`
	TimeoutSeconds           uint32                    `protobuf:"varint,11,opt,name=TimeoutSeconds,proto3" json:"TimeoutSeconds,omitempty"`
	LogFifoPath              string                    `protobuf:"bytes,12,opt,name=LogFifoPath,proto3" json:"LogFifoPath,omitempty"`
	MetricsFifoPath          string                    `protobuf:"bytes,13,opt,name=MetricsFifoPath,proto3" json:"MetricsFifoPath,omitempty"`
	BalloonDevice            *FirecrackerBalloonDevice `protobuf:"bytes,14,opt,name=BalloonDevice,proto3" json:"BalloonDevice,omitempty"`
	// contains filtered or unexported fields
}

CreateVMRequest specifies creation parameters for a new FC instance

func (*CreateVMRequest) Descriptor deprecated

func (*CreateVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMRequest.ProtoReflect.Descriptor instead.

func (*CreateVMRequest) GetBalloonDevice

func (x *CreateVMRequest) GetBalloonDevice() *FirecrackerBalloonDevice

func (*CreateVMRequest) GetContainerCount

func (x *CreateVMRequest) GetContainerCount() int32

func (*CreateVMRequest) GetDriveMounts

func (x *CreateVMRequest) GetDriveMounts() []*FirecrackerDriveMount

func (*CreateVMRequest) GetExitAfterAllTasksDeleted

func (x *CreateVMRequest) GetExitAfterAllTasksDeleted() bool

func (*CreateVMRequest) GetJailerConfig

func (x *CreateVMRequest) GetJailerConfig() *JailerConfig

func (*CreateVMRequest) GetKernelArgs

func (x *CreateVMRequest) GetKernelArgs() string

func (*CreateVMRequest) GetKernelImagePath

func (x *CreateVMRequest) GetKernelImagePath() string

func (*CreateVMRequest) GetLogFifoPath

func (x *CreateVMRequest) GetLogFifoPath() string

func (*CreateVMRequest) GetMachineCfg

func (*CreateVMRequest) GetMetricsFifoPath

func (x *CreateVMRequest) GetMetricsFifoPath() string

func (*CreateVMRequest) GetNetworkInterfaces

func (x *CreateVMRequest) GetNetworkInterfaces() []*FirecrackerNetworkInterface

func (*CreateVMRequest) GetRootDrive

func (x *CreateVMRequest) GetRootDrive() *FirecrackerRootDrive

func (*CreateVMRequest) GetTimeoutSeconds

func (x *CreateVMRequest) GetTimeoutSeconds() uint32

func (*CreateVMRequest) GetVMID

func (x *CreateVMRequest) GetVMID() string

func (*CreateVMRequest) ProtoMessage

func (*CreateVMRequest) ProtoMessage()

func (*CreateVMRequest) ProtoReflect

func (x *CreateVMRequest) ProtoReflect() protoreflect.Message

func (*CreateVMRequest) Reset

func (x *CreateVMRequest) Reset()

func (*CreateVMRequest) String

func (x *CreateVMRequest) String() string

type CreateVMResponse

type CreateVMResponse struct {
	VMID            string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	SocketPath      string `protobuf:"bytes,2,opt,name=SocketPath,proto3" json:"SocketPath,omitempty"`
	LogFifoPath     string `protobuf:"bytes,3,opt,name=LogFifoPath,proto3" json:"LogFifoPath,omitempty"`
	MetricsFifoPath string `protobuf:"bytes,4,opt,name=MetricsFifoPath,proto3" json:"MetricsFifoPath,omitempty"`
	CgroupPath      string `protobuf:"bytes,5,opt,name=CgroupPath,proto3" json:"CgroupPath,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVMResponse) Descriptor deprecated

func (*CreateVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMResponse.ProtoReflect.Descriptor instead.

func (*CreateVMResponse) GetCgroupPath

func (x *CreateVMResponse) GetCgroupPath() string

func (*CreateVMResponse) GetLogFifoPath

func (x *CreateVMResponse) GetLogFifoPath() string

func (*CreateVMResponse) GetMetricsFifoPath

func (x *CreateVMResponse) GetMetricsFifoPath() string

func (*CreateVMResponse) GetSocketPath

func (x *CreateVMResponse) GetSocketPath() string

func (*CreateVMResponse) GetVMID

func (x *CreateVMResponse) GetVMID() string

func (*CreateVMResponse) ProtoMessage

func (*CreateVMResponse) ProtoMessage()

func (*CreateVMResponse) ProtoReflect

func (x *CreateVMResponse) ProtoReflect() protoreflect.Message

func (*CreateVMResponse) Reset

func (x *CreateVMResponse) Reset()

func (*CreateVMResponse) String

func (x *CreateVMResponse) String() string

type DriveExposePolicy

type DriveExposePolicy int32

DriveExposePolicy is used to configure the method to expose drive files. "COPY" is copying the files to the jail, which is the default behavior. "BIND" is bind-mounting the files on the jail, assuming a caller pre-configures the permissions of the files appropriately.

const (
	DriveExposePolicy_COPY DriveExposePolicy = 0
	DriveExposePolicy_BIND DriveExposePolicy = 1
)

func (DriveExposePolicy) Descriptor

func (DriveExposePolicy) Enum

func (DriveExposePolicy) EnumDescriptor deprecated

func (DriveExposePolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use DriveExposePolicy.Descriptor instead.

func (DriveExposePolicy) Number

func (DriveExposePolicy) String

func (x DriveExposePolicy) String() string

func (DriveExposePolicy) Type

type ExtraData

type ExtraData struct {
	JsonSpec    []byte    `protobuf:"bytes,1,opt,name=JsonSpec,proto3" json:"JsonSpec,omitempty"`
	RuncOptions *any1.Any `protobuf:"bytes,2,opt,name=RuncOptions,proto3" json:"RuncOptions,omitempty"`
	StdinPort   uint32    `protobuf:"varint,3,opt,name=StdinPort,proto3" json:"StdinPort,omitempty"`
	StdoutPort  uint32    `protobuf:"varint,4,opt,name=StdoutPort,proto3" json:"StdoutPort,omitempty"`
	StderrPort  uint32    `protobuf:"varint,5,opt,name=StderrPort,proto3" json:"StderrPort,omitempty"`
	// contains filtered or unexported fields
}

Message to store bundle/config.json bytes

func (*ExtraData) Descriptor deprecated

func (*ExtraData) Descriptor() ([]byte, []int)

Deprecated: Use ExtraData.ProtoReflect.Descriptor instead.

func (*ExtraData) GetJsonSpec

func (x *ExtraData) GetJsonSpec() []byte

func (*ExtraData) GetRuncOptions

func (x *ExtraData) GetRuncOptions() *any1.Any

func (*ExtraData) GetStderrPort

func (x *ExtraData) GetStderrPort() uint32

func (*ExtraData) GetStdinPort

func (x *ExtraData) GetStdinPort() uint32

func (*ExtraData) GetStdoutPort

func (x *ExtraData) GetStdoutPort() uint32

func (*ExtraData) ProtoMessage

func (*ExtraData) ProtoMessage()

func (*ExtraData) ProtoReflect

func (x *ExtraData) ProtoReflect() protoreflect.Message

func (*ExtraData) Reset

func (x *ExtraData) Reset()

func (*ExtraData) String

func (x *ExtraData) String() string

type FirecrackerBalloonDevice

type FirecrackerBalloonDevice struct {
	AmountMib             int64 `protobuf:"varint,1,opt,name=AmountMib,proto3" json:"AmountMib,omitempty"`                         //Target balloon size in MiB.
	DeflateOnOom          bool  `protobuf:"varint,2,opt,name=DeflateOnOom,proto3" json:"DeflateOnOom,omitempty"`                   // Whether the balloon should deflate when the guest has memory pressure.
	StatsPollingIntervals int64 `protobuf:"varint,3,opt,name=StatsPollingIntervals,proto3" json:"StatsPollingIntervals,omitempty"` // Interval in seconds between refreshing statistics.
	// contains filtered or unexported fields
}

func (*FirecrackerBalloonDevice) Descriptor deprecated

func (*FirecrackerBalloonDevice) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerBalloonDevice.ProtoReflect.Descriptor instead.

func (*FirecrackerBalloonDevice) GetAmountMib

func (x *FirecrackerBalloonDevice) GetAmountMib() int64

func (*FirecrackerBalloonDevice) GetDeflateOnOom

func (x *FirecrackerBalloonDevice) GetDeflateOnOom() bool

func (*FirecrackerBalloonDevice) GetStatsPollingIntervals

func (x *FirecrackerBalloonDevice) GetStatsPollingIntervals() int64

func (*FirecrackerBalloonDevice) ProtoMessage

func (*FirecrackerBalloonDevice) ProtoMessage()

func (*FirecrackerBalloonDevice) ProtoReflect

func (x *FirecrackerBalloonDevice) ProtoReflect() protoreflect.Message

func (*FirecrackerBalloonDevice) Reset

func (x *FirecrackerBalloonDevice) Reset()

func (*FirecrackerBalloonDevice) String

func (x *FirecrackerBalloonDevice) String() string

type FirecrackerDriveMount

type FirecrackerDriveMount struct {

	// (Required) HostPath is the path on the host to the filesystem image or device
	// that will be mounted inside the VM.
	HostPath string `protobuf:"bytes,1,opt,name=HostPath,proto3" json:"HostPath,omitempty"`
	// (Required) VMPath is the path inside the VM guest at which the filesystem
	// image or device will be mounted.
	VMPath string `protobuf:"bytes,2,opt,name=VMPath,proto3" json:"VMPath,omitempty"`
	// (Required) FilesystemType is the filesystem type (i.e. ext4, xfs, etc.), as
	// used when mounting the filesystem image inside the VM. The VM guest kernel
	// is expected to have support for this filesystem.
	FilesystemType string `protobuf:"bytes,3,opt,name=FilesystemType,proto3" json:"FilesystemType,omitempty"`
	// (Optional) Options are fstab-style options that the mount will be performed
	// within the VM (i.e. ["rw", "noatime"]). Defaults to none if not specified.
	Options []string `protobuf:"bytes,4,rep,name=Options,proto3" json:"Options,omitempty"`
	// (Optional) RateLimiter configuration that will be applied to the
	// backing-drive for the VM's rootfs
	RateLimiter *FirecrackerRateLimiter `protobuf:"bytes,5,opt,name=RateLimiter,proto3" json:"RateLimiter,omitempty"`
	// (Optional) If set to true, IsWritable results in the backing file for the
	// drive being opened as read-write by the Firecracker VMM on the host, allowing
	// writes to the image from within the guest. Defaults to false, in which case
	// the block device in the VM will be read-only.
	IsWritable bool `protobuf:"varint,6,opt,name=IsWritable,proto3" json:"IsWritable,omitempty"`
	// (Optional) CacheType specifies the caching strategy for the block device.
	// The supported caching strategies are: "Unsafe"(default) and "Writeback".
	CacheType string `protobuf:"bytes,7,opt,name=CacheType,proto3" json:"CacheType,omitempty"`
	// contains filtered or unexported fields
}

func (*FirecrackerDriveMount) Descriptor deprecated

func (*FirecrackerDriveMount) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerDriveMount.ProtoReflect.Descriptor instead.

func (*FirecrackerDriveMount) GetCacheType

func (x *FirecrackerDriveMount) GetCacheType() string

func (*FirecrackerDriveMount) GetFilesystemType

func (x *FirecrackerDriveMount) GetFilesystemType() string

func (*FirecrackerDriveMount) GetHostPath

func (x *FirecrackerDriveMount) GetHostPath() string

func (*FirecrackerDriveMount) GetIsWritable

func (x *FirecrackerDriveMount) GetIsWritable() bool

func (*FirecrackerDriveMount) GetOptions

func (x *FirecrackerDriveMount) GetOptions() []string

func (*FirecrackerDriveMount) GetRateLimiter

func (x *FirecrackerDriveMount) GetRateLimiter() *FirecrackerRateLimiter

func (*FirecrackerDriveMount) GetVMPath

func (x *FirecrackerDriveMount) GetVMPath() string

func (*FirecrackerDriveMount) ProtoMessage

func (*FirecrackerDriveMount) ProtoMessage()

func (*FirecrackerDriveMount) ProtoReflect

func (x *FirecrackerDriveMount) ProtoReflect() protoreflect.Message

func (*FirecrackerDriveMount) Reset

func (x *FirecrackerDriveMount) Reset()

func (*FirecrackerDriveMount) String

func (x *FirecrackerDriveMount) String() string

type FirecrackerMachineConfiguration

type FirecrackerMachineConfiguration struct {
	CPUTemplate string `protobuf:"bytes,1,opt,name=CPUTemplate,proto3" json:"CPUTemplate,omitempty"` // Specifies the cpu template. Example: "T2" or "C3"
	HtEnabled   bool   `protobuf:"varint,2,opt,name=HtEnabled,proto3" json:"HtEnabled,omitempty"`    // Specifies if hyper-threading should be enabled
	// Specifies the memory size of VM
	// This lets us create a Firecracker VM of up to 4096 TiB, which
	// for a microVM should be large enough
	MemSizeMib uint32 `protobuf:"varint,3,opt,name=MemSizeMib,proto3" json:"MemSizeMib,omitempty"`
	VcpuCount  uint32 `protobuf:"varint,4,opt,name=VcpuCount,proto3" json:"VcpuCount,omitempty"` // Specifies the number of vCPUs for the VM
	// contains filtered or unexported fields
}

Message to set the machine config for a Firecracker VM

func (*FirecrackerMachineConfiguration) Descriptor deprecated

func (*FirecrackerMachineConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerMachineConfiguration.ProtoReflect.Descriptor instead.

func (*FirecrackerMachineConfiguration) GetCPUTemplate

func (x *FirecrackerMachineConfiguration) GetCPUTemplate() string

func (*FirecrackerMachineConfiguration) GetHtEnabled

func (x *FirecrackerMachineConfiguration) GetHtEnabled() bool

func (*FirecrackerMachineConfiguration) GetMemSizeMib

func (x *FirecrackerMachineConfiguration) GetMemSizeMib() uint32

func (*FirecrackerMachineConfiguration) GetVcpuCount

func (x *FirecrackerMachineConfiguration) GetVcpuCount() uint32

func (*FirecrackerMachineConfiguration) ProtoMessage

func (*FirecrackerMachineConfiguration) ProtoMessage()

func (*FirecrackerMachineConfiguration) ProtoReflect

func (*FirecrackerMachineConfiguration) Reset

func (*FirecrackerMachineConfiguration) String

type FirecrackerNetworkInterface

type FirecrackerNetworkInterface struct {
	AllowMMDS      bool                    `protobuf:"varint,1,opt,name=AllowMMDS,proto3" json:"AllowMMDS,omitempty"`          // Specifies if metadata service should be available on this network interface
	InRateLimiter  *FirecrackerRateLimiter `protobuf:"bytes,2,opt,name=InRateLimiter,proto3" json:"InRateLimiter,omitempty"`   // Specifies a rate limiter for incoming bytes
	OutRateLimiter *FirecrackerRateLimiter `protobuf:"bytes,3,opt,name=OutRateLimiter,proto3" json:"OutRateLimiter,omitempty"` // Specifies a rate limiter for outgoing bytes
	// CNIConfiguration specifies CNI configuration that will be used to generate
	// a network interface for a Firecracker VM.
	CNIConfig *CNIConfiguration `protobuf:"bytes,4,opt,name=CNIConfig,proto3" json:"CNIConfig,omitempty"`
	// StaticNetworkConfiguration specifies static configuration parameters for a
	// Firecracker VM's network interface
	StaticConfig *StaticNetworkConfiguration `protobuf:"bytes,5,opt,name=StaticConfig,proto3" json:"StaticConfig,omitempty"`
	// contains filtered or unexported fields
}

Message to specify network config for a Firecracker VM

func (*FirecrackerNetworkInterface) Descriptor deprecated

func (*FirecrackerNetworkInterface) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerNetworkInterface.ProtoReflect.Descriptor instead.

func (*FirecrackerNetworkInterface) GetAllowMMDS

func (x *FirecrackerNetworkInterface) GetAllowMMDS() bool

func (*FirecrackerNetworkInterface) GetCNIConfig

func (x *FirecrackerNetworkInterface) GetCNIConfig() *CNIConfiguration

func (*FirecrackerNetworkInterface) GetInRateLimiter

func (x *FirecrackerNetworkInterface) GetInRateLimiter() *FirecrackerRateLimiter

func (*FirecrackerNetworkInterface) GetOutRateLimiter

func (x *FirecrackerNetworkInterface) GetOutRateLimiter() *FirecrackerRateLimiter

func (*FirecrackerNetworkInterface) GetStaticConfig

func (*FirecrackerNetworkInterface) ProtoMessage

func (*FirecrackerNetworkInterface) ProtoMessage()

func (*FirecrackerNetworkInterface) ProtoReflect

func (*FirecrackerNetworkInterface) Reset

func (x *FirecrackerNetworkInterface) Reset()

func (*FirecrackerNetworkInterface) String

func (x *FirecrackerNetworkInterface) String() string

type FirecrackerRateLimiter

type FirecrackerRateLimiter struct {
	Bandwidth *FirecrackerTokenBucket `protobuf:"bytes,1,opt,name=Bandwidth,proto3" json:"Bandwidth,omitempty"` // Specifies a token bucket with bytes as tokens
	Ops       *FirecrackerTokenBucket `protobuf:"bytes,2,opt,name=Ops,proto3" json:"Ops,omitempty"`             // Specifies a token bucket with operations as tokens
	// contains filtered or unexported fields
}

Message to specify an IO rate limiter with bytes/s and ops/s limits

func (*FirecrackerRateLimiter) Descriptor deprecated

func (*FirecrackerRateLimiter) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerRateLimiter.ProtoReflect.Descriptor instead.

func (*FirecrackerRateLimiter) GetBandwidth

func (*FirecrackerRateLimiter) GetOps

func (*FirecrackerRateLimiter) ProtoMessage

func (*FirecrackerRateLimiter) ProtoMessage()

func (*FirecrackerRateLimiter) ProtoReflect

func (x *FirecrackerRateLimiter) ProtoReflect() protoreflect.Message

func (*FirecrackerRateLimiter) Reset

func (x *FirecrackerRateLimiter) Reset()

func (*FirecrackerRateLimiter) String

func (x *FirecrackerRateLimiter) String() string

type FirecrackerRootDrive

type FirecrackerRootDrive struct {

	// (Required) HostPath is the path on the host to the filesystem image or device
	// that will supply the rootfs of the VM.
	HostPath string `protobuf:"bytes,1,opt,name=HostPath,proto3" json:"HostPath,omitempty"`
	// (Optional) If the HostPath points to a drive or image with multiple
	// partitions, Partuuid specifies which partition will be used to boot
	// the VM
	Partuuid string `protobuf:"bytes,2,opt,name=Partuuid,proto3" json:"Partuuid,omitempty"`
	// (Optional) If set to true, IsWritable results in the VM Guest's rootfs
	// being mounted as read-write. Defaults to false, in which case the
	// rootfs is mounted as read-only.
	IsWritable bool `protobuf:"varint,3,opt,name=IsWritable,proto3" json:"IsWritable,omitempty"`
	// (Optional) RateLimiter configuration that will be applied to the
	// backing-drive for the VM's rootfs
	RateLimiter *FirecrackerRateLimiter `protobuf:"bytes,4,opt,name=RateLimiter,proto3" json:"RateLimiter,omitempty"`
	// (Optional) CacheType specifies the caching strategy for the block device.
	// The supported caching strategies are: "Unsafe"(default) and "Writeback".
	CacheType string `protobuf:"bytes,5,opt,name=CacheType,proto3" json:"CacheType,omitempty"`
	// contains filtered or unexported fields
}

Message to specify the block device config for a Firecracker VM

func (*FirecrackerRootDrive) Descriptor deprecated

func (*FirecrackerRootDrive) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerRootDrive.ProtoReflect.Descriptor instead.

func (*FirecrackerRootDrive) GetCacheType

func (x *FirecrackerRootDrive) GetCacheType() string

func (*FirecrackerRootDrive) GetHostPath

func (x *FirecrackerRootDrive) GetHostPath() string

func (*FirecrackerRootDrive) GetIsWritable

func (x *FirecrackerRootDrive) GetIsWritable() bool

func (*FirecrackerRootDrive) GetPartuuid

func (x *FirecrackerRootDrive) GetPartuuid() string

func (*FirecrackerRootDrive) GetRateLimiter

func (x *FirecrackerRootDrive) GetRateLimiter() *FirecrackerRateLimiter

func (*FirecrackerRootDrive) ProtoMessage

func (*FirecrackerRootDrive) ProtoMessage()

func (*FirecrackerRootDrive) ProtoReflect

func (x *FirecrackerRootDrive) ProtoReflect() protoreflect.Message

func (*FirecrackerRootDrive) Reset

func (x *FirecrackerRootDrive) Reset()

func (*FirecrackerRootDrive) String

func (x *FirecrackerRootDrive) String() string

type FirecrackerTokenBucket

type FirecrackerTokenBucket struct {
	OneTimeBurst int64 `protobuf:"varint,1,opt,name=OneTimeBurst,proto3" json:"OneTimeBurst,omitempty"` // Specifies the initial size of the token bucket
	RefillTime   int64 `protobuf:"varint,2,opt,name=RefillTime,proto3" json:"RefillTime,omitempty"`     // Specifies the amount of millis it takes for the bucket to fill
	Capacity     int64 `protobuf:"varint,3,opt,name=Capacity,proto3" json:"Capacity,omitempty"`         // Specifies the number of tokens this bucket can hold
	// contains filtered or unexported fields
}

Message to specify a token buicket used to rate limit disk and network IO for a Firecracker VM

func (*FirecrackerTokenBucket) Descriptor deprecated

func (*FirecrackerTokenBucket) Descriptor() ([]byte, []int)

Deprecated: Use FirecrackerTokenBucket.ProtoReflect.Descriptor instead.

func (*FirecrackerTokenBucket) GetCapacity

func (x *FirecrackerTokenBucket) GetCapacity() int64

func (*FirecrackerTokenBucket) GetOneTimeBurst

func (x *FirecrackerTokenBucket) GetOneTimeBurst() int64

func (*FirecrackerTokenBucket) GetRefillTime

func (x *FirecrackerTokenBucket) GetRefillTime() int64

func (*FirecrackerTokenBucket) ProtoMessage

func (*FirecrackerTokenBucket) ProtoMessage()

func (*FirecrackerTokenBucket) ProtoReflect

func (x *FirecrackerTokenBucket) ProtoReflect() protoreflect.Message

func (*FirecrackerTokenBucket) Reset

func (x *FirecrackerTokenBucket) Reset()

func (*FirecrackerTokenBucket) String

func (x *FirecrackerTokenBucket) String() string

type GetBalloonConfigRequest

type GetBalloonConfigRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalloonConfigRequest) Descriptor deprecated

func (*GetBalloonConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBalloonConfigRequest.ProtoReflect.Descriptor instead.

func (*GetBalloonConfigRequest) GetVMID

func (x *GetBalloonConfigRequest) GetVMID() string

func (*GetBalloonConfigRequest) ProtoMessage

func (*GetBalloonConfigRequest) ProtoMessage()

func (*GetBalloonConfigRequest) ProtoReflect

func (x *GetBalloonConfigRequest) ProtoReflect() protoreflect.Message

func (*GetBalloonConfigRequest) Reset

func (x *GetBalloonConfigRequest) Reset()

func (*GetBalloonConfigRequest) String

func (x *GetBalloonConfigRequest) String() string

type GetBalloonConfigResponse

type GetBalloonConfigResponse struct {
	BalloonConfig *FirecrackerBalloonDevice `protobuf:"bytes,1,opt,name=BalloonConfig,proto3" json:"BalloonConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalloonConfigResponse) Descriptor deprecated

func (*GetBalloonConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBalloonConfigResponse.ProtoReflect.Descriptor instead.

func (*GetBalloonConfigResponse) GetBalloonConfig

func (x *GetBalloonConfigResponse) GetBalloonConfig() *FirecrackerBalloonDevice

func (*GetBalloonConfigResponse) ProtoMessage

func (*GetBalloonConfigResponse) ProtoMessage()

func (*GetBalloonConfigResponse) ProtoReflect

func (x *GetBalloonConfigResponse) ProtoReflect() protoreflect.Message

func (*GetBalloonConfigResponse) Reset

func (x *GetBalloonConfigResponse) Reset()

func (*GetBalloonConfigResponse) String

func (x *GetBalloonConfigResponse) String() string

type GetBalloonStatsRequest

type GetBalloonStatsRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalloonStatsRequest) Descriptor deprecated

func (*GetBalloonStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBalloonStatsRequest.ProtoReflect.Descriptor instead.

func (*GetBalloonStatsRequest) GetVMID

func (x *GetBalloonStatsRequest) GetVMID() string

func (*GetBalloonStatsRequest) ProtoMessage

func (*GetBalloonStatsRequest) ProtoMessage()

func (*GetBalloonStatsRequest) ProtoReflect

func (x *GetBalloonStatsRequest) ProtoReflect() protoreflect.Message

func (*GetBalloonStatsRequest) Reset

func (x *GetBalloonStatsRequest) Reset()

func (*GetBalloonStatsRequest) String

func (x *GetBalloonStatsRequest) String() string

type GetBalloonStatsResponse

type GetBalloonStatsResponse struct {

	// Actual amount of memory (in MiB) the device is holding.
	ActualMib int64 `protobuf:"varint,1,opt,name=ActualMib,proto3" json:"ActualMib,omitempty"`
	// Actual number of pages the device is holding.
	ActualPages int64 `protobuf:"varint,2,opt,name=ActualPages,proto3" json:"ActualPages,omitempty"`
	// An estimate of how much memory is available (in bytes) for starting new applications, without pushing the system to swap.
	AvailableMemory int64 `protobuf:"varint,3,opt,name=AvailableMemory,proto3" json:"AvailableMemory,omitempty"`
	// The amount of memory, in bytes, that can be quickly reclaimed without additional I/O.
	// Typically these pages are used for caching files from disk.
	DiskCaches int64 `protobuf:"varint,4,opt,name=DiskCaches,proto3" json:"DiskCaches,omitempty"`
	// The amount of memory not being used for any purpose (in bytes).
	FreeMemory int64 `protobuf:"varint,5,opt,name=FreeMemory,proto3" json:"FreeMemory,omitempty"`
	// The number of successful hugetlb page allocations in the guest.
	HugetlbAllocations int64 `protobuf:"varint,6,opt,name=HugetlbAllocations,proto3" json:"HugetlbAllocations,omitempty"`
	// The number of failed hugetlb page allocations in the guest.
	HugetlbFailures int64 `protobuf:"varint,7,opt,name=HugetlbFailures,proto3" json:"HugetlbFailures,omitempty"`
	// The number of major page faults that have occurred.
	MajorFaults int64 `protobuf:"varint,8,opt,name=MajorFaults,proto3" json:"MajorFaults,omitempty"`
	// The number of minor page faults that have occurred.
	MinorFaults int64 `protobuf:"varint,9,opt,name=MinorFaults,proto3" json:"MinorFaults,omitempty"`
	// The amount of memory that has been swapped in (in bytes).
	SwapIn int64 `protobuf:"varint,10,opt,name=SwapIn,proto3" json:"SwapIn,omitempty"`
	// The amount of memory that has been swapped out to disk (in bytes).
	SwapOut int64 `protobuf:"varint,11,opt,name=SwapOut,proto3" json:"SwapOut,omitempty"`
	// Target amount of memory (in MiB) the device aims to hold.
	TargetMib int64 `protobuf:"varint,12,opt,name=TargetMib,proto3" json:"TargetMib,omitempty"`
	// Target number of pages the device aims to hold.
	TargetPages int64 `protobuf:"varint,13,opt,name=TargetPages,proto3" json:"TargetPages,omitempty"`
	// The total amount of memory available (in bytes).
	TotalMemory int64 `protobuf:"varint,14,opt,name=TotalMemory,proto3" json:"TotalMemory,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBalloonStatsResponse) Descriptor deprecated

func (*GetBalloonStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBalloonStatsResponse.ProtoReflect.Descriptor instead.

func (*GetBalloonStatsResponse) GetActualMib

func (x *GetBalloonStatsResponse) GetActualMib() int64

func (*GetBalloonStatsResponse) GetActualPages

func (x *GetBalloonStatsResponse) GetActualPages() int64

func (*GetBalloonStatsResponse) GetAvailableMemory

func (x *GetBalloonStatsResponse) GetAvailableMemory() int64

func (*GetBalloonStatsResponse) GetDiskCaches

func (x *GetBalloonStatsResponse) GetDiskCaches() int64

func (*GetBalloonStatsResponse) GetFreeMemory

func (x *GetBalloonStatsResponse) GetFreeMemory() int64

func (*GetBalloonStatsResponse) GetHugetlbAllocations

func (x *GetBalloonStatsResponse) GetHugetlbAllocations() int64

func (*GetBalloonStatsResponse) GetHugetlbFailures

func (x *GetBalloonStatsResponse) GetHugetlbFailures() int64

func (*GetBalloonStatsResponse) GetMajorFaults

func (x *GetBalloonStatsResponse) GetMajorFaults() int64

func (*GetBalloonStatsResponse) GetMinorFaults

func (x *GetBalloonStatsResponse) GetMinorFaults() int64

func (*GetBalloonStatsResponse) GetSwapIn

func (x *GetBalloonStatsResponse) GetSwapIn() int64

func (*GetBalloonStatsResponse) GetSwapOut

func (x *GetBalloonStatsResponse) GetSwapOut() int64

func (*GetBalloonStatsResponse) GetTargetMib

func (x *GetBalloonStatsResponse) GetTargetMib() int64

func (*GetBalloonStatsResponse) GetTargetPages

func (x *GetBalloonStatsResponse) GetTargetPages() int64

func (*GetBalloonStatsResponse) GetTotalMemory

func (x *GetBalloonStatsResponse) GetTotalMemory() int64

func (*GetBalloonStatsResponse) ProtoMessage

func (*GetBalloonStatsResponse) ProtoMessage()

func (*GetBalloonStatsResponse) ProtoReflect

func (x *GetBalloonStatsResponse) ProtoReflect() protoreflect.Message

func (*GetBalloonStatsResponse) Reset

func (x *GetBalloonStatsResponse) Reset()

func (*GetBalloonStatsResponse) String

func (x *GetBalloonStatsResponse) String() string

type GetVMInfoRequest

type GetVMInfoRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVMInfoRequest) Descriptor deprecated

func (*GetVMInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVMInfoRequest.ProtoReflect.Descriptor instead.

func (*GetVMInfoRequest) GetVMID

func (x *GetVMInfoRequest) GetVMID() string

func (*GetVMInfoRequest) ProtoMessage

func (*GetVMInfoRequest) ProtoMessage()

func (*GetVMInfoRequest) ProtoReflect

func (x *GetVMInfoRequest) ProtoReflect() protoreflect.Message

func (*GetVMInfoRequest) Reset

func (x *GetVMInfoRequest) Reset()

func (*GetVMInfoRequest) String

func (x *GetVMInfoRequest) String() string

type GetVMInfoResponse

type GetVMInfoResponse struct {
	VMID            string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	SocketPath      string `protobuf:"bytes,2,opt,name=SocketPath,proto3" json:"SocketPath,omitempty"`
	LogFifoPath     string `protobuf:"bytes,3,opt,name=LogFifoPath,proto3" json:"LogFifoPath,omitempty"`
	MetricsFifoPath string `protobuf:"bytes,4,opt,name=MetricsFifoPath,proto3" json:"MetricsFifoPath,omitempty"`
	CgroupPath      string `protobuf:"bytes,5,opt,name=CgroupPath,proto3" json:"CgroupPath,omitempty"`
	VSockPath       string `protobuf:"bytes,6,opt,name=VSockPath,proto3" json:"VSockPath,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVMInfoResponse) Descriptor deprecated

func (*GetVMInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVMInfoResponse.ProtoReflect.Descriptor instead.

func (*GetVMInfoResponse) GetCgroupPath

func (x *GetVMInfoResponse) GetCgroupPath() string

func (*GetVMInfoResponse) GetLogFifoPath

func (x *GetVMInfoResponse) GetLogFifoPath() string

func (*GetVMInfoResponse) GetMetricsFifoPath

func (x *GetVMInfoResponse) GetMetricsFifoPath() string

func (*GetVMInfoResponse) GetSocketPath

func (x *GetVMInfoResponse) GetSocketPath() string

func (*GetVMInfoResponse) GetVMID

func (x *GetVMInfoResponse) GetVMID() string

func (*GetVMInfoResponse) GetVSockPath

func (x *GetVMInfoResponse) GetVSockPath() string

func (*GetVMInfoResponse) ProtoMessage

func (*GetVMInfoResponse) ProtoMessage()

func (*GetVMInfoResponse) ProtoReflect

func (x *GetVMInfoResponse) ProtoReflect() protoreflect.Message

func (*GetVMInfoResponse) Reset

func (x *GetVMInfoResponse) Reset()

func (*GetVMInfoResponse) String

func (x *GetVMInfoResponse) String() string

type GetVMMetadataRequest

type GetVMMetadataRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVMMetadataRequest) Descriptor deprecated

func (*GetVMMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVMMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetVMMetadataRequest) GetVMID

func (x *GetVMMetadataRequest) GetVMID() string

func (*GetVMMetadataRequest) ProtoMessage

func (*GetVMMetadataRequest) ProtoMessage()

func (*GetVMMetadataRequest) ProtoReflect

func (x *GetVMMetadataRequest) ProtoReflect() protoreflect.Message

func (*GetVMMetadataRequest) Reset

func (x *GetVMMetadataRequest) Reset()

func (*GetVMMetadataRequest) String

func (x *GetVMMetadataRequest) String() string

type GetVMMetadataResponse

type GetVMMetadataResponse struct {
	Metadata string `protobuf:"bytes,1,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVMMetadataResponse) Descriptor deprecated

func (*GetVMMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetVMMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetVMMetadataResponse) GetMetadata

func (x *GetVMMetadataResponse) GetMetadata() string

func (*GetVMMetadataResponse) ProtoMessage

func (*GetVMMetadataResponse) ProtoMessage()

func (*GetVMMetadataResponse) ProtoReflect

func (x *GetVMMetadataResponse) ProtoReflect() protoreflect.Message

func (*GetVMMetadataResponse) Reset

func (x *GetVMMetadataResponse) Reset()

func (*GetVMMetadataResponse) String

func (x *GetVMMetadataResponse) String() string

type IPConfiguration

type IPConfiguration struct {

	// PrimaryAddr specifies, in CIDR notation, the primary address
	// and subnet that a network interface will be assigned inside
	// the VM.
	PrimaryAddr string `protobuf:"bytes,1,opt,name=PrimaryAddr,proto3" json:"PrimaryAddr,omitempty"`
	// GatewayAddr specifies the default gateway that a network interface
	// should use inside the VM.
	GatewayAddr string `protobuf:"bytes,3,opt,name=GatewayAddr,proto3" json:"GatewayAddr,omitempty"`
	// Nameservers is a list of nameservers that the VM will be configured
	// to use internally. Currently only up to 2 nameservers can be specified
	// (any more in the list will be ignored) and configuration is provided
	// to the VM via /proc/net/pnp.
	Nameservers []string `protobuf:"bytes,4,rep,name=Nameservers,proto3" json:"Nameservers,omitempty"`
	// contains filtered or unexported fields
}

Message to specify static IP configuration that will be applied to a Firecracker VM's network interface internally

func (*IPConfiguration) Descriptor deprecated

func (*IPConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use IPConfiguration.ProtoReflect.Descriptor instead.

func (*IPConfiguration) GetGatewayAddr

func (x *IPConfiguration) GetGatewayAddr() string

func (*IPConfiguration) GetNameservers

func (x *IPConfiguration) GetNameservers() []string

func (*IPConfiguration) GetPrimaryAddr

func (x *IPConfiguration) GetPrimaryAddr() string

func (*IPConfiguration) ProtoMessage

func (*IPConfiguration) ProtoMessage()

func (*IPConfiguration) ProtoReflect

func (x *IPConfiguration) ProtoReflect() protoreflect.Message

func (*IPConfiguration) Reset

func (x *IPConfiguration) Reset()

func (*IPConfiguration) String

func (x *IPConfiguration) String() string

type JailerConfig

type JailerConfig struct {
	NetNS string `protobuf:"bytes,1,opt,name=NetNS,proto3" json:"NetNS,omitempty"`
	// List of the physical numbers of the CPUs on which processes in that
	// cpuset are allowed to execute.  See List Format below for a description
	// of the format of cpus.
	//
	// The CPUs allowed to a cpuset may be changed by writing a new list to its
	// cpus file.
	// Taken from http://man7.org/linux/man-pages/man7/cpuset.7.html
	//
	// This is formatted as specified in the cpuset man page under "List Format"
	// http://man7.org/linux/man-pages/man7/cpuset.7.html
	CPUs string `protobuf:"bytes,2,opt,name=CPUs,proto3" json:"CPUs,omitempty"`
	// List of memory nodes on which processes in this cpuset are allowed to
	// allocate memory.  See List Format below for a description of the format
	// of mems.
	// Taken from http://man7.org/linux/man-pages/man7/cpuset.7.html
	//
	// This is formatted as specified in the cpuset man page under "List Format"
	// http://man7.org/linux/man-pages/man7/cpuset.7.html
	Mems string `protobuf:"bytes,3,opt,name=Mems,proto3" json:"Mems,omitempty"`
	UID  uint32 `protobuf:"varint,4,opt,name=UID,proto3" json:"UID,omitempty"`
	GID  uint32 `protobuf:"varint,5,opt,name=GID,proto3" json:"GID,omitempty"`
	// CgroupPath is used to dictate where the cgroup should be located
	// relative to the cgroup directory which is
	// /sys/fs/cgroup/cpu/<CgroupPath>/<vmID>
	// if no value was provided, then /firecracker-containerd will be used as
	// the default value
	CgroupPath string `protobuf:"bytes,6,opt,name=CgroupPath,proto3" json:"CgroupPath,omitempty"`
	// DriveExposePolicy is used to configure the method to expose drive files.
	DriveExposePolicy DriveExposePolicy `protobuf:"varint,7,opt,name=DriveExposePolicy,proto3,enum=DriveExposePolicy" json:"DriveExposePolicy,omitempty"`
	// contains filtered or unexported fields
}

func (*JailerConfig) Descriptor deprecated

func (*JailerConfig) Descriptor() ([]byte, []int)

Deprecated: Use JailerConfig.ProtoReflect.Descriptor instead.

func (*JailerConfig) GetCPUs

func (x *JailerConfig) GetCPUs() string

func (*JailerConfig) GetCgroupPath

func (x *JailerConfig) GetCgroupPath() string

func (*JailerConfig) GetDriveExposePolicy

func (x *JailerConfig) GetDriveExposePolicy() DriveExposePolicy

func (*JailerConfig) GetGID

func (x *JailerConfig) GetGID() uint32

func (*JailerConfig) GetMems

func (x *JailerConfig) GetMems() string

func (*JailerConfig) GetNetNS

func (x *JailerConfig) GetNetNS() string

func (*JailerConfig) GetUID

func (x *JailerConfig) GetUID() uint32

func (*JailerConfig) ProtoMessage

func (*JailerConfig) ProtoMessage()

func (*JailerConfig) ProtoReflect

func (x *JailerConfig) ProtoReflect() protoreflect.Message

func (*JailerConfig) Reset

func (x *JailerConfig) Reset()

func (*JailerConfig) String

func (x *JailerConfig) String() string

type PauseVMRequest

type PauseVMRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseVMRequest) Descriptor deprecated

func (*PauseVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseVMRequest.ProtoReflect.Descriptor instead.

func (*PauseVMRequest) GetVMID

func (x *PauseVMRequest) GetVMID() string

func (*PauseVMRequest) ProtoMessage

func (*PauseVMRequest) ProtoMessage()

func (*PauseVMRequest) ProtoReflect

func (x *PauseVMRequest) ProtoReflect() protoreflect.Message

func (*PauseVMRequest) Reset

func (x *PauseVMRequest) Reset()

func (*PauseVMRequest) String

func (x *PauseVMRequest) String() string

type ResumeVMRequest

type ResumeVMRequest struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeVMRequest) Descriptor deprecated

func (*ResumeVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeVMRequest.ProtoReflect.Descriptor instead.

func (*ResumeVMRequest) GetVMID

func (x *ResumeVMRequest) GetVMID() string

func (*ResumeVMRequest) ProtoMessage

func (*ResumeVMRequest) ProtoMessage()

func (*ResumeVMRequest) ProtoReflect

func (x *ResumeVMRequest) ProtoReflect() protoreflect.Message

func (*ResumeVMRequest) Reset

func (x *ResumeVMRequest) Reset()

func (*ResumeVMRequest) String

func (x *ResumeVMRequest) String() string

type SetVMMetadataRequest

type SetVMMetadataRequest struct {
	VMID     string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	Metadata string `protobuf:"bytes,2,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVMMetadataRequest) Descriptor deprecated

func (*SetVMMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetVMMetadataRequest.ProtoReflect.Descriptor instead.

func (*SetVMMetadataRequest) GetMetadata

func (x *SetVMMetadataRequest) GetMetadata() string

func (*SetVMMetadataRequest) GetVMID

func (x *SetVMMetadataRequest) GetVMID() string

func (*SetVMMetadataRequest) ProtoMessage

func (*SetVMMetadataRequest) ProtoMessage()

func (*SetVMMetadataRequest) ProtoReflect

func (x *SetVMMetadataRequest) ProtoReflect() protoreflect.Message

func (*SetVMMetadataRequest) Reset

func (x *SetVMMetadataRequest) Reset()

func (*SetVMMetadataRequest) String

func (x *SetVMMetadataRequest) String() string

type StaticNetworkConfiguration

type StaticNetworkConfiguration struct {
	MacAddress  string `protobuf:"bytes,1,opt,name=MacAddress,proto3" json:"MacAddress,omitempty"`   // Specifies the mac address for the the device
	HostDevName string `protobuf:"bytes,2,opt,name=HostDevName,proto3" json:"HostDevName,omitempty"` // Specifies the name of the tap device on the host
	// IPConfig optionally provides static IP configuration that will be configured
	// on the VM's internal networking interface. If not specified, no IP
	// configuration will be applied to the VM's internal nic automatically.
	IPConfig *IPConfiguration `protobuf:"bytes,3,opt,name=IPConfig,proto3" json:"IPConfig,omitempty"`
	// contains filtered or unexported fields
}

Message to specify static configuration parameters for a Firecracker VM's network interface

func (*StaticNetworkConfiguration) Descriptor deprecated

func (*StaticNetworkConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use StaticNetworkConfiguration.ProtoReflect.Descriptor instead.

func (*StaticNetworkConfiguration) GetHostDevName

func (x *StaticNetworkConfiguration) GetHostDevName() string

func (*StaticNetworkConfiguration) GetIPConfig

func (x *StaticNetworkConfiguration) GetIPConfig() *IPConfiguration

func (*StaticNetworkConfiguration) GetMacAddress

func (x *StaticNetworkConfiguration) GetMacAddress() string

func (*StaticNetworkConfiguration) ProtoMessage

func (*StaticNetworkConfiguration) ProtoMessage()

func (*StaticNetworkConfiguration) ProtoReflect

func (*StaticNetworkConfiguration) Reset

func (x *StaticNetworkConfiguration) Reset()

func (*StaticNetworkConfiguration) String

func (x *StaticNetworkConfiguration) String() string

type StopVMRequest

type StopVMRequest struct {
	VMID           string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	TimeoutSeconds uint32 `protobuf:"varint,2,opt,name=TimeoutSeconds,proto3" json:"TimeoutSeconds,omitempty"`
	// contains filtered or unexported fields
}

func (*StopVMRequest) Descriptor deprecated

func (*StopVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopVMRequest.ProtoReflect.Descriptor instead.

func (*StopVMRequest) GetTimeoutSeconds

func (x *StopVMRequest) GetTimeoutSeconds() uint32

func (*StopVMRequest) GetVMID

func (x *StopVMRequest) GetVMID() string

func (*StopVMRequest) ProtoMessage

func (*StopVMRequest) ProtoMessage()

func (*StopVMRequest) ProtoReflect

func (x *StopVMRequest) ProtoReflect() protoreflect.Message

func (*StopVMRequest) Reset

func (x *StopVMRequest) Reset()

func (*StopVMRequest) String

func (x *StopVMRequest) String() string

type UpdateBalloonRequest

type UpdateBalloonRequest struct {
	VMID      string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	AmountMib int64  `protobuf:"varint,2,opt,name=AmountMib,proto3" json:"AmountMib,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBalloonRequest) Descriptor deprecated

func (*UpdateBalloonRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBalloonRequest.ProtoReflect.Descriptor instead.

func (*UpdateBalloonRequest) GetAmountMib

func (x *UpdateBalloonRequest) GetAmountMib() int64

func (*UpdateBalloonRequest) GetVMID

func (x *UpdateBalloonRequest) GetVMID() string

func (*UpdateBalloonRequest) ProtoMessage

func (*UpdateBalloonRequest) ProtoMessage()

func (*UpdateBalloonRequest) ProtoReflect

func (x *UpdateBalloonRequest) ProtoReflect() protoreflect.Message

func (*UpdateBalloonRequest) Reset

func (x *UpdateBalloonRequest) Reset()

func (*UpdateBalloonRequest) String

func (x *UpdateBalloonRequest) String() string

type UpdateBalloonStatsRequest

type UpdateBalloonStatsRequest struct {
	VMID                  string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	StatsPollingIntervals int64  `protobuf:"varint,2,opt,name=StatsPollingIntervals,proto3" json:"StatsPollingIntervals,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBalloonStatsRequest) Descriptor deprecated

func (*UpdateBalloonStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBalloonStatsRequest.ProtoReflect.Descriptor instead.

func (*UpdateBalloonStatsRequest) GetStatsPollingIntervals

func (x *UpdateBalloonStatsRequest) GetStatsPollingIntervals() int64

func (*UpdateBalloonStatsRequest) GetVMID

func (x *UpdateBalloonStatsRequest) GetVMID() string

func (*UpdateBalloonStatsRequest) ProtoMessage

func (*UpdateBalloonStatsRequest) ProtoMessage()

func (*UpdateBalloonStatsRequest) ProtoReflect

func (*UpdateBalloonStatsRequest) Reset

func (x *UpdateBalloonStatsRequest) Reset()

func (*UpdateBalloonStatsRequest) String

func (x *UpdateBalloonStatsRequest) String() string

type UpdateVMMetadataRequest

type UpdateVMMetadataRequest struct {
	VMID     string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	Metadata string `protobuf:"bytes,2,opt,name=Metadata,proto3" json:"Metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateVMMetadataRequest) Descriptor deprecated

func (*UpdateVMMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVMMetadataRequest.ProtoReflect.Descriptor instead.

func (*UpdateVMMetadataRequest) GetMetadata

func (x *UpdateVMMetadataRequest) GetMetadata() string

func (*UpdateVMMetadataRequest) GetVMID

func (x *UpdateVMMetadataRequest) GetVMID() string

func (*UpdateVMMetadataRequest) ProtoMessage

func (*UpdateVMMetadataRequest) ProtoMessage()

func (*UpdateVMMetadataRequest) ProtoReflect

func (x *UpdateVMMetadataRequest) ProtoReflect() protoreflect.Message

func (*UpdateVMMetadataRequest) Reset

func (x *UpdateVMMetadataRequest) Reset()

func (*UpdateVMMetadataRequest) String

func (x *UpdateVMMetadataRequest) String() string

type VMStart

type VMStart struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*VMStart) Descriptor deprecated

func (*VMStart) Descriptor() ([]byte, []int)

Deprecated: Use VMStart.ProtoReflect.Descriptor instead.

func (*VMStart) GetVMID

func (x *VMStart) GetVMID() string

func (*VMStart) ProtoMessage

func (*VMStart) ProtoMessage()

func (*VMStart) ProtoReflect

func (x *VMStart) ProtoReflect() protoreflect.Message

func (*VMStart) Reset

func (x *VMStart) Reset()

func (*VMStart) String

func (x *VMStart) String() string

type VMStop

type VMStop struct {
	VMID string `protobuf:"bytes,1,opt,name=VMID,proto3" json:"VMID,omitempty"`
	// contains filtered or unexported fields
}

func (*VMStop) Descriptor deprecated

func (*VMStop) Descriptor() ([]byte, []int)

Deprecated: Use VMStop.ProtoReflect.Descriptor instead.

func (*VMStop) GetVMID

func (x *VMStop) GetVMID() string

func (*VMStop) ProtoMessage

func (*VMStop) ProtoMessage()

func (*VMStop) ProtoReflect

func (x *VMStop) ProtoReflect() protoreflect.Message

func (*VMStop) Reset

func (x *VMStop) Reset()

func (*VMStop) String

func (x *VMStop) String() string

Directories

Path Synopsis
service
drivemount/ttrpc
Code generated by protoc-gen-go-ttrpc.
Code generated by protoc-gen-go-ttrpc.
fccontrol/ttrpc
Code generated by protoc-gen-go-ttrpc.
Code generated by protoc-gen-go-ttrpc.
ioproxy/ttrpc
Code generated by protoc-gen-go-ttrpc.
Code generated by protoc-gen-go-ttrpc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL