tests/testthat/sample_responses/v1.30/config_inspect.R

## version: 1.30
## method: get
## path: /configs/{id}
## code: 200
## response: {"ID":"ktnbjxoalbkvbvedmg1urrz8h","Version":{"Index":11},"CreatedAt":"2016-11-05T01:20:17.327670065Z","UpdatedAt":"2016-11-05T01:20:17.327670065Z","Spec":{"Name":"app-dev.crt","Data":"VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg=="}}
list(
  id = "ktnbjxoalbkvbvedmg1urrz8h",
  version = list(index = 11L),
  created_at = "2016-11-05T01:20:17.327670065Z",
  updated_at = "2016-11-05T01:20:17.327670065Z",
  spec = list(
    name = "app-dev.crt",
    labels = NULL,
    ## NOTE: in the online api docs:
    ## https://docs.docker.com/engine/api/v1.30/#operation/ConfigInspect
    ## the 'data' element is not returned, which is not consistent
    ## with the spec.
    data = "VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg=="))
richfitz/stevedore documentation built on July 22, 2023, 1:13 p.m.