Documentation
¶
Overview ¶
Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
- Variables
- type Aggregate
- type Count
- type FloatRange
- type Footprints
- type HistoPoint
- type IntRangeOutput
- type JobFilter
- type JobLink
- type JobLinkResultList
- type JobMetricWithName
- type JobResultList
- type JobsStatistics
- type MetricFootprints
- type NodeMetrics
- type OrderByInput
- type PageRequest
- type SortDirectionEnum
- type StringInput
- type TimeRangeOutput
- type User
- type Weights
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAggregate = []Aggregate{ AggregateUser, AggregateProject, AggregateCluster, }
View Source
var AllSortDirectionEnum = []SortDirectionEnum{ SortDirectionEnumDesc, SortDirectionEnumAsc, }
View Source
var AllWeights = []Weights{ WeightsNodeCount, WeightsNodeHours, }
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶
type Aggregate string
func (Aggregate) MarshalGQL ¶
func (*Aggregate) UnmarshalGQL ¶
type FloatRange ¶
type Footprints ¶
type Footprints struct {
Nodehours []schema.Float `json:"nodehours"`
Metrics []*MetricFootprints `json:"metrics"`
}
type HistoPoint ¶
type IntRangeOutput ¶
type JobFilter ¶
type JobFilter struct {
Tags []string `json:"tags"`
JobID *StringInput `json:"jobId"`
ArrayJobID *int `json:"arrayJobId"`
User *StringInput `json:"user"`
Project *StringInput `json:"project"`
JobName *StringInput `json:"jobName"`
Cluster *StringInput `json:"cluster"`
Partition *StringInput `json:"partition"`
Duration *schema.IntRange `json:"duration"`
MinRunningFor *int `json:"minRunningFor"`
NumNodes *schema.IntRange `json:"numNodes"`
NumAccelerators *schema.IntRange `json:"numAccelerators"`
NumHWThreads *schema.IntRange `json:"numHWThreads"`
StartTime *schema.TimeRange `json:"startTime"`
State []schema.JobState `json:"state"`
FlopsAnyAvg *FloatRange `json:"flopsAnyAvg"`
MemBwAvg *FloatRange `json:"memBwAvg"`
LoadAvg *FloatRange `json:"loadAvg"`
MemUsedMax *FloatRange `json:"memUsedMax"`
Exclusive *int `json:"exclusive"`
Node *StringInput `json:"node"`
}
type JobLinkResultList ¶
type JobMetricWithName ¶
type JobMetricWithName struct {
Name string `json:"name"`
Scope schema.MetricScope `json:"scope"`
Metric *schema.JobMetric `json:"metric"`
}
type JobResultList ¶
type JobsStatistics ¶
type JobsStatistics struct {
ID string `json:"id"`
Name string `json:"name"`
TotalJobs int `json:"totalJobs"`
RunningJobs int `json:"runningJobs"`
ShortJobs int `json:"shortJobs"`
TotalWalltime int `json:"totalWalltime"`
TotalNodeHours int `json:"totalNodeHours"`
TotalCoreHours int `json:"totalCoreHours"`
TotalAccHours int `json:"totalAccHours"`
HistDuration []*HistoPoint `json:"histDuration"`
HistNumNodes []*HistoPoint `json:"histNumNodes"`
}
type MetricFootprints ¶
type NodeMetrics ¶
type NodeMetrics struct {
Host string `json:"host"`
SubCluster string `json:"subCluster"`
Metrics []*JobMetricWithName `json:"metrics"`
}
type OrderByInput ¶
type OrderByInput struct {
Field string `json:"field"`
Order SortDirectionEnum `json:"order"`
}
type PageRequest ¶
type SortDirectionEnum ¶
type SortDirectionEnum string
const ( SortDirectionEnumDesc SortDirectionEnum = "DESC" SortDirectionEnumAsc SortDirectionEnum = "ASC" )
func (SortDirectionEnum) IsValid ¶
func (e SortDirectionEnum) IsValid() bool
func (SortDirectionEnum) MarshalGQL ¶
func (e SortDirectionEnum) MarshalGQL(w io.Writer)
func (SortDirectionEnum) String ¶
func (e SortDirectionEnum) String() string
func (*SortDirectionEnum) UnmarshalGQL ¶
func (e *SortDirectionEnum) UnmarshalGQL(v interface{}) error
type StringInput ¶
type TimeRangeOutput ¶
Click to show internal directories.
Click to hide internal directories.