Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backup ¶
type Backup struct { Watches []Watch `json:"watches"` Filters []Filter `json:"filters"` Connections []FilterConnection `json:"connections"` Values []FilterOutput `json:"values"` }
type ExcpectFailID ¶
type ExcpectFailID uint
type ExpectFail ¶
type ExpectFail struct { ID ExcpectFailID `yaml:"expect_fail_id" json:"expect_fail_id"` WatchID WatchID `yaml:"expect_fail_watch_id" gorm:"index" json:"expect_fail_watch_id"` Name string `yaml:"expect_fail_name" json:"expect_fail_name"` Time time.Time `yaml:"expect_fail_time" json:"expect_fail_time"` }
type Filter ¶
type Filter struct { ID FilterID `form:"filter_id" yaml:"filter_id" json:"filter_id"` WatchID WatchID `form:"filter_watch_id" gorm:"index" yaml:"filter_watch_id" json:"filter_watch_id" binding:"required"` Name string `form:"filter_name" gorm:"index" yaml:"filter_name" json:"filter_name" binding:"required" validate:"min=1"` X int `form:"x" yaml:"x" json:"x" validate:"default=0"` Y int `form:"y" yaml:"y" json:"y" validate:"default=0"` Type FilterType `` /* 161-byte string literal not displayed */ Var1 string `form:"var1" yaml:"var1" json:"var1" binding:"required"` Var2 string `form:"var2" yaml:"var2" json:"var2"` Parents []*Filter `gorm:"-:all"` Children []*Filter `gorm:"-:all"` Results []string `gorm:"-:all"` Logs []string `gorm:"-:all"` CronEntry *cron.Entry `gorm:"-:all"` }
type FilterConnection ¶
type FilterConnection struct { ID FilterConnectionID `form:"filter_connection_id" yaml:"filter_connection_id" json:"filter_connection_id"` WatchID WatchID `form:"connection_watch_id" gorm:"index" yaml:"connection_watch_id" json:"connection_watch_id" binding:"required"` OutputID FilterID `form:"filter_output_id" gorm:"index" yaml:"filter_output_id" json:"filter_output_id" binding:"required"` InputID FilterID `form:"filter_input_id" gorm:"index" yaml:"filter_input_id" json:"filter_input_id" binding:"required"` }
type FilterConnectionID ¶
type FilterConnectionID uint
type FilterOutput ¶
type FilterOutput struct { ID FilterOutputID `yaml:"filter_output_id" json:"filter_output_id"` WatchID WatchID `yaml:"filter_output_watch_id" gorm:"index" json:"filter_output_watch_id"` Name string `yaml:"filter_output_name" json:"filter_output_name"` Value string `yaml:"filter_output_value" json:"filter_output_value"` Time time.Time `yaml:"filter_output_time" json:"filter_output_time"` }
type FilterOutputID ¶
type FilterOutputID uint
type FilterType ¶
type FilterType string
type WatchExport ¶
type WatchExport struct { Filters []Filter `json:"filters"` Connections []FilterConnection `json:"connections"` }
Click to show internal directories.
Click to hide internal directories.