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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
func ParseServerID ¶
ParseServerID parses s as a UUID into a ServerID, returning an error if s is not a valid UUID.
func (ServerID) MarshalText ¶
func (*ServerID) UnmarshalText ¶
type VolumeID ¶ added in v1.19.0
VolumeID is a UUID-backed identifier for block storage volumes. 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.
+kubebuilder:validation:Type=string +kubebuilder:validation:Format=uuid
func ParseVolumeID ¶ added in v1.19.0
ParseVolumeID parses s as a UUID into a VolumeID, returning an error if s is not a valid UUID.