github.com/naphatkrit/deis@v1.12.3/client/controller/api/releases.go (about)

     1  package api
     2  
     3  // Release is the definition of the release object.
     4  type Release struct {
     5  	App     string `json:"app"`
     6  	Build   string `json:"build,omitempty"`
     7  	Config  string `json:"config"`
     8  	Created string `json:"created"`
     9  	Owner   string `json:"owner"`
    10  	Summary string `json:"summary"`
    11  	Updated string `json:"updated"`
    12  	UUID    string `json:"uuid"`
    13  	Version int    `json:"version"`
    14  }
    15  
    16  // ReleaseRollback is the defenition of POST /v1/apps/<app id>/releases/.
    17  type ReleaseRollback struct {
    18  	Version int `json:"version"`
    19  }