-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This type is produced on the server side and is a type safe struct that can be encoded to json. It is consumed via the client. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
- Loading branch information
1 parent
7fed7d7
commit f57c265
Showing
3 changed files
with
53 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package types | ||
|
||
// ContainerCreateResponse contains the information returned to a client on the | ||
// creation of a new container. | ||
type ContainerCreateResponse struct { | ||
// ID is the ID of the created container. | ||
ID string `json:"Id"` | ||
|
||
// Warnings are any warnings encountered during the creation of the container. | ||
Warnings []string `json:"Warnings"` | ||
} |