1
0
mirror of https://github.com/rancher/types.git synced 2025-08-17 12:06:33 +00:00

go generate

This commit is contained in:
Daishan Peng 2018-09-12 15:34:19 -07:00 committed by Craig Jellick
parent 65354f664d
commit a97a598321
2 changed files with 4 additions and 4 deletions

View File

@ -23,13 +23,13 @@ const (
AppFieldNotes = "notes"
AppFieldOwnerReferences = "ownerReferences"
AppFieldProjectID = "projectId"
AppFieldPrune = "prune"
AppFieldRemoved = "removed"
AppFieldState = "state"
AppFieldTargetNamespace = "targetNamespace"
AppFieldTransitioning = "transitioning"
AppFieldTransitioningMessage = "transitioningMessage"
AppFieldUUID = "uuid"
AppFieldValuesYaml = "valuesYaml"
)
type App struct {
@ -51,13 +51,13 @@ type App struct {
Notes string `json:"notes,omitempty" yaml:"notes,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Prune bool `json:"prune,omitempty" yaml:"prune,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`
TargetNamespace string `json:"targetNamespace,omitempty" yaml:"targetNamespace,omitempty"`
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
ValuesYaml string `json:"valuesYaml,omitempty" yaml:"valuesYaml,omitempty"`
}
type AppCollection struct {

View File

@ -8,8 +8,8 @@ const (
AppSpecFieldExternalID = "externalId"
AppSpecFieldFiles = "files"
AppSpecFieldProjectID = "projectId"
AppSpecFieldPrune = "prune"
AppSpecFieldTargetNamespace = "targetNamespace"
AppSpecFieldValuesYaml = "valuesYaml"
)
type AppSpec struct {
@ -19,6 +19,6 @@ type AppSpec struct {
ExternalID string `json:"externalId,omitempty" yaml:"externalId,omitempty"`
Files map[string]string `json:"files,omitempty" yaml:"files,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Prune bool `json:"prune,omitempty" yaml:"prune,omitempty"`
TargetNamespace string `json:"targetNamespace,omitempty" yaml:"targetNamespace,omitempty"`
ValuesYaml string `json:"valuesYaml,omitempty" yaml:"valuesYaml,omitempty"`
}