Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedJobProvider ¶ added in v0.3.24
type CompletedJobProvider struct {
ExecutionStore store.ExecutionStore
}
func NewCompletedJobs ¶ added in v0.3.24
func NewCompletedJobs(e store.ExecutionStore) *CompletedJobProvider
func (*CompletedJobProvider) GetDebugInfo ¶ added in v0.3.24
GetDebugInfo implements model.DebugInfoProvider
type LoggingSensor ¶
type LoggingSensor struct {
// contains filtered or unexported fields
}
LoggingSensor is a sensor that periodically logs the debug info
func NewLoggingSensor ¶
func NewLoggingSensor(params LoggingSensorParams) *LoggingSensor
NewLoggingSensor create a new LoggingSensor from LoggingSensorParams
func (LoggingSensor) Start ¶
func (s LoggingSensor) Start(ctx context.Context)
type LoggingSensorParams ¶
type LoggingSensorParams struct { InfoProvider models.DebugInfoProvider Interval time.Duration }
type RunningExecutionsInfoProvider ¶
type RunningExecutionsInfoProvider struct {
// contains filtered or unexported fields
}
RunningExecutionsInfoProvider provides DebugInfo about the currently running executions. The info can be used for logging, metric, or to handle /debug API implementation.
func NewRunningExecutionsInfoProvider ¶
func NewRunningExecutionsInfoProvider(params RunningExecutionsInfoProviderParams) *RunningExecutionsInfoProvider
func (RunningExecutionsInfoProvider) GetDebugInfo ¶
type RunningExecutionsInfoProviderParams ¶
type RunningExecutionsInfoProviderParams struct { Name string BackendBuffer *compute.ExecutorBuffer }
Click to show internal directories.
Click to hide internal directories.