Documentation ¶
Overview ¶
Package schema contains the ent schema definitions for the load balancer API.
Index ¶
Constants ¶
View Source
const ( // ApplicationPrefix is the prefix for all application IDs owned by load balancer API ApplicationPrefix string = "load" // LoadBalancerPrefix is the prefix for all load balancer IDs LoadBalancerPrefix string = ApplicationPrefix + "bal" // LoadBalancerProviderPrefix is the prefix for all load balancer provider IDs LoadBalancerProviderPrefix string = ApplicationPrefix + "pvd" // OriginPrefix is the prefix for all origin IDs OriginPrefix string = ApplicationPrefix + "ogn" // PortPrefix is the prefix for all port IDs PortPrefix string = ApplicationPrefix + "prt" // PoolPrefix is the prefix for all pool IDs PoolPrefix string = ApplicationPrefix + "pol" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadBalancer ¶
LoadBalancer holds the schema definition for the LoadBalancer entity.
func (LoadBalancer) Annotations ¶
func (LoadBalancer) Annotations() []schema.Annotation
Annotations for the LoadBalancer
func (LoadBalancer) Mixin ¶
func (LoadBalancer) Mixin() []ent.Mixin
Mixin to use for LoadBalancer type
type Origin ¶
Origin holds the schema definition for the Origin entity.
func (Origin) Annotations ¶
func (Origin) Annotations() []schema.Annotation
Annotations for the Origin
type Provider ¶
Provider holds the schema definition for the LoadBalancerProvider entity.
func (Provider) Annotations ¶
func (Provider) Annotations() []schema.Annotation
Annotations for the Provider
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package softdelete adds the soft delete pattern to the ent schemas.
|
Package softdelete adds the soft delete pattern to the ent schemas. |
Package validations contains validation functions for ent fields
|
Package validations contains validation functions for ent fields |
Click to show internal directories.
Click to hide internal directories.