Build represent the process of staging an application package.
| 9 | |
| 10 | // Build represent the process of staging an application package. |
| 11 | type Build struct { |
| 12 | // CreatedAt is the time with zone when the build was created. |
| 13 | CreatedAt string |
| 14 | // DropletGUID is the unique identifier for the resulting droplet from the |
| 15 | // staging process. |
| 16 | DropletGUID string |
| 17 | // Error describes errors during the build process. |
| 18 | Error string |
| 19 | // GUID is the unique build identifier. |
| 20 | GUID string |
| 21 | // PackageGUID is the unique identifier for package that is the input to the |
| 22 | // staging process. |
| 23 | PackageGUID string |
| 24 | // State is the state of the build. |
| 25 | State constant.BuildState |
| 26 | } |
| 27 | |
| 28 | // MarshalJSON converts a Build into a Cloud Controller Application. |
| 29 | func (b Build) MarshalJSON() ([]byte, error) { |
no outgoing calls
no test coverage detected