mirror of
https://github.com/rancher/types.git
synced 2025-09-17 23:38:20 +00:00
@@ -27,6 +27,7 @@ type CatalogSpec struct {
|
||||
CatalogKind string `json:"catalogKind,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty" norman:"type=password"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" norman:"noupdate"`
|
||||
}
|
||||
|
||||
type CatalogStatus struct {
|
||||
@@ -114,6 +115,7 @@ type TemplateSpec struct {
|
||||
}
|
||||
|
||||
type TemplateStatus struct {
|
||||
HelmVersion string `json:"helmVersion,omitempty" norman:"noupdate,nocreate"`
|
||||
}
|
||||
|
||||
type TemplateVersion struct {
|
||||
@@ -165,6 +167,7 @@ type TemplateVersionSpec struct {
|
||||
}
|
||||
|
||||
type TemplateVersionStatus struct {
|
||||
HelmVersion string `json:"helmVersion,omitempty" norman:"noupdate,nocreate"`
|
||||
}
|
||||
|
||||
type File struct {
|
||||
|
@@ -58,7 +58,7 @@ type AppStatus struct {
|
||||
Notes string `json:"notes,omitempty"`
|
||||
Conditions []AppCondition `json:"conditions,omitempty"`
|
||||
LastAppliedTemplates string `json:"lastAppliedTemplate,omitempty"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" norman:"nocreate,noupdate"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" norman:"noupdate,nocreate"`
|
||||
}
|
||||
|
||||
type AppCondition struct {
|
||||
|
@@ -13,6 +13,7 @@ const (
|
||||
CatalogFieldCreated = "created"
|
||||
CatalogFieldCreatorID = "creatorId"
|
||||
CatalogFieldDescription = "description"
|
||||
CatalogFieldHelmVersion = "helmVersion"
|
||||
CatalogFieldKind = "kind"
|
||||
CatalogFieldLabels = "labels"
|
||||
CatalogFieldLastRefreshTimestamp = "lastRefreshTimestamp"
|
||||
@@ -37,6 +38,7 @@ type Catalog struct {
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
LastRefreshTimestamp string `json:"lastRefreshTimestamp,omitempty" yaml:"lastRefreshTimestamp,omitempty"`
|
||||
|
@@ -5,6 +5,7 @@ const (
|
||||
CatalogSpecFieldBranch = "branch"
|
||||
CatalogSpecFieldCatalogKind = "catalogKind"
|
||||
CatalogSpecFieldDescription = "description"
|
||||
CatalogSpecFieldHelmVersion = "helmVersion"
|
||||
CatalogSpecFieldPassword = "password"
|
||||
CatalogSpecFieldURL = "url"
|
||||
CatalogSpecFieldUsername = "username"
|
||||
@@ -14,6 +15,7 @@ type CatalogSpec struct {
|
||||
Branch string `json:"branch,omitempty" yaml:"branch,omitempty"`
|
||||
CatalogKind string `json:"catalogKind,omitempty" yaml:"catalogKind,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
ClusterCatalogFieldCreated = "created"
|
||||
ClusterCatalogFieldCreatorID = "creatorId"
|
||||
ClusterCatalogFieldDescription = "description"
|
||||
ClusterCatalogFieldHelmVersion = "helmVersion"
|
||||
ClusterCatalogFieldKind = "kind"
|
||||
ClusterCatalogFieldLabels = "labels"
|
||||
ClusterCatalogFieldLastRefreshTimestamp = "lastRefreshTimestamp"
|
||||
@@ -40,6 +41,7 @@ type ClusterCatalog struct {
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
LastRefreshTimestamp string `json:"lastRefreshTimestamp,omitempty" yaml:"lastRefreshTimestamp,omitempty"`
|
||||
|
@@ -13,6 +13,7 @@ const (
|
||||
ProjectCatalogFieldCreated = "created"
|
||||
ProjectCatalogFieldCreatorID = "creatorId"
|
||||
ProjectCatalogFieldDescription = "description"
|
||||
ProjectCatalogFieldHelmVersion = "helmVersion"
|
||||
ProjectCatalogFieldKind = "kind"
|
||||
ProjectCatalogFieldLabels = "labels"
|
||||
ProjectCatalogFieldLastRefreshTimestamp = "lastRefreshTimestamp"
|
||||
@@ -39,6 +40,7 @@ type ProjectCatalog struct {
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
LastRefreshTimestamp string `json:"lastRefreshTimestamp,omitempty" yaml:"lastRefreshTimestamp,omitempty"`
|
||||
|
@@ -1,8 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
TemplateStatusType = "templateStatus"
|
||||
TemplateStatusType = "templateStatus"
|
||||
TemplateStatusFieldHelmVersion = "helmVersion"
|
||||
)
|
||||
|
||||
type TemplateStatus struct {
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
}
|
||||
|
@@ -1,8 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
TemplateVersionStatusType = "templateVersionStatus"
|
||||
TemplateVersionStatusType = "templateVersionStatus"
|
||||
TemplateVersionStatusFieldHelmVersion = "helmVersion"
|
||||
)
|
||||
|
||||
type TemplateVersionStatus struct {
|
||||
HelmVersion string `json:"helmVersion,omitempty" yaml:"helmVersion,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user