types

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VisibilityPrivate Visibility = "private"
	VisibilityShared  Visibility = "shared"
	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 (*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

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) IsValid

func (v OSType) IsValid() error

func (OSType) List

func (v OSType) List() []OSType

func (*OSType) MarshalJSON

func (v *OSType) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface for OSType

func (OSType) String

func (v OSType) String() string

func (OSType) StringList

func (v OSType) StringList() []string

func (*OSType) UnmarshalJSON

func (v *OSType) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface for OSType

func (OSType) ValidOrNil

func (v OSType) ValidOrNil() (*OSType, error)

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)

Jump to

Keyboard shortcuts

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