Created
October 15, 2018 00:13
-
-
Save gavinzhou/1f29262e2221c7b006e2afa4742f5253 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -s localhost:2379/v2/keys/registry/example.com/databases/default | jq . | |
{ | |
"action": "get", | |
"node": { | |
"key": "/registry/example.com/databases/default", | |
"dir": true, | |
"nodes": [ | |
{ | |
"key": "/registry/example.com/databases/default/wordpress", | |
"value": "{\"apiVersion\":\"example.com/v1\",\"kind\":\"Database\",\"metadata\":{\"clusterName\":\"\",\"creationTimestamp\":\"2017-08-09T14:53:40Z\",\"deletionGracePeriodSeconds\":null,\"deletionTimestamp\":null,\"name\":\"wordpress\",\"namespace\":\"default\",\"selfLink\":\"\",\"uid\":\"8837f788-7d12-11e7-9d28-080027390640\"},\"spec\":{\"encoding\":\"unicode\",\"password\":\"secret\",\"user\":\"wp\"}}\n", | |
"modifiedIndex": 670, | |
"createdIndex": 670 | |
} | |
], | |
"modifiedIndex": 670, | |
"createdIndex": 670 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment