Operator Package#
association
| String required
package_name
| String required
String parameters
min_length
| 1
max_length
| 100
source
| String required
String parameters
enum
certified-operators | upstream-community-operators | community-operators | redhat-operators | redhat-marketplace
_id
| ObjectID read-only
MongoDB unique _id
creation_date
| DateTime read-only
The date when the entry was created. Value is created automatically on creation.
last_update_date
| DateTime read-only
The date when the entry was last updated.
association_1_source_1
- Fields
association: ASC
source: ASC
- Description
- This index is used to find operator package by association and source.
package_name_1
- Fields
package_name: ASC
- Description
- This index is used to find operator package by package name.
edges.operator_bundle
| List[Operator Bundle]
Edge to related operator bundles.
Parent arguments: [‘package_name’]
Uses GQL query: find_operator_bundles
Example queries
{
get_operator_package(id: "6304c560cbb2b2d2d4053b8e") {
error {
detail
status
}
data {
_id
edges {
operator_bundle {
error {
status
detail
}
data {
_id
}
}
}
}
}
}
{
find_operator_packages(page: 0, page_size: 50, sort_by: [{ field: "creation_date", order: DESC }]) {
error {
detail
status
}
total # omit for better performance
page_size
page
data {
_id
edges {
operator_bundle {
error {
status
detail
}
data {
_id
}
}
}
}
}
}