/
model_applications_application_spec.go
23 lines (22 loc) · 1.71 KB
/
model_applications_application_spec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
// ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.
type ApplicationsApplicationSpec struct {
Source *ApplicationsApplicationSource `json:"source,omitempty"`
Destination *ApplicationsApplicationDestination `json:"destination,omitempty"`
// Project is a reference to the project this application belongs to. The empty string means that application belongs to the 'default' project.
Project string `json:"project,omitempty"`
SyncPolicy *ApplicationsSyncPolicy `json:"syncPolicy,omitempty"`
IgnoreDifferences []ApplicationsResourceIgnoreDifferences `json:"ignoreDifferences,omitempty"`
Info []ApplicationsInfo `json:"info,omitempty"`
// RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.
RevisionHistoryLimit string `json:"revisionHistoryLimit,omitempty"`
}