model

package
v0.3.98 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MatchExact                = "exact"
	MatchAnyOf                = "anyOf"
	MatchStartsWith           = "startsWith"
	MatchContains             = "contains"
	MatchGreaterThan          = "greaterThan"
	MatchLessThan             = "lessThan"
	MatchGreaterThanOrEqualTo = "greaterThanOrEqualTo"
	MatchLessThanOrEqualTo    = "lessThanOrEqualTo"
	MatchExists               = "exists"

	DirectionAsc  = "ASC"
	DirectionDesc = "DESC"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Field        string
	Match        string
	Value        interface{}
	IsAnnotation bool
}

type GroupedField added in v0.3.70

type GroupedField struct {
	Field        string
	IsAnnotation bool
}

type Job

type Job struct {
	Annotations        map[string]string
	Cancelled          *time.Time
	Cpu                int64
	Duplicate          bool
	EphemeralStorage   int64
	Gpu                int64
	JobId              string
	JobSet             string
	LastActiveRunId    *string
	LastTransitionTime time.Time
	Memory             int64
	Owner              string
	Priority           int64
	PriorityClass      *string
	Queue              string
	Runs               []*Run
	State              string
	Submitted          time.Time
	CancelReason       *string
}

type JobGroup

type JobGroup struct {
	Aggregates map[string]interface{}
	Count      int64
	Name       string
}

type Order

type Order struct {
	Direction string
	Field     string
}

type Run

type Run struct {
	Cluster     string
	ExitCode    *int32
	Finished    *time.Time
	JobRunState string
	Node        *string
	Leased      *time.Time
	Pending     *time.Time
	RunId       string
	Started     *time.Time
}

Jump to

Keyboard shortcuts

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