schema

package
v1.6.3-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	ent.Schema
}

Alert holds the schema definition for the Alert entity.

func (Alert) Edges

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

Edges of the Alert.

func (Alert) Fields

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

Fields of the Alert.

func (Alert) Indexes added in v1.2.1

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

type Bouncer

type Bouncer struct {
	ent.Schema
}

Bouncer holds the schema definition for the Bouncer entity.

func (Bouncer) Edges

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

Edges of the Bouncer.

func (Bouncer) Fields

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

Fields of the Bouncer.

type ConfigItem added in v1.5.0

type ConfigItem struct {
	ent.Schema
}

ConfigItem holds the schema definition for the ConfigItem entity.

func (ConfigItem) Edges added in v1.5.0

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

func (ConfigItem) Fields added in v1.5.0

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

type Decision

type Decision struct {
	ent.Schema
}

Decision holds the schema definition for the Decision entity.

func (Decision) Edges

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

Edges of the Decision.

func (Decision) Fields

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

Fields of the Decision.

func (Decision) Indexes added in v1.3.1

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

type Event

type Event struct {
	ent.Schema
}

Event holds the schema definition for the Event entity.

func (Event) Edges

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

Edges of the Event.

func (Event) Fields

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

Fields of the Event.

func (Event) Indexes added in v1.5.0

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

type ItemState added in v1.6.3

type ItemState struct {
	Name    string `json:"name,omitempty"`
	Status  string `json:"status,omitempty"`
	Version string `json:"version,omitempty"`
}

ItemState is defined here instead of using pkg/models/HubItem to avoid introducing a dependency

type Lock added in v1.6.1

type Lock struct {
	ent.Schema
}

func (Lock) Edges added in v1.6.1

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

func (Lock) Fields added in v1.6.1

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

type Machine

type Machine struct {
	ent.Schema
}

Machine holds the schema definition for the Machine entity.

func (Machine) Edges

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

Edges of the Machine.

func (Machine) Fields

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

Fields of the Machine.

type Meta

type Meta struct {
	ent.Schema
}

Meta holds the schema definition for the Meta entity.

func (Meta) Edges

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

Edges of the Meta.

func (Meta) Fields

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

Fields of the Meta.

func (Meta) Indexes added in v1.5.0

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

type Metric added in v1.6.3

type Metric struct {
	ent.Schema
}

Metric is actually a set of metrics collected by a device (logprocessor, bouncer, etc) at a given time.

func (Metric) Fields added in v1.6.3

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

Jump to

Keyboard shortcuts

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