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 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" 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 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 ¶ added in v0.1.4
type SSHKeyType string
SSHKeyType whether the image supports SSH key or not.
func (SSHKeyType) IsValid ¶ added in v0.1.4
func (v SSHKeyType) IsValid() error
func (SSHKeyType) List ¶ added in v0.1.4
func (v SSHKeyType) List() []SSHKeyType
func (*SSHKeyType) MarshalJSON ¶ added in v0.1.4
func (v *SSHKeyType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for SSHKeyType.
func (SSHKeyType) String ¶ added in v0.1.4
func (v SSHKeyType) String() string
func (SSHKeyType) StringList ¶ added in v0.1.4
func (v SSHKeyType) StringList() []string
func (*SSHKeyType) UnmarshalJSON ¶ added in v0.1.4
func (v *SSHKeyType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for SSHKeyType.
func (SSHKeyType) ValidOrNil ¶ added in v0.1.4
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)