Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions internal/resource/component_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type ContainerComponent struct {
Repository string `json:"repository,omitempty"`
RepositoryDescription string `json:"repository_description,omitempty"`
RepositoryName string `json:"repository_name,omitempty"`
ReleaseCategories []ReleaseCategory `json:"release_categories,omitempty" jsonschema:"enum=Generally Available,enum=Beta"`
ShortDescription string `json:"short_description,omitempty"`
SupportPlatforms []string `json:"support_platforms,omitempty"`
Type ContainerComponentType `json:"type,omitempty" jsonschema:"enum=container,enum=operator bundle image"`
Expand Down Expand Up @@ -40,3 +41,10 @@ const (
ContentTypeOperatorBundle ContainerComponentContentType = "Operator Bundle Image"
ContentTypeScratch ContainerComponentContentType = "Scratch Image"
)

type ReleaseCategory string

const (
ReleaseCategoryGA ReleaseCategory = "Generally Available"
ReleaseCategoryBeta ReleaseCategory = "Beta"
)