Documentation ¶
Overview ¶
Package schema contains the ent schema definitions for the metadata API.
Index ¶
Constants ¶
const ( // ApplicationPrefix is the prefix for all application IDs owned by metadata-api ApplicationPrefix string = "meta" // MetadataPrefix is the prefix for metadata MetadataPrefix string = ApplicationPrefix + "dat" // AnnotationPrefix is the prefix for all annotations AnnotationPrefix string = ApplicationPrefix + "ano" // AnnotationNamespacePrefix is the prefix for all annotation namespaces AnnotationNamespacePrefix string = ApplicationPrefix + "mns" // StatusPrefix is the prefix for all statuses StatusPrefix string = ApplicationPrefix + "sts" // StatusNamespacePrefix is the prefix for all status namespaces StatusNamespacePrefix string = ApplicationPrefix + "sns" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
Annotation holds the schema definition for the Annotation entity.
func (Annotation) Annotations ¶
func (Annotation) Annotations() []schema.Annotation
Annotations for the Annotation
type AnnotationNamespace ¶
AnnotationNamespace holds the schema definition for the AnnotationNamespace entity.
func (AnnotationNamespace) Annotations ¶
func (AnnotationNamespace) Annotations() []schema.Annotation
Annotations for the Provider
func (AnnotationNamespace) Edges ¶
func (AnnotationNamespace) Edges() []ent.Edge
Edges of the Provider
func (AnnotationNamespace) Fields ¶
func (AnnotationNamespace) Fields() []ent.Field
Fields of the Provider.
func (AnnotationNamespace) Indexes ¶
func (AnnotationNamespace) Indexes() []ent.Index
Indexes of the Provider
func (AnnotationNamespace) Mixin ¶
func (AnnotationNamespace) Mixin() []ent.Mixin
Mixin of the Provider
type Metadata ¶
Metadata holds the schema definition for the Metadata entity.
func (Metadata) Annotations ¶
func (Metadata) Annotations() []schema.Annotation
Annotations for the Metadata
type Status ¶
Status holds the schema definition for the Status entity.
func (Status) Annotations ¶
func (Status) Annotations() []schema.Annotation
Annotations for the Status
type StatusNamespace ¶
StatusNamespace holds the schema definition for the StatusNamespace entity.
func (StatusNamespace) Annotations ¶
func (StatusNamespace) Annotations() []schema.Annotation
Annotations for the Provider
func (StatusNamespace) Indexes ¶
func (StatusNamespace) Indexes() []ent.Index
Indexes of the Provider