Documentation ¶
Index ¶
- Constants
- type HwFirmwareType
- func (v HwFirmwareType) IsValid() error
- func (v HwFirmwareType) List() []HwFirmwareType
- func (v *HwFirmwareType) MarshalJSON() ([]byte, error)
- func (v HwFirmwareType) String() string
- func (v HwFirmwareType) StringList() []string
- func (v *HwFirmwareType) UnmarshalJSON(data []byte) error
- func (v HwFirmwareType) ValidOrNil() (*HwFirmwareType, error)
- type HwMachineType
- func (v HwMachineType) IsValid() error
- func (v HwMachineType) List() []HwMachineType
- func (v *HwMachineType) MarshalJSON() ([]byte, error)
- func (v HwMachineType) String() string
- func (v HwMachineType) StringList() []string
- func (v *HwMachineType) UnmarshalJSON(data []byte) error
- func (v HwMachineType) ValidOrNil() (*HwMachineType, error)
- type ImageArchitectureType
- func (v ImageArchitectureType) IsValid() error
- func (v ImageArchitectureType) List() []ImageArchitectureType
- func (v *ImageArchitectureType) MarshalJSON() ([]byte, error)
- func (v ImageArchitectureType) String() string
- func (v ImageArchitectureType) StringList() []string
- func (v *ImageArchitectureType) UnmarshalJSON(data []byte) error
- func (v ImageArchitectureType) ValidOrNil() (*ImageArchitectureType, error)
- type ImageSourceType
- func (v ImageSourceType) IsValid() error
- func (v ImageSourceType) List() []ImageSourceType
- func (v *ImageSourceType) MarshalJSON() ([]byte, error)
- func (v ImageSourceType) String() string
- func (v ImageSourceType) StringList() []string
- func (v *ImageSourceType) UnmarshalJSON(data []byte) error
- func (v ImageSourceType) ValidOrNil() (*ImageSourceType, error)
- type OSType
- type SshKeyType
- func (v SshKeyType) IsValid() error
- func (v SshKeyType) List() []SshKeyType
- func (v *SshKeyType) MarshalJSON() ([]byte, error)
- func (v SshKeyType) String() string
- func (v SshKeyType) StringList() []string
- func (v *SshKeyType) UnmarshalJSON(data []byte) error
- func (v SshKeyType) ValidOrNil() (*SshKeyType, error)
- type Visibility
- func (v Visibility) IsValid() error
- func (v Visibility) List() []Visibility
- func (v *Visibility) MarshalJSON() ([]byte, error)
- func (v Visibility) String() string
- func (v Visibility) StringList() []string
- func (v *Visibility) UnmarshalJSON(data []byte) error
- func (v Visibility) ValidOrNil() (*Visibility, error)
Constants ¶
const ( VisibilityPrivate Visibility = "private" VisibilityPublic Visibility = "public" HwMachineI440 HwMachineType = "i440" HwMachineQ35 HwMachineType = "q35" ArchitectureAarch64 ImageArchitectureType = "aarch64" ArchitectureX8664 ImageArchitectureType = "x86_64" SshKeyAllow SshKeyType = "allow" SshKeyDeny SshKeyType = "deny" SshKeyRequired SshKeyType = "required" OsLinux OSType = "linux" OsWindows OSType = "windows" HwFirmwareBIOS HwFirmwareType = "bios" HwFirmwareUEFI HwFirmwareType = "uefi" ImageSourceVolume ImageSourceType = "volume" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HwFirmwareType ¶
type HwFirmwareType string
HwFirmwareType specifies the type of firmware with which to boot the guest.
func (HwFirmwareType) IsValid ¶
func (v HwFirmwareType) IsValid() error
func (HwFirmwareType) List ¶
func (v HwFirmwareType) List() []HwFirmwareType
func (*HwFirmwareType) MarshalJSON ¶
func (v *HwFirmwareType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for HwFirmwareType
func (HwFirmwareType) String ¶
func (v HwFirmwareType) String() string
func (HwFirmwareType) StringList ¶
func (v HwFirmwareType) StringList() []string
func (*HwFirmwareType) UnmarshalJSON ¶
func (v *HwFirmwareType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for HwFirmwareType
func (HwFirmwareType) ValidOrNil ¶
func (v HwFirmwareType) ValidOrNil() (*HwFirmwareType, error)
type HwMachineType ¶
type HwMachineType string
HwMachineType virtual chipset type.
func (HwMachineType) IsValid ¶
func (v HwMachineType) IsValid() error
func (HwMachineType) List ¶
func (v HwMachineType) List() []HwMachineType
func (*HwMachineType) MarshalJSON ¶
func (v *HwMachineType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for HwMachineType
func (HwMachineType) String ¶
func (v HwMachineType) String() string
func (HwMachineType) StringList ¶
func (v HwMachineType) StringList() []string
func (*HwMachineType) UnmarshalJSON ¶
func (v *HwMachineType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for HwMachineType
func (HwMachineType) ValidOrNil ¶
func (v HwMachineType) ValidOrNil() (*HwMachineType, error)
type ImageArchitectureType ¶
type ImageArchitectureType string
ImageArchitectureType an image architecture type.
func (ImageArchitectureType) IsValid ¶
func (v ImageArchitectureType) IsValid() error
func (ImageArchitectureType) List ¶
func (v ImageArchitectureType) List() []ImageArchitectureType
func (*ImageArchitectureType) MarshalJSON ¶
func (v *ImageArchitectureType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for ImageArchitectureType
func (ImageArchitectureType) String ¶
func (v ImageArchitectureType) String() string
func (ImageArchitectureType) StringList ¶
func (v ImageArchitectureType) StringList() []string
func (*ImageArchitectureType) UnmarshalJSON ¶
func (v *ImageArchitectureType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for ImageArchitectureType
func (ImageArchitectureType) ValidOrNil ¶
func (v ImageArchitectureType) ValidOrNil() (*ImageArchitectureType, error)
type ImageSourceType ¶
type ImageSourceType string
func (ImageSourceType) IsValid ¶
func (v ImageSourceType) IsValid() error
func (ImageSourceType) List ¶
func (v ImageSourceType) List() []ImageSourceType
func (*ImageSourceType) MarshalJSON ¶
func (v *ImageSourceType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for ImageSourceType
func (ImageSourceType) String ¶
func (v ImageSourceType) String() string
func (ImageSourceType) StringList ¶
func (v ImageSourceType) StringList() []string
func (*ImageSourceType) UnmarshalJSON ¶
func (v *ImageSourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for ImageSourceType
func (ImageSourceType) ValidOrNil ¶
func (v ImageSourceType) ValidOrNil() (*ImageSourceType, error)
type OSType ¶
type OSType string
OSType the operating system installed on the image.
func (*OSType) MarshalJSON ¶
MarshalJSON - implements Marshaler interface for OSType
func (OSType) StringList ¶
func (*OSType) UnmarshalJSON ¶
UnmarshalJSON - implements Unmarshaler interface for OSType
func (OSType) ValidOrNil ¶
type SshKeyType ¶
type SshKeyType string
SshKeyType whether the image supports SSH key or not
func (SshKeyType) IsValid ¶
func (v SshKeyType) IsValid() error
func (SshKeyType) List ¶
func (v SshKeyType) List() []SshKeyType
func (*SshKeyType) MarshalJSON ¶
func (v *SshKeyType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for SshKeyType
func (SshKeyType) String ¶
func (v SshKeyType) String() string
func (SshKeyType) StringList ¶
func (v SshKeyType) StringList() []string
func (*SshKeyType) UnmarshalJSON ¶
func (v *SshKeyType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for SshKeyType
func (SshKeyType) ValidOrNil ¶
func (v SshKeyType) ValidOrNil() (*SshKeyType, error)
type Visibility ¶
type Visibility string
func (Visibility) IsValid ¶
func (v Visibility) IsValid() error
func (Visibility) List ¶
func (v Visibility) List() []Visibility
func (*Visibility) MarshalJSON ¶
func (v *Visibility) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for Visibility
func (Visibility) String ¶
func (v Visibility) String() string
func (Visibility) StringList ¶
func (v Visibility) StringList() []string
func (*Visibility) UnmarshalJSON ¶
func (v *Visibility) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for Visibility
func (Visibility) ValidOrNil ¶
func (v Visibility) ValidOrNil() (*Visibility, error)