Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
qscheduler
Command qscheduler is the tool to interact with quotascheduler.
|
Command qscheduler is the tool to interact with quotascheduler. |
qscheduler/internal/site
Package site contains site local constants for the qscheduler tool.
|
Package site contains site local constants for the qscheduler tool. |
qslib
|
|
profiler
Package profiler provides entity size and CPU usage profiling for quotascheduler entities.
|
Package profiler provides entity size and CPU usage profiling for quotascheduler entities. |
protos/metrics
Package metrics defines types used for structured logs and metrics of the quotascheduler behavior.
|
Package metrics defines types used for structured logs and metrics of the quotascheduler behavior. |
reconciler
Package reconciler provides a wrapper around a global state scheduler to be used by a per-worker pulling dispatcher.
|
Package reconciler provides a wrapper around a global state scheduler to be used by a per-worker pulling dispatcher. |
scheduler
Package scheduler provides Scheduler, which is an implementation of the quotascheduler algorithm.
|
Package scheduler provides Scheduler, which is an implementation of the quotascheduler algorithm. |
tutils
Package tutils provides convenience functions to convert between proto representations and time.Time / time.Duration representations of times or durations.
|
Package tutils provides convenience functions to convert between proto representations and time.Time / time.Duration representations of times or durations. |
service
|
|
api/qscheduler/v1
Package qscheduler contains service definitions for the qscheduler app.
|
Package qscheduler contains service definitions for the qscheduler app. |
app/config
Package config contains service configuration endpoints and data definition for qscheduler-swarming.
|
Package config contains service configuration endpoints and data definition for qscheduler-swarming. |
app/frontend
Package frontend exposes the primary pRPC API of qscheduler app.
|
Package frontend exposes the primary pRPC API of qscheduler app. |
app/state
Package state provides representations of the state of a quotascheduler app, as well as transformations that run on a state and ways to persist the state, and emits metrics about the state or its transitions.
|
Package state provides representations of the state of a quotascheduler app, as well as transformations that run on a state and ways to persist the state, and emits metrics about the state or its transitions. |
app/state/metrics
Package metrics provides functions to emit ts_mon and bq metrics.
|
Package metrics provides functions to emit ts_mon and bq metrics. |
app/state/nodestore
Package nodestore implements a datastore-backed persistent store of qscheduler state, that shards state over as many entities as necessary to stay under datastore's single-entity size limit, and uses an in-memory cache to avoid unnecessary datastore reads.
|
Package nodestore implements a datastore-backed persistent store of qscheduler state, that shards state over as many entities as necessary to stay under datastore's single-entity size limit, and uses an in-memory cache to avoid unnecessary datastore reads. |
app/state/nodestore/internal/blob
Package blob defines the proto format used by nodestore.
|
Package blob defines the proto format used by nodestore. |
cmd/qscheduler-swarming
Command qscheduler-swarming implements a qscheduler server process for GKE environment.
|
Command qscheduler-swarming implements a qscheduler server process for GKE environment. |
Click to show internal directories.
Click to hide internal directories.