Skip to content

Add more built-in output schemas for common operations #76

@initcron

Description

@initcron

Overview

Currently we have 4 built-in output schemas:

  • container-list - Docker/K8s container listings
  • resource-stats - Resource usage statistics
  • simple-list - Simple string lists
  • key-value - Key-value data

Proposed Additional Schemas

Docker/Container Operations

  • docker-images - Docker image listings with size, tags, created date
  • docker-networks - Docker network information
  • docker-volumes - Docker volume listings

Kubernetes Operations

  • k8s-pods - Pod listings with status, restarts, age
  • k8s-services - Service listings with type, cluster-IP, ports
  • k8s-deployments - Deployment status with replicas
  • k8s-nodes - Node information with capacity and conditions

System Operations

  • process-list - Running processes with CPU, memory, PID
  • file-list - File/directory listings with size, permissions, date
  • disk-usage - Disk space usage by mount point

Cloud Operations

  • aws-instances - EC2 instance listings
  • aws-s3-buckets - S3 bucket listings
  • gcp-instances - GCP VM instances
  • azure-vms - Azure VM listings

Database Operations

  • db-tables - Database table listings
  • db-query-results - Query result sets

Log/Event Operations

  • log-entries - Structured log entries with timestamp, level, message
  • event-timeline - Timeline of events

Implementation

Each schema should:

  1. Be added to crates/aof-core/src/schema.rs in the schemas module
  2. Have appropriate FormatHint (Table, List, etc.)
  3. Include description and validation
  4. Be documented with examples

Related

  • Structured I/O feature recently implemented
  • Location: crates/aof-core/src/schema.rs:208-322

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions