Versions in this module Expand all Collapse all v0 v0.6.2 Jan 25, 2024 v0.6.1 Jan 25, 2024 Changes in this version + const CreatedState + const DeletingState + const FailedState + const PendingState + type Capabilities []Capability + func (cp Capabilities) Has(hasCap Capability) bool + type Capability string + const AutoStartCapability + const MetadataServiceCapability + type ContainerImage string + type ContainerVolumeSource struct + Image ContainerImage + type EventEnvelope struct + Event interface{} + ID string + Topic string + type IPAddressCIDR string + func (i IPAddressCIDR) IP() (string, error) + func (i IPAddressCIDR) IsIPv4() (bool, error) + type IfaceType string + const IfaceTypeMacvtap + const IfaceTypeTap + const IfaceTypeUnsupported + type ImageUse string + const ImageUseInitrd + const ImageUseKernel + const ImageUseVolume + type Initrd struct + Filename string + Image ContainerImage + type Kernel struct + AddNetworkConfig bool + CmdLine map[string]string + Filename string + Image ContainerImage + type ListMicroVMQuery map[string]string + type MicroVM struct + ID VMID + Spec MicroVMSpec + Status MicroVMStatus + Version int + type MicroVMSpec struct + AdditionalVolumes Volumes + CreatedAt int64 + DeletedAt int64 + Initrd *Initrd + Kernel Kernel + MemoryInMb int64 + Metadata map[string]string + NetworkInterfaces []NetworkInterface + Provider string + RootVolume Volume + UpdatedAt int64 + VCPU int64 + type MicroVMState string + type MicroVMStatus struct + InitrdMount *Mount + KernelMount *Mount + NetworkInterfaces NetworkInterfaceStatuses + NotBefore int64 + Retry int + State MicroVMState + Volumes VolumeStatuses + type Mount struct + Source string + Type MountType + type MountType string + const MountTypeDev + const MountTypeHostPath + type NetworkInterface struct + AllowMetadataRequests bool + BridgeName string + GuestDeviceName string + GuestMAC string + StaticAddress *StaticAddress + Type IfaceType + type NetworkInterfaceStatus struct + HostDeviceName string + Index int + MACAddress string + type NetworkInterfaceStatuses map[string]*NetworkInterfaceStatus + type StaticAddress struct + Address IPAddressCIDR + Gateway *IPAddressCIDR + Nameservers []string + type VMID struct + func NewVMID(name, namespace, uid string) (*VMID, error) + func NewVMIDForce(name, namespace, uid string) *VMID + func NewVMIDFromString(id string) (*VMID, error) + func (v *VMID) IsEmpty() bool + func (v *VMID) MarshalText() (text []byte, err error) + func (v *VMID) Name() string + func (v *VMID) Namespace() string + func (v *VMID) SetUID(uid string) + func (v *VMID) UID() string + func (v *VMID) UnmarshalText(text []byte) error + func (v VMID) String() string + type Volume struct + ID string + IsReadOnly bool + MountPoint string + PartitionID string + Size int32 + Source VolumeSource + type VolumeSource struct + Container *ContainerVolumeSource + type VolumeStatus struct + Mount Mount + type VolumeStatuses map[string]*VolumeStatus + type Volumes []Volume + func (v Volumes) GetByID(id string) *Volume + func (v Volumes) HasMountableVolumes() bool