Documentation ¶
Index ¶
- Constants
- type EndpointType
- func (et EndpointType) IsValid() error
- func (et EndpointType) List() []EndpointType
- func (et *EndpointType) MarshalJSON() ([]byte, error)
- func (et EndpointType) String() string
- func (et EndpointType) StringList() []string
- func (et *EndpointType) UnmarshalJSON(data []byte) error
- func (et EndpointType) ValidOrNil() (*EndpointType, error)
- type KeystoneState
- type RegionState
- func (rs RegionState) IsValid() error
- func (rs RegionState) List() []RegionState
- func (rs *RegionState) MarshalJSON() ([]byte, error)
- func (rs RegionState) String() string
- func (rs RegionState) StringList() []string
- func (rs *RegionState) UnmarshalJSON(data []byte) error
- func (rs RegionState) ValidOrNil() (*RegionState, error)
Constants ¶
View Source
const ( EndpointTypePublic EndpointType = "public" EndpointTypeInternal EndpointType = "internal" EndpointTypeAdmin EndpointType = "admin" RegionStateActive RegionState = "ACTIVE" RegionStateDeleted RegionState = "DELETED" RegionStateDeletionFailed RegionState = "DELETION_FAILED" RegionStateMaintenance RegionState = "MAINTENANCE" RegionStateInactive RegionState = "INACTIVE" RegionStateDeleting RegionState = "DELETING" RegionStateNew RegionState = "NEW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointType ¶
type EndpointType string
func (EndpointType) IsValid ¶
func (et EndpointType) IsValid() error
func (EndpointType) List ¶
func (et EndpointType) List() []EndpointType
func (*EndpointType) MarshalJSON ¶
func (et *EndpointType) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for EndpointType
func (EndpointType) String ¶
func (et EndpointType) String() string
func (EndpointType) StringList ¶
func (et EndpointType) StringList() []string
func (*EndpointType) UnmarshalJSON ¶
func (et *EndpointType) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for EndpointType
func (EndpointType) ValidOrNil ¶
func (et EndpointType) ValidOrNil() (*EndpointType, error)
type KeystoneState ¶
type KeystoneState string
type RegionState ¶
type RegionState string
func (RegionState) IsValid ¶
func (rs RegionState) IsValid() error
func (RegionState) List ¶
func (rs RegionState) List() []RegionState
func (*RegionState) MarshalJSON ¶
func (rs *RegionState) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for RegionState
func (RegionState) String ¶
func (rs RegionState) String() string
func (RegionState) StringList ¶
func (rs RegionState) StringList() []string
func (*RegionState) UnmarshalJSON ¶
func (rs *RegionState) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for RegionState
func (RegionState) ValidOrNil ¶
func (rs RegionState) ValidOrNil() (*RegionState, error)
Click to show internal directories.
Click to hide internal directories.