Documentation
¶
Overview ¶
Package schema defines the entgo schema types for PeeringDB objects.
Package schema defines the entgo schema types for PeeringDB objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Campus ¶
Campus holds the schema definition for the Campus entity. Maps to the PeeringDB "campus" object type.
func (Campus) Annotations ¶
func (Campus) Annotations() []schema.Annotation
Annotations of the Campus.
type Carrier ¶
Carrier holds the schema definition for the Carrier entity. Maps to the PeeringDB "carrier" object type.
func (Carrier) Annotations ¶
func (Carrier) Annotations() []schema.Annotation
Annotations of the Carrier.
type CarrierFacility ¶
CarrierFacility holds the schema definition for the CarrierFacility entity. Maps to the PeeringDB "carrierfac" object type.
func (CarrierFacility) Annotations ¶
func (CarrierFacility) Annotations() []schema.Annotation
Annotations of the CarrierFacility.
func (CarrierFacility) Edges ¶
func (CarrierFacility) Edges() []ent.Edge
Edges of the CarrierFacility.
func (CarrierFacility) Fields ¶
func (CarrierFacility) Fields() []ent.Field
Fields of the CarrierFacility.
func (CarrierFacility) Hooks ¶
func (CarrierFacility) Hooks() []ent.Hook
Hooks returns CarrierFacility mutation hooks for OTel tracing per D-46.
func (CarrierFacility) Indexes ¶
func (CarrierFacility) Indexes() []ent.Index
Indexes of the CarrierFacility.
type Facility ¶
Facility holds the schema definition for the Facility entity. Maps to the PeeringDB "fac" object type.
func (Facility) Annotations ¶
func (Facility) Annotations() []schema.Annotation
Annotations of the Facility.
type InternetExchange ¶
InternetExchange holds the schema definition for the InternetExchange entity. Maps to the PeeringDB "ix" object type.
func (InternetExchange) Annotations ¶
func (InternetExchange) Annotations() []schema.Annotation
Annotations of the InternetExchange.
func (InternetExchange) Edges ¶
func (InternetExchange) Edges() []ent.Edge
Edges of the InternetExchange.
func (InternetExchange) Fields ¶
func (InternetExchange) Fields() []ent.Field
Fields of the InternetExchange.
func (InternetExchange) Hooks ¶
func (InternetExchange) Hooks() []ent.Hook
Hooks returns InternetExchange mutation hooks for OTel tracing per D-46.
func (InternetExchange) Indexes ¶
func (InternetExchange) Indexes() []ent.Index
Indexes of the InternetExchange.
type IxFacility ¶
IxFacility holds the schema definition for the IxFacility entity. Maps to the PeeringDB "ixfac" object type.
func (IxFacility) Annotations ¶
func (IxFacility) Annotations() []schema.Annotation
Annotations of the IxFacility.
func (IxFacility) Hooks ¶
func (IxFacility) Hooks() []ent.Hook
Hooks returns IxFacility mutation hooks for OTel tracing per D-46.
type IxLan ¶
IxLan holds the schema definition for the IxLan entity. Maps to the PeeringDB "ixlan" object type.
type IxPrefix ¶
IxPrefix holds the schema definition for the IxPrefix entity. Maps to the PeeringDB "ixpfx" object type.
func (IxPrefix) Annotations ¶
func (IxPrefix) Annotations() []schema.Annotation
Annotations of the IxPrefix.
type Network ¶
Network holds the schema definition for the Network entity. Maps to the PeeringDB "net" object type.
func (Network) Annotations ¶
func (Network) Annotations() []schema.Annotation
Annotations of the Network.
type NetworkFacility ¶
NetworkFacility holds the schema definition for the NetworkFacility entity. Maps to the PeeringDB "netfac" object type.
func (NetworkFacility) Annotations ¶
func (NetworkFacility) Annotations() []schema.Annotation
Annotations of the NetworkFacility.
func (NetworkFacility) Edges ¶
func (NetworkFacility) Edges() []ent.Edge
Edges of the NetworkFacility.
func (NetworkFacility) Fields ¶
func (NetworkFacility) Fields() []ent.Field
Fields of the NetworkFacility.
func (NetworkFacility) Hooks ¶
func (NetworkFacility) Hooks() []ent.Hook
Hooks returns NetworkFacility mutation hooks for OTel tracing per D-46.
func (NetworkFacility) Indexes ¶
func (NetworkFacility) Indexes() []ent.Index
Indexes of the NetworkFacility.
type NetworkIxLan ¶
NetworkIxLan holds the schema definition for the NetworkIxLan entity. Maps to the PeeringDB "netixlan" object type.
func (NetworkIxLan) Annotations ¶
func (NetworkIxLan) Annotations() []schema.Annotation
Annotations of the NetworkIxLan.
func (NetworkIxLan) Hooks ¶
func (NetworkIxLan) Hooks() []ent.Hook
Hooks returns NetworkIxLan mutation hooks for OTel tracing per D-46.
func (NetworkIxLan) Indexes ¶
func (NetworkIxLan) Indexes() []ent.Index
Indexes of the NetworkIxLan.
type Organization ¶
Organization holds the schema definition for the Organization entity. Maps to the PeeringDB "org" object type.
func (Organization) Annotations ¶
func (Organization) Annotations() []schema.Annotation
Annotations of the Organization.
func (Organization) Hooks ¶
func (Organization) Hooks() []ent.Hook
Hooks returns Organization's mutation hooks for OTel tracing per D-46.
func (Organization) Indexes ¶
func (Organization) Indexes() []ent.Index
Indexes of the Organization.
type Poc ¶
Poc holds the schema definition for the Poc (Point of Contact) entity. Maps to the PeeringDB "poc" object type.
type SocialMedia ¶
SocialMedia represents a social media link from PeeringDB. Used by Organization, Network, Facility, InternetExchange, Carrier, and Campus schemas.