github.com/docker/app@v0.9.1-beta3.0.20210611140623-a48f773ab002/internal/inspect/testdata/bundle-json.golden (about)

     1  {
     2    "schemaVersion": "v1.0.0",
     3    "name": "packing",
     4    "version": "0.1.0",
     5    "description": "hello",
     6    "maintainers": [
     7      {
     8        "name": "dev1",
     9        "email": "dev1@example.com"
    10      },
    11      {
    12        "name": "dev2",
    13        "email": "dev2@example.com"
    14      }
    15    ],
    16    "invocationImages": [
    17      {
    18        "imageType": "docker",
    19        "image": "test-image"
    20      }
    21    ],
    22    "images": {
    23      "app-watcher": {
    24        "imageType": "docker",
    25        "image": "watcher",
    26        "description": "watcher"
    27      },
    28      "debug": {
    29        "imageType": "docker",
    30        "image": "busybox:latest",
    31        "description": "busybox:latest"
    32      },
    33      "front": {
    34        "imageType": "docker",
    35        "image": "nginx",
    36        "description": "nginx"
    37      },
    38      "monitor": {
    39        "imageType": "docker",
    40        "image": "busybox:latest",
    41        "description": "busybox:latest"
    42      }
    43    },
    44    "actions": {
    45      "com.docker.app.inspect": {
    46        "stateless": true
    47      },
    48      "com.docker.app.render": {
    49        "stateless": true
    50      },
    51      "io.cnab.status": {},
    52      "io.cnab.status+json": {}
    53    },
    54    "parameters": {
    55      "com.docker.app.args": {
    56        "definition": "com.docker.app.args",
    57        "applyTo": [
    58          "install",
    59          "upgrade"
    60        ],
    61        "destination": {
    62          "path": "/cnab/app/args.json"
    63        }
    64      },
    65      "com.docker.app.inspect-format": {
    66        "definition": "com.docker.app.inspect-format",
    67        "applyTo": [
    68          "com.docker.app.inspect"
    69        ],
    70        "destination": {
    71          "env": "DOCKER_INSPECT_FORMAT"
    72        }
    73      },
    74      "com.docker.app.kubernetes-namespace": {
    75        "definition": "com.docker.app.kubernetes-namespace",
    76        "applyTo": [
    77          "install",
    78          "upgrade",
    79          "uninstall",
    80          "io.cnab.status"
    81        ],
    82        "destination": {
    83          "env": "DOCKER_KUBERNETES_NAMESPACE"
    84        }
    85      },
    86      "com.docker.app.orchestrator": {
    87        "definition": "com.docker.app.orchestrator",
    88        "applyTo": [
    89          "install",
    90          "upgrade",
    91          "uninstall",
    92          "io.cnab.status"
    93        ],
    94        "destination": {
    95          "env": "DOCKER_STACK_ORCHESTRATOR"
    96        }
    97      },
    98      "com.docker.app.render-format": {
    99        "definition": "com.docker.app.render-format",
   100        "applyTo": [
   101          "com.docker.app.render"
   102        ],
   103        "destination": {
   104          "env": "DOCKER_RENDER_FORMAT"
   105        }
   106      },
   107      "com.docker.app.share-registry-creds": {
   108        "definition": "com.docker.app.share-registry-creds",
   109        "destination": {
   110          "env": "DOCKER_SHARE_REGISTRY_CREDS"
   111        }
   112      },
   113      "watcher.cmd": {
   114        "definition": "watcher.cmd",
   115        "destination": {
   116          "env": "docker_param1"
   117        }
   118      }
   119    },
   120    "credentials": {
   121      "com.docker.app.registry-creds": {
   122        "path": "/cnab/app/registry-creds.json"
   123      },
   124      "docker.context": {
   125        "path": "/cnab/app/context.dockercontext"
   126      }
   127    },
   128    "definitions": {
   129      "com.docker.app.args": {
   130        "default": "",
   131        "description": "Arguments that are passed by file to the invocation image",
   132        "title": "Arguments",
   133        "type": "string"
   134      },
   135      "com.docker.app.inspect-format": {
   136        "default": "json",
   137        "description": "Output format for the inspect command",
   138        "enum": [
   139          "json",
   140          "pretty"
   141        ],
   142        "title": "Inspect format",
   143        "type": "string"
   144      },
   145      "com.docker.app.kubernetes-namespace": {
   146        "default": "",
   147        "description": "Namespace in which to deploy",
   148        "title": "Namespace",
   149        "type": "string"
   150      },
   151      "com.docker.app.orchestrator": {
   152        "default": "",
   153        "description": "Orchestrator on which to deploy",
   154        "enum": [
   155          "",
   156          "swarm",
   157          "kubernetes"
   158        ],
   159        "title": "Orchestrator",
   160        "type": "string"
   161      },
   162      "com.docker.app.render-format": {
   163        "default": "yaml",
   164        "description": "Output format for the render command",
   165        "enum": [
   166          "yaml",
   167          "json"
   168        ],
   169        "title": "Render format",
   170        "type": "string"
   171      },
   172      "com.docker.app.share-registry-creds": {
   173        "default": false,
   174        "description": "Share registry credentials with the invocation image",
   175        "title": "Share registry credentials",
   176        "type": "boolean"
   177      },
   178      "watcher.cmd": {
   179        "default": "foo",
   180        "type": "string"
   181      }
   182    }
   183  }