github.com/naphatkrit/deis@v1.12.3/client/controller/api/keys.go (about) 1 package api 2 3 // Key is the definition of the key object. 4 type Key struct { 5 Created string `json:"created"` 6 ID string `json:"id"` 7 Owner string `json:"owner"` 8 Public string `json:"public"` 9 Updated string `json:"updated"` 10 UUID string `json:"uuid"` 11 } 12 13 // KeyCreateRequest is the definition of POST /v1/keys/. 14 type KeyCreateRequest struct { 15 ID string `json:"id"` 16 Public string `json:"public"` 17 Name string `json:"name,omitempty"` 18 }