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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
	ID        int64
	Namespace string
	// CategoryType     string
	// CategoryID       int64
	Resource         string
	Type             string
	Pause            bool
	SkipPause        bool
	Close            bool
	IsClosedManually bool
	LastUpdateTime   time.Time
}

Common contains some common properties of a task

type InitConfigs

type InitConfigs struct {
	Dao dao.Storage
}

type Task

type Task struct {
	Common
	Spec   string
	Status string
}

Task is a generic task type, can get specific task from Raw field

Jump to

Keyboard shortcuts

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