types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

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