RSPImageFilterPolicy

pydantic model controller.models.domain.imagefilterpolicy.RSPImageFilterPolicy

Configuration for display of RSP images.

Images in the “alias” category are always displayed; images in the “unknown” category are never displayed.

Parameters:

data (Any)

Show JSON schema
{
   "title": "RSPImageFilterPolicy",
   "description": "Configuration for display of RSP images.\n\nImages in the \"alias\" category are always displayed; images in the\n\"unknown\" category are never displayed.",
   "type": "object",
   "properties": {
      "release": {
         "$ref": "#/$defs/ImageFilterPolicy",
         "description": "Policy for releases to display.",
         "title": "Release"
      },
      "weekly": {
         "$ref": "#/$defs/ImageFilterPolicy",
         "description": "Policy for weekly builds to display.",
         "title": "Weekly"
      },
      "daily": {
         "$ref": "#/$defs/ImageFilterPolicy",
         "description": "Policy for daily builds to display.",
         "title": "Daily"
      },
      "releaseCandidate": {
         "$ref": "#/$defs/ImageFilterPolicy",
         "description": "Policy for release candidate builds to display.",
         "title": "Release Candidate"
      },
      "experimental": {
         "$ref": "#/$defs/ImageFilterPolicy",
         "description": "Policy for experimental builds to display.",
         "title": "Experimental"
      }
   },
   "$defs": {
      "ImageFilterPolicy": {
         "additionalProperties": false,
         "description": "Policy for images to display within a given category.\n\nAll specified policies will be applied.  For instance, if the policy\nspecifies both age and cutoff version, then an image will have to be\nnewer than the specified age, and also have a version greater than or\nequal to the cutoff, in order to be displayed.\n\nIf no policies are specified, no filtering will be performed and all\nimages of that category will be displayed.",
         "properties": {
            "number": {
               "anyOf": [
                  {
                     "minimum": 0,
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Number of images to display.",
               "title": "Number"
            },
            "age": {
               "anyOf": [
                  {
                     "format": "duration",
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Maximum age of image to display.",
               "title": "Age"
            },
            "cutoffVersion": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "description": "Minimum version of image to display. This does not apply to unparseable tags or to experimental tags not derived from a parseable tag.",
               "title": "Cutoff Version"
            }
         },
         "title": "ImageFilterPolicy",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Fields:
field daily: Annotated[ImageFilterPolicy] [Optional]

Policy for daily builds to display.

field experimental: Annotated[ImageFilterPolicy] [Optional]

Policy for experimental builds to display.

field release: Annotated[ImageFilterPolicy] [Optional]

Policy for releases to display.

field releaseCandidate: Annotated[ImageFilterPolicy] [Optional] (name 'release_candidate')

Policy for release candidate builds to display.

field weekly: Annotated[ImageFilterPolicy] [Optional]

Policy for weekly builds to display.

policy_for_category(category)
Parameters:

category (RSPImageType)

Return type:

ImageFilterPolicy | None