mirror of
https://github.com/rancher/types.git
synced 2025-08-02 05:11:59 +00:00
added go generate
This commit is contained in:
parent
c641a79b5d
commit
e61aba0376
@ -18,12 +18,14 @@ const (
|
||||
CatalogFieldLastRefreshTimestamp = "lastRefreshTimestamp"
|
||||
CatalogFieldName = "name"
|
||||
CatalogFieldOwnerReferences = "ownerReferences"
|
||||
CatalogFieldPassword = "password"
|
||||
CatalogFieldRemoved = "removed"
|
||||
CatalogFieldState = "state"
|
||||
CatalogFieldTransitioning = "transitioning"
|
||||
CatalogFieldTransitioningMessage = "transitioningMessage"
|
||||
CatalogFieldURL = "url"
|
||||
CatalogFieldUUID = "uuid"
|
||||
CatalogFieldUsername = "username"
|
||||
)
|
||||
|
||||
type Catalog struct {
|
||||
@ -40,12 +42,14 @@ type Catalog struct {
|
||||
LastRefreshTimestamp string `json:"lastRefreshTimestamp,omitempty" yaml:"lastRefreshTimestamp,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
}
|
||||
|
||||
type CatalogCollection struct {
|
||||
|
@ -5,12 +5,16 @@ const (
|
||||
CatalogSpecFieldBranch = "branch"
|
||||
CatalogSpecFieldCatalogKind = "catalogKind"
|
||||
CatalogSpecFieldDescription = "description"
|
||||
CatalogSpecFieldPassword = "password"
|
||||
CatalogSpecFieldURL = "url"
|
||||
CatalogSpecFieldUsername = "username"
|
||||
)
|
||||
|
||||
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"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
}
|
||||
|
@ -20,12 +20,14 @@ const (
|
||||
ClusterCatalogFieldName = "name"
|
||||
ClusterCatalogFieldNamespaceId = "namespaceId"
|
||||
ClusterCatalogFieldOwnerReferences = "ownerReferences"
|
||||
ClusterCatalogFieldPassword = "password"
|
||||
ClusterCatalogFieldRemoved = "removed"
|
||||
ClusterCatalogFieldState = "state"
|
||||
ClusterCatalogFieldTransitioning = "transitioning"
|
||||
ClusterCatalogFieldTransitioningMessage = "transitioningMessage"
|
||||
ClusterCatalogFieldURL = "url"
|
||||
ClusterCatalogFieldUUID = "uuid"
|
||||
ClusterCatalogFieldUsername = "username"
|
||||
)
|
||||
|
||||
type ClusterCatalog struct {
|
||||
@ -44,12 +46,14 @@ type ClusterCatalog struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
}
|
||||
|
||||
type ClusterCatalogCollection struct {
|
||||
|
@ -19,6 +19,7 @@ const (
|
||||
ProjectCatalogFieldName = "name"
|
||||
ProjectCatalogFieldNamespaceId = "namespaceId"
|
||||
ProjectCatalogFieldOwnerReferences = "ownerReferences"
|
||||
ProjectCatalogFieldPassword = "password"
|
||||
ProjectCatalogFieldProjectID = "projectId"
|
||||
ProjectCatalogFieldRemoved = "removed"
|
||||
ProjectCatalogFieldState = "state"
|
||||
@ -26,6 +27,7 @@ const (
|
||||
ProjectCatalogFieldTransitioningMessage = "transitioningMessage"
|
||||
ProjectCatalogFieldURL = "url"
|
||||
ProjectCatalogFieldUUID = "uuid"
|
||||
ProjectCatalogFieldUsername = "username"
|
||||
)
|
||||
|
||||
type ProjectCatalog struct {
|
||||
@ -43,6 +45,7 @@ type ProjectCatalog struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
@ -50,6 +53,7 @@ type ProjectCatalog struct {
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
}
|
||||
|
||||
type ProjectCatalogCollection struct {
|
||||
|
Loading…
Reference in New Issue
Block a user