github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/api/types/container/container_wait.go (about)

     1  package container // import "github.com/demonoid81/moby/api/types/container"
     2  
     3  // ----------------------------------------------------------------------------
     4  // Code generated by `swagger generate operation`. DO NOT EDIT.
     5  //
     6  // See hack/generate-swagger-api.sh
     7  // ----------------------------------------------------------------------------
     8  
     9  // ContainerWaitOKBodyError container waiting error, if any
    10  // swagger:model ContainerWaitOKBodyError
    11  type ContainerWaitOKBodyError struct {
    12  
    13  	// Details of an error
    14  	Message string `json:"Message,omitempty"`
    15  }
    16  
    17  // ContainerWaitOKBody OK response to ContainerWait operation
    18  // swagger:model ContainerWaitOKBody
    19  type ContainerWaitOKBody struct {
    20  
    21  	// error
    22  	// Required: true
    23  	Error *ContainerWaitOKBodyError `json:"Error"`
    24  
    25  	// Exit code of the container
    26  	// Required: true
    27  	StatusCode int64 `json:"StatusCode"`
    28  }