Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FairShareRow ¶
type FairShareRow struct {}
type FairShareWriter ¶
type FairShareWriter struct {
// contains filtered or unexported fields
}
func NewFairShareWriter ¶
func NewFairShareWriter(path string) (*FairShareWriter, error)
func (*FairShareWriter) Close ¶
func (j *FairShareWriter) Close(ctx *armadacontext.Context)
func (*FairShareWriter) Update ¶
func (j *FairShareWriter) Update(result *scheduling.SchedulerResult) error
type JobRunRow ¶
type JobRunRow struct { Queue string `parquet:"name=queue, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"` JobSet string `parquet:"name=job_set, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"` JobId string `parquet:"name=job_id, type=BYTE_ARRAY, convertedtype=UTF8"` RunId string `parquet:"name=run_id, type=BYTE_ARRAY, convertedtype=UTF8"` PriorityClass string `parquet:"name=priority_class, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"` Cpu float64 `parquet:"name=cpu, type=DOUBLE"` Memory float64 `parquet:"name=memory, type=DOUBLE"` Gpu float64 `parquet:"name=gpu, type=DOUBLE"` EphemeralStorage float64 `parquet:"name=ephemeral_storage, type=DOUBLE"` ExitCode int `parquet:"name=exit_code, type=INT32"` State string `parquet:"name=state, type=BYTE_ARRAY, convertedtype=UTF8, encoding=PLAIN_DICTIONARY"` SubmittedTime int64 `parquet:"name=submitted_time, type=INT64"` ScheduledTime int64 `parquet:"name=scheduled_time, type=INT64"` FinishedTime int64 `parquet:"name=finished_time, type=INT64"` }
type JobWriter ¶
type JobWriter struct {
// contains filtered or unexported fields
}
func NewJobWriter ¶
func (*JobWriter) Close ¶
func (j *JobWriter) Close(ctx *armadacontext.Context)
type NullSink ¶
type NullSink struct{}
func (NullSink) Close ¶
func (s NullSink) Close(ctx *armadacontext.Context)
func (NullSink) OnCycleEnd ¶
func (s NullSink) OnCycleEnd(_ *scheduling.SchedulerResult) error
func (NullSink) OnNewStateTransitions ¶
func (s NullSink) OnNewStateTransitions(_ []*model.StateTransition) error
type ParquetSink ¶
type ParquetSink struct {
// contains filtered or unexported fields
}
func NewParquetSink ¶
func NewParquetSink(outputDir string) (*ParquetSink, error)
func (*ParquetSink) Close ¶
func (s *ParquetSink) Close(ctx *armadacontext.Context)
func (*ParquetSink) OnCycleEnd ¶
func (s *ParquetSink) OnCycleEnd(result *scheduling.SchedulerResult) error
func (*ParquetSink) OnNewStateTransitions ¶
func (s *ParquetSink) OnNewStateTransitions(transitions []*model.StateTransition) error
type Sink ¶
type Sink interface { OnNewStateTransitions(transitions []*model.StateTransition) error OnCycleEnd(result *scheduling.SchedulerResult) error Close(ctx *armadacontext.Context) }
Click to show internal directories.
Click to hide internal directories.