Documentation
¶
Index ¶
- func ToUUIDs[K Kind](in []ID[K]) []uuid.UUID
- type AuthID
- type AuthKind
- type ConsumerID
- type ConsumerKind
- type GatewayID
- type GatewayKind
- type ID
- type Kind
- type ModelID
- type ModelKind
- type PolicyID
- type PolicyKind
- type ProviderID
- type ProviderKind
- type RegistryID
- type RegistryKind
- type RoleID
- type RoleKind
- type VaultID
- type VaultKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsumerID ¶
type ConsumerID = ID[ConsumerKind]
type ConsumerKind ¶
type ConsumerKind struct{}
type GatewayID ¶
type GatewayID = ID[GatewayKind]
type GatewayKind ¶
type GatewayKind struct{}
type ID ¶
func (ID[K]) MarshalText ¶
func (ID[K]) UUID ¶
UUID returns the underlying uuid.UUID, for use at infrastructure boundaries (SQL drivers, external clients) that speak raw UUIDs.
func (*ID[K]) UnmarshalText ¶
type Kind ¶
type Kind interface {
GatewayKind | RegistryKind | ConsumerKind | PolicyKind | AuthKind | ProviderKind | ModelKind | VaultKind | RoleKind
}
type PolicyID ¶
type PolicyID = ID[PolicyKind]
type PolicyKind ¶
type PolicyKind struct{}
type ProviderID ¶
type ProviderID = ID[ProviderKind]
type ProviderKind ¶
type ProviderKind struct{}
type RegistryID ¶
type RegistryID = ID[RegistryKind]
type RegistryKind ¶
type RegistryKind struct{}
Click to show internal directories.
Click to hide internal directories.