brokkr-models::models::agent_k8s_events
Rust
Persisted kube Events for objects an agent manages.
Short-lived operational buffer with a hard 6-hour retention ceiling
enforced by the broker’s eviction worker (see brokkr-broker).
See [[BROKKR-I-0019]] and project_log_retention_stance.
Structs
Section titled “Structs”struct AgentK8sEvent
Section titled “struct AgentK8sEvent”pub
Derives: Queryable, Selectable, Identifiable, Debug, Clone, Serialize, Deserialize, ToSchema
Fields
Section titled “Fields”| Name | Type | Description |
|---|---|---|
id |
Uuid |
|
agent_id |
Uuid |
|
stack_id |
Uuid |
|
observed_at |
DateTime<Utc> |
|
reason |
String |
|
message |
String |
|
event_type |
String |
|
source |
Option<String> |
|
involved_object |
serde_json::Value |
|
created_at |
DateTime<Utc> |
struct NewAgentK8sEvent
Section titled “struct NewAgentK8sEvent”pub
Derives: Insertable, Debug, Clone, Serialize, Deserialize
Fields
Section titled “Fields”| Name | Type | Description |
|---|---|---|
agent_id |
Uuid |
|
stack_id |
Uuid |
|
observed_at |
DateTime<Utc> |
|
reason |
String |
|
message |
String |
|
event_type |
String |
|
source |
Option<String> |
|
involved_object |
serde_json::Value |