github.com/deemoprobe/k8s-first-commit@v0.0.0-20230430165612-a541f1982be3/api/doc/task-schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-03/schema",
     3    "type": "object",
     4    "required": false,
     5    "description": "Task resource. A task corresponds to a colocated group of [Docker containers](http://docker.io).",
     6    "properties": {
     7      "kind": {
     8        "type": "string",
     9        "required": false
    10      },
    11      "id": {
    12        "type": "string",
    13        "required": false
    14      },
    15      "creationTimestamp": {
    16        "type": "string",
    17        "required": false
    18      },
    19      "selfLink": {
    20        "type": "string",
    21        "required": false
    22      },
    23      "desiredState": {
    24        "type": "object",
    25        "required": false,
    26        "description": "The desired configuration of the task",
    27        "properties": {
    28          "manifest": {
    29            "type": "object",
    30            "required": false,
    31            "description": "Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform's container-vm images](https://developers.google.com/compute/docs/containers)"
    32          },
    33          "status": {
    34            "type": "string",
    35            "required": false,
    36            "description": ""
    37          },
    38          "host": {
    39            "type": "string",
    40            "required": false,
    41            "description": ""
    42          },
    43          "hostIP": {
    44            "type": "string",
    45            "required": false,
    46            "description": ""
    47          },
    48          "info": {
    49            "type": "object",
    50            "required": false,
    51            "description": ""
    52          }
    53        }
    54      },
    55      "currentState": {
    56        "type": "object",
    57        "required": false,
    58        "description": "The current configuration and status of the task. Fields in common with desiredState have the same meaning.",
    59        "properties": {
    60          "manifest": {
    61            "type": "object",
    62            "required": false
    63          },
    64          "status": {
    65            "type": "string",
    66            "required": false
    67          },
    68          "host": {
    69            "type": "string",
    70            "required": false
    71          },
    72          "hostIP": {
    73            "type": "string",
    74            "required": false
    75          },
    76          "info": {
    77            "type": "object",
    78            "required": false
    79          }
    80        }
    81      },
    82      "labels": {
    83        "type": "object",
    84        "required": false
    85      }
    86    }
    87  }