probeCloud Run

list_docker_image_tags

List all tags of a container image

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosgcp.artifact.probes
Namelist_docker_image_tags
Returnlist

Usage

JSON

{
  "name": "list-docker-image-tags",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosgcp.artifact.probes",
    "func": "list_docker_image_tags",
    "arguments": {
      "repository": "",
      "package_name": ""
    }
  }
}

YAML

name: list-docker-image-tags
provider:
  arguments:
    package_name: ''
    repository: ''
  func: list_docker_image_tags
  module: chaosgcp.artifact.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
repositorystringYesRepositoryName of the repository
package_namestringYesContainer NameName of the container in the repository

Signature

def list_docker_image_tags(
        repository: str,
        package_name: str,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
    pass