Documentation ¶
Index ¶
- Constants
- type AddressType
- func (at AddressType) IsValid() error
- func (at AddressType) List() []AddressType
- func (at *AddressType) MarshalJSON() ([]byte, error)
- func (at AddressType) String() string
- func (at AddressType) StringList() []string
- func (at *AddressType) UnmarshalJSON(data []byte) error
- func (at AddressType) ValidOrNil() (*AddressType, error)
- type FloatingIPSource
- func (fip FloatingIPSource) IsValid() error
- func (fip FloatingIPSource) List() []FloatingIPSource
- func (fip *FloatingIPSource) MarshalJSON() ([]byte, error)
- func (fip FloatingIPSource) String() string
- func (fip FloatingIPSource) StringList() []string
- func (fip *FloatingIPSource) UnmarshalJSON(data []byte) error
- func (fip FloatingIPSource) ValidOrNil() (*FloatingIPSource, error)
- type IPFamilyType
- func (it IPFamilyType) IsValid() error
- func (it IPFamilyType) List() []IPFamilyType
- func (it *IPFamilyType) MarshalJSON() ([]byte, error)
- func (it IPFamilyType) String() string
- func (it IPFamilyType) StringList() []string
- func (it *IPFamilyType) UnmarshalJSON(data []byte) error
- func (it IPFamilyType) ValidOrNil() (*IPFamilyType, error)
- type InterfaceType
- func (it InterfaceType) IsValid() error
- func (it InterfaceType) List() []InterfaceType
- func (it *InterfaceType) MarshalJSON() ([]byte, error)
- func (it InterfaceType) String() string
- func (it InterfaceType) StringList() []string
- func (it *InterfaceType) UnmarshalJSON(data []byte) error
- func (it InterfaceType) ValidOrNil() (*InterfaceType, error)
- type MetricsTimeUnit
- func (u MetricsTimeUnit) IsValid() error
- func (u MetricsTimeUnit) List() []MetricsTimeUnit
- func (u *MetricsTimeUnit) MarshalJSON() ([]byte, error)
- func (u MetricsTimeUnit) String() string
- func (u MetricsTimeUnit) StringList() []string
- func (u *MetricsTimeUnit) UnmarshalJSON(data []byte) error
- func (u MetricsTimeUnit) ValidOrNil() (*MetricsTimeUnit, error)
- type VolumeSource
- func (vs VolumeSource) Bootable() bool
- func (vs VolumeSource) IsValid() error
- func (vs VolumeSource) List() []VolumeSource
- func (vs *VolumeSource) MarshalJSON() ([]byte, error)
- func (vs VolumeSource) String() string
- func (vs VolumeSource) StringList() []string
- func (vs *VolumeSource) UnmarshalJSON(data []byte) error
- func (vs VolumeSource) ValidOrNil() (*VolumeSource, error)
Constants ¶
View Source
const ( AddressTypeFixed AddressType = "fixed" AddressTypeFloating AddressType = "floating" NewVolume VolumeSource = "new-volume" ExistingVolume VolumeSource = "existing-volume" Image VolumeSource = "image" Snapshot VolumeSource = "snapshot" NewFloatingIP FloatingIPSource = "new" ExistingFloatingIP FloatingIPSource = "existing" SubnetInterfaceType InterfaceType = "subnet" AnySubnetInterfaceType InterfaceType = "any_subnet" ExternalInterfaceType InterfaceType = "external" ReservedFixedIpType InterfaceType = "reserved_fixed_ip" IPv4IPFamilyType IPFamilyType = "ipv4" IPv6IPFamilyType IPFamilyType = "ipv6" DualStackIPFamilyType IPFamilyType = "dual" HourMetricsTimeUnit MetricsTimeUnit = "hour" DayMetricsTimeUnit MetricsTimeUnit = "day" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressType ¶
type AddressType string
func (AddressType) IsValid ¶
func (at AddressType) IsValid() error
func (AddressType) List ¶
func (at AddressType) List() []AddressType
func (*AddressType) MarshalJSON ¶
func (at *AddressType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface
func (AddressType) String ¶
func (at AddressType) String() string
func (AddressType) StringList ¶
func (at AddressType) StringList() []string
func (*AddressType) UnmarshalJSON ¶
func (at *AddressType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface
func (AddressType) ValidOrNil ¶
func (at AddressType) ValidOrNil() (*AddressType, error)
type FloatingIPSource ¶
type FloatingIPSource string
func (FloatingIPSource) IsValid ¶
func (fip FloatingIPSource) IsValid() error
func (FloatingIPSource) List ¶
func (fip FloatingIPSource) List() []FloatingIPSource
func (*FloatingIPSource) MarshalJSON ¶
func (fip *FloatingIPSource) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface
func (FloatingIPSource) String ¶
func (fip FloatingIPSource) String() string
func (FloatingIPSource) StringList ¶
func (fip FloatingIPSource) StringList() []string
func (*FloatingIPSource) UnmarshalJSON ¶
func (fip *FloatingIPSource) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface
func (FloatingIPSource) ValidOrNil ¶
func (fip FloatingIPSource) ValidOrNil() (*FloatingIPSource, error)
type IPFamilyType ¶
type IPFamilyType string
func (IPFamilyType) IsValid ¶
func (it IPFamilyType) IsValid() error
func (IPFamilyType) List ¶
func (it IPFamilyType) List() []IPFamilyType
func (*IPFamilyType) MarshalJSON ¶
func (it *IPFamilyType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface
func (IPFamilyType) String ¶
func (it IPFamilyType) String() string
func (IPFamilyType) StringList ¶
func (it IPFamilyType) StringList() []string
func (*IPFamilyType) UnmarshalJSON ¶
func (it *IPFamilyType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface
func (IPFamilyType) ValidOrNil ¶
func (it IPFamilyType) ValidOrNil() (*IPFamilyType, error)
type InterfaceType ¶
type InterfaceType string
func (InterfaceType) IsValid ¶
func (it InterfaceType) IsValid() error
func (InterfaceType) List ¶
func (it InterfaceType) List() []InterfaceType
func (*InterfaceType) MarshalJSON ¶
func (it *InterfaceType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface
func (InterfaceType) String ¶
func (it InterfaceType) String() string
func (InterfaceType) StringList ¶
func (it InterfaceType) StringList() []string
func (*InterfaceType) UnmarshalJSON ¶
func (it *InterfaceType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface
func (InterfaceType) ValidOrNil ¶
func (it InterfaceType) ValidOrNil() (*InterfaceType, error)
type MetricsTimeUnit ¶
type MetricsTimeUnit string
func (MetricsTimeUnit) IsValid ¶
func (u MetricsTimeUnit) IsValid() error
func (MetricsTimeUnit) List ¶
func (u MetricsTimeUnit) List() []MetricsTimeUnit
func (*MetricsTimeUnit) MarshalJSON ¶
func (u *MetricsTimeUnit) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface
func (MetricsTimeUnit) String ¶
func (u MetricsTimeUnit) String() string
func (MetricsTimeUnit) StringList ¶
func (u MetricsTimeUnit) StringList() []string
func (*MetricsTimeUnit) UnmarshalJSON ¶
func (u *MetricsTimeUnit) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface
func (MetricsTimeUnit) ValidOrNil ¶
func (u MetricsTimeUnit) ValidOrNil() (*MetricsTimeUnit, error)
type VolumeSource ¶
type VolumeSource string
func (VolumeSource) Bootable ¶
func (vs VolumeSource) Bootable() bool
func (VolumeSource) IsValid ¶
func (vs VolumeSource) IsValid() error
func (VolumeSource) List ¶
func (vs VolumeSource) List() []VolumeSource
func (*VolumeSource) MarshalJSON ¶
func (vs *VolumeSource) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for VolumeSource
func (VolumeSource) String ¶
func (vs VolumeSource) String() string
func (VolumeSource) StringList ¶
func (vs VolumeSource) StringList() []string
func (*VolumeSource) UnmarshalJSON ¶
func (vs *VolumeSource) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for VolumeSource
func (VolumeSource) ValidOrNil ¶
func (vs VolumeSource) ValidOrNil() (*VolumeSource, error)
Click to show internal directories.
Click to hide internal directories.