schema

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package schema contains the ent schema definitions for the ipam API.

Index

Constants

View Source
const (
	// ApplicationPrefix is the prefix for all application IDs owned by ipam-api
	ApplicationPrefix = "ipam"
	// IPBlockTypePrefix is the prefix for all IP Block Types nodes
	IPBlockTypePrefix = ApplicationPrefix + "ibt"
	// IPBlockPrefix is the prefix for all IP Block nodes
	IPBlockPrefix = ApplicationPrefix + "ibk"
	// IPAddressPrefix is the prefix for all IP Block nodes
	IPAddressPrefix = ApplicationPrefix + "ipa"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAddress

type IPAddress struct {
	ent.Schema
}

IPAddress holds the schema definition for the IPAddress entity.

func (IPAddress) Annotations

func (IPAddress) Annotations() []schema.Annotation

Annotations of the IPAddress

func (IPAddress) Edges

func (IPAddress) Edges() []ent.Edge

Edges of the IPAddress.

func (IPAddress) Fields

func (IPAddress) Fields() []ent.Field

Fields of the IPAddress.

func (IPAddress) Indexes

func (IPAddress) Indexes() []ent.Index

Indexes of the IPAddress.

func (IPAddress) Mixin

func (IPAddress) Mixin() []ent.Mixin

Mixin of the IP Block Type type

type IPBlock

type IPBlock struct {
	ent.Schema
}

IPBlock holds the schema definition for the IPBlock entity.

func (IPBlock) Annotations

func (IPBlock) Annotations() []schema.Annotation

Annotations of the IPBlock

func (IPBlock) Edges

func (IPBlock) Edges() []ent.Edge

Edges of the IPBlock

func (IPBlock) Fields

func (IPBlock) Fields() []ent.Field

Fields of the IPBlock.

func (IPBlock) Indexes

func (IPBlock) Indexes() []ent.Index

Indexes of the IPBlock.

func (IPBlock) Mixin

func (IPBlock) Mixin() []ent.Mixin

Mixin of the IP Block Type type

type IPBlockType

type IPBlockType struct {
	ent.Schema
}

IPBlockType holds the schema definition for the IPBlockType entity.

func (IPBlockType) Annotations

func (IPBlockType) Annotations() []schema.Annotation

Annotations of the IPBlockType

func (IPBlockType) Edges

func (IPBlockType) Edges() []ent.Edge

Edges of the IPBlockType

func (IPBlockType) Fields

func (IPBlockType) Fields() []ent.Field

Fields of the IPBlockType.

func (IPBlockType) Indexes

func (IPBlockType) Indexes() []ent.Index

Indexes of the IPBlockType.

func (IPBlockType) Mixin

func (IPBlockType) Mixin() []ent.Mixin

Mixin of the IP Block Type type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL