model

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorExport

type CollectorExport struct {
	*dbschema.NgingCollectorExport
}

func NewCollectorExport

func NewCollectorExport(ctx echo.Context) *CollectorExport

func (*CollectorExport) Add

func (c *CollectorExport) Add() (pk interface{}, err error)

func (*CollectorExport) Edit

func (c *CollectorExport) Edit(mw func(db.Result) db.Result, args ...interface{}) error

func (*CollectorExport) Export

func (c *CollectorExport) Export() (int64, error)

type CollectorExportAndGroup

type CollectorExportAndGroup struct {
	*dbschema.NgingCollectorExport
	Group *dbschema.NgingCollectorGroup
}

type CollectorGroup

type CollectorGroup struct {
	*dbschema.NgingCollectorGroup
}

func NewCollectorGroup

func NewCollectorGroup(ctx echo.Context) *CollectorGroup

type CollectorHistory

type CollectorHistory struct {
	*dbschema.NgingCollectorHistory
}

func NewCollectorHistory

func NewCollectorHistory(ctx echo.Context) *CollectorHistory

func (*CollectorHistory) Delete

func (this *CollectorHistory) Delete(mw func(db.Result) db.Result, args ...interface{}) error

func (*CollectorHistory) Positions added in v1.4.7

func (this *CollectorHistory) Positions(mw func(db.Result) db.Result, parentID uint64) ([]dbschema.NgingCollectorHistory, error)

func (*CollectorHistory) Reset

func (c *CollectorHistory) Reset() *CollectorHistory

type CollectorPage

type CollectorPage struct {
	*dbschema.NgingCollectorPage
}

func NewCollectorPage

func NewCollectorPage(ctx echo.Context) *CollectorPage

func (*CollectorPage) FullData

func (c *CollectorPage) FullData() (*exec.Rules, error)

type CollectorPageAndGroup

type CollectorPageAndGroup struct {
	*dbschema.NgingCollectorPage
	Group *dbschema.NgingCollectorGroup `db:"-,relation=id:group_id|gtZero"`
}

type CollectorRule

type CollectorRule struct {
	*dbschema.NgingCollectorRule
}

func NewCollectorRule

func NewCollectorRule(ctx echo.Context) *CollectorRule

Jump to

Keyboard shortcuts

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