Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorageID ¶
FileStorageID is a UUID-backed identifier for file storage. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseFileStorageID ¶
func MustParseFileStorageID(s string) FileStorageID
MustParseFileStorageID parses s as a UUID into a FileStorageID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseFileStorageID ¶
func ParseFileStorageID(s string) (FileStorageID, error)
ParseFileStorageID parses s as a UUID into a FileStorageID, returning an error if s is not a valid UUID.
func (FileStorageID) MarshalText ¶
func (v FileStorageID) MarshalText() ([]byte, error)
func (FileStorageID) String ¶
func (v FileStorageID) String() string
func (*FileStorageID) UnmarshalText ¶
func (v *FileStorageID) UnmarshalText(b []byte) error
type FlavorID ¶
FlavorID is a UUID-backed identifier for flavors. The platform addresses flavors by their provider-assigned UUID; it is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseFlavorID ¶
MustParseFlavorID parses s as a UUID into a FlavorID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseFlavorID ¶
ParseFlavorID parses s as a UUID into a FlavorID, returning an error if s is not a valid UUID.
func (FlavorID) MarshalText ¶
func (*FlavorID) UnmarshalText ¶
type IdentityID ¶
IdentityID is a UUID-backed identifier for cloud identities. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseIdentityID ¶
func MustParseIdentityID(s string) IdentityID
MustParseIdentityID parses s as a UUID into an IdentityID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseIdentityID ¶
func ParseIdentityID(s string) (IdentityID, error)
ParseIdentityID parses s as a UUID into an IdentityID, returning an error if s is not a valid UUID.
func (IdentityID) MarshalText ¶
func (v IdentityID) MarshalText() ([]byte, error)
func (IdentityID) String ¶
func (v IdentityID) String() string
func (*IdentityID) UnmarshalText ¶
func (v *IdentityID) UnmarshalText(b []byte) error
type ImageID ¶
ImageID is a UUID-backed identifier for images. The platform addresses images by their provider-assigned UUID; it is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseImageID ¶
MustParseImageID parses s as a UUID into an ImageID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseImageID ¶
ParseImageID parses s as a UUID into an ImageID, returning an error if s is not a valid UUID.
func (ImageID) MarshalText ¶
func (*ImageID) UnmarshalText ¶
type LoadBalancerID ¶
LoadBalancerID is a UUID-backed identifier for load balancers. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseLoadBalancerID ¶
func MustParseLoadBalancerID(s string) LoadBalancerID
MustParseLoadBalancerID parses s as a UUID into a LoadBalancerID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseLoadBalancerID ¶
func ParseLoadBalancerID(s string) (LoadBalancerID, error)
ParseLoadBalancerID parses s as a UUID into a LoadBalancerID, returning an error if s is not a valid UUID.
func (LoadBalancerID) MarshalText ¶
func (v LoadBalancerID) MarshalText() ([]byte, error)
func (LoadBalancerID) String ¶
func (v LoadBalancerID) String() string
func (*LoadBalancerID) UnmarshalText ¶
func (v *LoadBalancerID) UnmarshalText(b []byte) error
type NetworkID ¶
NetworkID is a UUID-backed identifier for networks. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseNetworkID ¶
MustParseNetworkID parses s as a UUID into a NetworkID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseNetworkID ¶
ParseNetworkID parses s as a UUID into a NetworkID, returning an error if s is not a valid UUID.
func (NetworkID) MarshalText ¶
func (*NetworkID) UnmarshalText ¶
type RegionID ¶
RegionID is a UUID-backed identifier for regions. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseRegionID ¶
MustParseRegionID parses s as a UUID into a RegionID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseRegionID ¶
ParseRegionID parses s as a UUID into a RegionID, returning an error if s is not a valid UUID.
func (RegionID) MarshalText ¶
func (*RegionID) UnmarshalText ¶
type SSHCertificateAuthorityID ¶
SSHCertificateAuthorityID is a UUID-backed identifier for SSH certificate authorities. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseSSHCertificateAuthorityID ¶
func MustParseSSHCertificateAuthorityID(s string) SSHCertificateAuthorityID
MustParseSSHCertificateAuthorityID parses s as a UUID into an SSHCertificateAuthorityID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseSSHCertificateAuthorityID ¶
func ParseSSHCertificateAuthorityID(s string) (SSHCertificateAuthorityID, error)
ParseSSHCertificateAuthorityID parses s as a UUID into an SSHCertificateAuthorityID, returning an error if s is not a valid UUID.
func (SSHCertificateAuthorityID) MarshalText ¶
func (v SSHCertificateAuthorityID) MarshalText() ([]byte, error)
func (SSHCertificateAuthorityID) String ¶
func (v SSHCertificateAuthorityID) String() string
func (*SSHCertificateAuthorityID) UnmarshalText ¶
func (v *SSHCertificateAuthorityID) UnmarshalText(b []byte) error
type SecurityGroupID ¶
SecurityGroupID is a UUID-backed identifier for security groups. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseSecurityGroupID ¶
func MustParseSecurityGroupID(s string) SecurityGroupID
MustParseSecurityGroupID parses s as a UUID into a SecurityGroupID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseSecurityGroupID ¶
func ParseSecurityGroupID(s string) (SecurityGroupID, error)
ParseSecurityGroupID parses s as a UUID into a SecurityGroupID, returning an error if s is not a valid UUID.
func (SecurityGroupID) MarshalText ¶
func (v SecurityGroupID) MarshalText() ([]byte, error)
func (SecurityGroupID) String ¶
func (v SecurityGroupID) String() string
func (*SecurityGroupID) UnmarshalText ¶
func (v *SecurityGroupID) UnmarshalText(b []byte) error
type ServerID ¶
ServerID is a UUID-backed identifier for servers. It is a distinct named type so the compiler prevents accidental interchange with any other ID type. UnmarshalText delegates to uuid.UUID, so the oapi-codegen runtime rejects non-UUID path parameter values before any handler is reached.
func MustParseServerID ¶
MustParseServerID parses s as a UUID into a ServerID. Panics if s is not a valid UUID; use only where s is guaranteed valid (e.g. previously validated API path parameters).
func ParseServerID ¶
ParseServerID parses s as a UUID into a ServerID, returning an error if s is not a valid UUID.