Skip to main content

Crate planetary_db

Crate planetary_db 

Source
Expand description

Implementation of database support for Planetary.

Modules§

postgres
Implementation of a TES database using PostgreSQL.

Macros§

format_log_message
Formats a log message by including a time stamp.

Structs§

ContainerUsageSample
A single resource usage observation for one container of a task’s pod.
TaskIo
Represents information about a task’s inputs and outputs.
TaskTemplateData
Represents data used for rendering task resource templates.
TerminatedContainer
Represents information about a terminated container.

Enums§

Error
Represents a database error.

Traits§

Database
An abstraction for the planetary database.

Functions§

normalize_cpu_seconds
Returns a finite, non-negative CPU observation with negative zero normalized to zero.

Type Aliases§

DatabaseResult
The result type for database operations.