types

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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 added in v0.4.29

type HwFirmwareType string

HwFirmwareType specifies the type of firmware with which to boot the guest.

func (HwFirmwareType) IsValid added in v0.4.29

func (v HwFirmwareType) IsValid() error

func (HwFirmwareType) List added in v0.4.29

func (v HwFirmwareType) List() []HwFirmwareType

func (*HwFirmwareType) MarshalJSON added in v0.4.29

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

MarshalJSON - implements Marshaler interface for HwFirmwareType

func (HwFirmwareType) String added in v0.4.29

func (v HwFirmwareType) String() string

func (HwFirmwareType) StringList added in v0.4.29

func (v HwFirmwareType) StringList() []string

func (*HwFirmwareType) UnmarshalJSON added in v0.4.29

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

UnmarshalJSON - implements Unmarshaler interface for HwFirmwareType

func (HwFirmwareType) ValidOrNil added in v0.4.29

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

type HwMachineType added in v0.4.29

type HwMachineType string

HwMachineType virtual chipset type.

func (HwMachineType) IsValid added in v0.4.29

func (v HwMachineType) IsValid() error

func (HwMachineType) List added in v0.4.29

func (v HwMachineType) List() []HwMachineType

func (*HwMachineType) MarshalJSON added in v0.4.29

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

MarshalJSON - implements Marshaler interface for HwMachineType

func (HwMachineType) String added in v0.4.29

func (v HwMachineType) String() string

func (HwMachineType) StringList added in v0.4.29

func (v HwMachineType) StringList() []string

func (*HwMachineType) UnmarshalJSON added in v0.4.29

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

UnmarshalJSON - implements Unmarshaler interface for HwMachineType

func (HwMachineType) ValidOrNil added in v0.4.29

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

type ImageArchitectureType added in v0.6.24

type ImageArchitectureType string

ImageArchitectureType an image architecture type.

func (ImageArchitectureType) IsValid added in v0.6.24

func (v ImageArchitectureType) IsValid() error

func (ImageArchitectureType) List added in v0.6.24

func (*ImageArchitectureType) MarshalJSON added in v0.6.24

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

MarshalJSON - implements Marshaler interface for ImageArchitectureType

func (ImageArchitectureType) String added in v0.6.24

func (v ImageArchitectureType) String() string

func (ImageArchitectureType) StringList added in v0.6.24

func (v ImageArchitectureType) StringList() []string

func (*ImageArchitectureType) UnmarshalJSON added in v0.6.24

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

UnmarshalJSON - implements Unmarshaler interface for ImageArchitectureType

func (ImageArchitectureType) ValidOrNil added in v0.6.24

type ImageSourceType added in v0.4.29

type ImageSourceType string

func (ImageSourceType) IsValid added in v0.4.29

func (v ImageSourceType) IsValid() error

func (ImageSourceType) List added in v0.4.29

func (v ImageSourceType) List() []ImageSourceType

func (*ImageSourceType) MarshalJSON added in v0.4.29

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

MarshalJSON - implements Marshaler interface for ImageSourceType

func (ImageSourceType) String added in v0.4.29

func (v ImageSourceType) String() string

func (ImageSourceType) StringList added in v0.4.29

func (v ImageSourceType) StringList() []string

func (*ImageSourceType) UnmarshalJSON added in v0.4.29

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

UnmarshalJSON - implements Unmarshaler interface for ImageSourceType

func (ImageSourceType) ValidOrNil added in v0.4.29

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

type OSType added in v0.4.29

type OSType string

OSType the operating system installed on the image.

func (OSType) IsValid added in v0.4.29

func (v OSType) IsValid() error

func (OSType) List added in v0.4.29

func (v OSType) List() []OSType

func (*OSType) MarshalJSON added in v0.4.29

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

MarshalJSON - implements Marshaler interface for OSType

func (OSType) String added in v0.4.29

func (v OSType) String() string

func (OSType) StringList added in v0.4.29

func (v OSType) StringList() []string

func (*OSType) UnmarshalJSON added in v0.4.29

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

UnmarshalJSON - implements Unmarshaler interface for OSType

func (OSType) ValidOrNil added in v0.4.29

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

type SshKeyType added in v0.4.29

type SshKeyType string

SshKeyType whether the image supports SSH key or not

func (SshKeyType) IsValid added in v0.4.29

func (v SshKeyType) IsValid() error

func (SshKeyType) List added in v0.4.29

func (v SshKeyType) List() []SshKeyType

func (*SshKeyType) MarshalJSON added in v0.4.29

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

MarshalJSON - implements Marshaler interface for SshKeyType

func (SshKeyType) String added in v0.4.29

func (v SshKeyType) String() string

func (SshKeyType) StringList added in v0.4.29

func (v SshKeyType) StringList() []string

func (*SshKeyType) UnmarshalJSON added in v0.4.29

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

UnmarshalJSON - implements Unmarshaler interface for SshKeyType

func (SshKeyType) ValidOrNil added in v0.4.29

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