model

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitArgs

type CommitArgs struct {
	ID    int64   `json:"id"`
	Expr  *string `json:"expr"`
	State *string `json:"state"`
}

type CreateJobArgs

type CreateJobArgs struct {
	Expr    string     `json:"expr"`
	Name    string     `json:"name"`
	State   string     `json:"state"`
	Timeout *int       `json:"timeout"`
	StartAt *time.Time `json:"start_at"`
	Meta    *string    `json:"meta"`
	Retries *int       `json:"retries"`
}

type QueryJobsArgs

type QueryJobsArgs struct {
	Limit  int    `json:"limit"`
	Skip   int    `json:"skip"`
	Filter string `json:"filter"`
}

type QueryJobsMetaArgs

type QueryJobsMetaArgs struct {
	Limit     int       `json:"limit"`
	Skip      int       `json:"skip"`
	IsOneShot bool      `json:"isOneShot"`
	Name      *string   `json:"name"`
	From      time.Time `json:"from"`
	To        time.Time `json:"to"`
	Statuses  []string  `json:"statuses"`
	Query     *string   `json:"query"`
}

type SearchJobsByMetaResult

type SearchJobsByMetaResult struct {
	Jobs  []sqlc.TinyJob `json:"jobs"`
	Total int            `json:"total"`
}

type UpdateJobArgs

type UpdateJobArgs struct {
	Expr    *string `json:"expr"`
	State   *string `json:"state"`
	Timeout *int    `json:"timeout"`
}

Jump to

Keyboard shortcuts

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