types

package
v0.7.13 Latest Latest
Warning

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

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

Documentation

Index

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 added in v0.6.9

type IPFamilyType string

func (IPFamilyType) IsValid added in v0.6.9

func (it IPFamilyType) IsValid() error

func (IPFamilyType) List added in v0.6.9

func (it IPFamilyType) List() []IPFamilyType

func (*IPFamilyType) MarshalJSON added in v0.6.9

func (it *IPFamilyType) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface

func (IPFamilyType) String added in v0.6.9

func (it IPFamilyType) String() string

func (IPFamilyType) StringList added in v0.6.9

func (it IPFamilyType) StringList() []string

func (*IPFamilyType) UnmarshalJSON added in v0.6.9

func (it *IPFamilyType) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface

func (IPFamilyType) ValidOrNil added in v0.6.9

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 added in v0.4.24

type MetricsTimeUnit string

func (MetricsTimeUnit) IsValid added in v0.4.24

func (u MetricsTimeUnit) IsValid() error

func (MetricsTimeUnit) List added in v0.4.24

func (u MetricsTimeUnit) List() []MetricsTimeUnit

func (*MetricsTimeUnit) MarshalJSON added in v0.4.24

func (u *MetricsTimeUnit) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface

func (MetricsTimeUnit) String added in v0.4.24

func (u MetricsTimeUnit) String() string

func (MetricsTimeUnit) StringList added in v0.4.24

func (u MetricsTimeUnit) StringList() []string

func (*MetricsTimeUnit) UnmarshalJSON added in v0.4.24

func (u *MetricsTimeUnit) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface

func (MetricsTimeUnit) ValidOrNil added in v0.4.24

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)

Jump to

Keyboard shortcuts

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