Author
Gyubong Lee (gbl@lablup.com)
Status
Draft
Created
2026-01-26
Created-Version
26.2.0
Target-Version
26.2.0
Implemented-Version
BEP-1038: ImageV2 GQL Implementation
This document defines the implementation plan for ImageV2GQL types as part of the Strawberry GraphQL migration (BEP-1010). It specifies:
Types to Include - Types that will be implemented
Types to Defer - Types requiring Node connections (implement later)
Note : Enums are directly exposed from existing definitions. Mutations, Filters, and OrderBy types are out of scope for this BEP.
ImageTagEntryGQL - Tag key-value pair
ImageLabelEntryGQL - Label key-value pair
ImageResourceLimitGQL - Resource limit info
ImageIdentityInfoGQL - Identity info (canonical_name, namespace, architecture)
ImageMetadataInfoGQL - Metadata info (tags, labels, digest, size_bytes, status, created_at)
ImageRequirementsInfoGQL - Requirements info (resource_limits, supported_accelerators)
ImagePermissionInfoGQL - Permission info (permissions)
ImageV2GQL - Main image node type
ImageEdgeGQL - Edge type
ImageConnectionV2GQL - Connection type
Types to Defer (Node Connections)
Type/Field
Future Node
Action
ImageV2GQL.registry
ContainerRegistryNode
Return primitive string for now
ImageV2GQL
├── id: NodeID[UUID]
│
├── identity: ImageIdentityInfoGQL # Image identity information
│ ├── canonical_name
│ ├── namespace
│ └── architecture
│
├── metadata: ImageMetadataInfoGQL # Metadata information
│ ├── tags
│ ├── labels
│ ├── digest
│ ├── size_bytes
│ ├── status
│ └── created_at
│
├── requirements: ImageRequirementsInfoGQL # Runtime requirements
│ ├── resource_limits
│ └── supported_accelerators
│
├── permission: ImagePermissionInfoGQL # RBAC permissions
│ └── permissions
│
├── registry_id: UUID # Registry ID (for direct query)
└── registry: ContainerRegistryNode # (deferred)