GARSourceConfig#

pydantic model nublado.controller.config.GARSourceConfig#

Configuration for a Google Artifact Registry source.

This is identical to the API model used to return the prepuller configuration to an API client except that camel-case aliases are enabled.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GARSourceConfig",
   "description": "Configuration for a Google Artifact Registry source.\n\nThis is identical to the API model used to return the prepuller\nconfiguration to an API client except that camel-case aliases are enabled.",
   "type": "object",
   "properties": {
      "type": {
         "const": "google",
         "title": "Type of image source",
         "type": "string"
      },
      "location": {
         "description": "This is the same as the hostname of the registry but with the ``-docker.pkg.dev`` suffix removed.",
         "examples": [
            "us-central1"
         ],
         "title": "Region or multiregion of registry",
         "type": "string"
      },
      "projectId": {
         "description": "Google Cloud Platform project ID containing the registry",
         "examples": [
            "ceres-lighthouse-6ab4"
         ],
         "title": "GCP project ID",
         "type": "string"
      },
      "repository": {
         "description": "Google Artifact Registry repository name",
         "examples": [
            "library"
         ],
         "title": "GAR repository",
         "type": "string"
      },
      "image": {
         "description": "Google Artifact Registry image name",
         "examples": [
            "sketchbook"
         ],
         "title": "GAR image name",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "type",
      "location",
      "projectId",
      "repository",
      "image"
   ]
}

Fields:
field image: Annotated[str, Field(title='GAR image name', description='Google Artifact Registry image name', examples=['sketchbook'])] [Required]#

Google Artifact Registry image name

field location: Annotated[str, Field(title='Region or multiregion of registry', description='This is the same as the hostname of the registry but with the -docker.pkg.dev suffix removed.', examples=['us-central1'])] [Required]#

This is the same as the hostname of the registry but with the -docker.pkg.dev suffix removed.

field projectId: Annotated[str, Field(title='GCP project ID', description='Google Cloud Platform project ID containing the registry', examples=['ceres-lighthouse-6ab4'])] [Required] (name 'project_id')#

Google Cloud Platform project ID containing the registry

field repository: Annotated[str, Field(title='GAR repository', description='Google Artifact Registry repository name', examples=['library'])] [Required]#

Google Artifact Registry repository name

field type: Annotated[Literal['google'], Field(title='Type of image source')] [Required]#
property parent: str#

Parent string for searches in Google Artifact Repository.

property path: str#

What everything else calls a repository.

property registry: str#

Hostname holding the registry.