Documentation
¶
Index ¶
- func ValueOf[T Constant[T]]() T
- type AnySubnet
- type Apptemplate
- type Constant
- type Existing
- type ExistingVolume
- type External
- type Fixed
- type Floating
- type IPAddress
- type Image
- type New
- type NewVolume
- type Nfs
- type Port
- type ReservedFixedIP
- type Snapshot
- type Standard
- type Start
- type Subnet
- type Vast
- type VastShareType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Apptemplate ¶
type Apptemplate string // Always "apptemplate"
func (Apptemplate) Default ¶
func (c Apptemplate) Default() Apptemplate
func (Apptemplate) MarshalJSON ¶
func (c Apptemplate) MarshalJSON() ([]byte, error)
type ExistingVolume ¶
type ExistingVolume string // Always "existing-volume"
func (ExistingVolume) Default ¶
func (c ExistingVolume) Default() ExistingVolume
func (ExistingVolume) MarshalJSON ¶
func (c ExistingVolume) MarshalJSON() ([]byte, error)
type ReservedFixedIP ¶
type ReservedFixedIP string // Always "reserved_fixed_ip"
func (ReservedFixedIP) Default ¶
func (c ReservedFixedIP) Default() ReservedFixedIP
func (ReservedFixedIP) MarshalJSON ¶
func (c ReservedFixedIP) MarshalJSON() ([]byte, error)
type Standard ¶ added in v0.6.0
type Standard string // Always "standard"
func (Standard) MarshalJSON ¶ added in v0.6.0
type Vast ¶ added in v0.6.0
type Vast string // Always "vast"
func (Vast) MarshalJSON ¶ added in v0.6.0
type VastShareType ¶
type VastShareType string // Always "vast_share_type"
func (VastShareType) Default ¶
func (c VastShareType) Default() VastShareType
func (VastShareType) MarshalJSON ¶
func (c VastShareType) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.