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

     1  package api
     2  
     3  // Build is the structure of the build object.
     4  type Build struct {
     5  	App        string            `json:"app"`
     6  	Created    string            `json:"created"`
     7  	Dockerfile string            `json:"dockerfile,omitempty"`
     8  	Image      string            `json:"image,omitempty"`
     9  	Owner      string            `json:"owner"`
    10  	Procfile   map[string]string `json:"procfile"`
    11  	Sha        string            `json:"sha,omitempty"`
    12  	Updated    string            `json:"updated"`
    13  	UUID       string            `json:"uuid"`
    14  }
    15  
    16  // CreateBuildRequest is the structure of POST /v1/apps/<app id>/builds/.
    17  type CreateBuildRequest struct {
    18  	Image    string            `json:"image"`
    19  	Procfile map[string]string `json:"procfile,omitempty"`
    20  }