types

package
v0.0.0-...-5a2029e Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldID        = Field("id")
	FieldNameSpace = Field("namespace")
	FieldResource  = Field("resource")
	FieldType      = Field("task_type")
	FieldStatus    = Field("status")
	FieldIsPaused  = Field("is_paused")
	FieldIsClosed  = Field("is_closed")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field string

type Task

type Task struct {
	ID               int64     `db:"id"`
	NameSpace        string    `db:"namespace"`
	Resource         string    `db:"resource"`
	Type             string    `db:"task_type"`
	Spec             string    `db:"spec"`
	Status           string    `db:"status"`
	IsCanceled       bool      `db:"is_canceled"`
	IsSkipPaused     bool      `db:"is_skip_paused"`
	IsUrgentSkipped  bool      `db:"is_urgent_skipped"`
	IsClosed         bool      `db:"is_closed"`
	IsPaused         bool      `db:"is_paused"`
	IsClosedManually bool      `db:"is_closed_manually"`
	OpUser           string    `db:"op_user"`
	CreateTime       time.Time `db:"create_time"`
	LastUpdateTime   time.Time `db:"last_update_time"`
}

type Value

type Value interface{}

Jump to

Keyboard shortcuts

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