1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 10:17:53 +00:00

Generated changes

This commit is contained in:
Alena Prokharchyk 2018-02-11 02:45:39 -08:00
parent 246aa9dfbb
commit 33f6285f30
7 changed files with 28 additions and 14 deletions

View File

@ -27,7 +27,6 @@ const (
CronJobFieldName = "name"
CronJobFieldNamespaceId = "namespaceId"
CronJobFieldNodeId = "nodeId"
CronJobFieldObjectMeta = "metadata"
CronJobFieldOwnerReferences = "ownerReferences"
CronJobFieldPriority = "priority"
CronJobFieldPriorityClassName = "priorityClassName"
@ -47,6 +46,8 @@ const (
CronJobFieldUid = "uid"
CronJobFieldUuid = "uuid"
CronJobFieldVolumes = "volumes"
CronJobFieldWorkloadAnnotations = "workloadAnnotations"
CronJobFieldWorkloadLabels = "workloadLabels"
)
type CronJob struct {
@ -72,7 +73,6 @@ type CronJob struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -92,6 +92,8 @@ type CronJob struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type CronJobCollection struct {
types.Collection

View File

@ -27,7 +27,6 @@ const (
DaemonSetFieldName = "name"
DaemonSetFieldNamespaceId = "namespaceId"
DaemonSetFieldNodeId = "nodeId"
DaemonSetFieldObjectMeta = "metadata"
DaemonSetFieldOwnerReferences = "ownerReferences"
DaemonSetFieldPriority = "priority"
DaemonSetFieldPriorityClassName = "priorityClassName"
@ -47,6 +46,8 @@ const (
DaemonSetFieldUid = "uid"
DaemonSetFieldUuid = "uuid"
DaemonSetFieldVolumes = "volumes"
DaemonSetFieldWorkloadAnnotations = "workloadAnnotations"
DaemonSetFieldWorkloadLabels = "workloadLabels"
)
type DaemonSet struct {
@ -72,7 +73,6 @@ type DaemonSet struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -92,6 +92,8 @@ type DaemonSet struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type DaemonSetCollection struct {
types.Collection

View File

@ -27,7 +27,6 @@ const (
DeploymentFieldName = "name"
DeploymentFieldNamespaceId = "namespaceId"
DeploymentFieldNodeId = "nodeId"
DeploymentFieldObjectMeta = "metadata"
DeploymentFieldOwnerReferences = "ownerReferences"
DeploymentFieldPriority = "priority"
DeploymentFieldPriorityClassName = "priorityClassName"
@ -48,6 +47,8 @@ const (
DeploymentFieldUid = "uid"
DeploymentFieldUuid = "uuid"
DeploymentFieldVolumes = "volumes"
DeploymentFieldWorkloadAnnotations = "workloadAnnotations"
DeploymentFieldWorkloadLabels = "workloadLabels"
)
type Deployment struct {
@ -73,7 +74,6 @@ type Deployment struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -94,6 +94,8 @@ type Deployment struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type DeploymentCollection struct {
types.Collection

View File

@ -25,7 +25,6 @@ const (
ReplicaSetFieldName = "name"
ReplicaSetFieldNamespaceId = "namespaceId"
ReplicaSetFieldNodeId = "nodeId"
ReplicaSetFieldObjectMeta = "metadata"
ReplicaSetFieldOwnerReferences = "ownerReferences"
ReplicaSetFieldPriority = "priority"
ReplicaSetFieldPriorityClassName = "priorityClassName"
@ -47,6 +46,8 @@ const (
ReplicaSetFieldUid = "uid"
ReplicaSetFieldUuid = "uuid"
ReplicaSetFieldVolumes = "volumes"
ReplicaSetFieldWorkloadAnnotations = "workloadAnnotations"
ReplicaSetFieldWorkloadLabels = "workloadLabels"
)
type ReplicaSet struct {
@ -70,7 +71,6 @@ type ReplicaSet struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -92,6 +92,8 @@ type ReplicaSet struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type ReplicaSetCollection struct {
types.Collection

View File

@ -25,7 +25,6 @@ const (
ReplicationControllerFieldName = "name"
ReplicationControllerFieldNamespaceId = "namespaceId"
ReplicationControllerFieldNodeId = "nodeId"
ReplicationControllerFieldObjectMeta = "metadata"
ReplicationControllerFieldOwnerReferences = "ownerReferences"
ReplicationControllerFieldPriority = "priority"
ReplicationControllerFieldPriorityClassName = "priorityClassName"
@ -47,6 +46,8 @@ const (
ReplicationControllerFieldUid = "uid"
ReplicationControllerFieldUuid = "uuid"
ReplicationControllerFieldVolumes = "volumes"
ReplicationControllerFieldWorkloadAnnotations = "workloadAnnotations"
ReplicationControllerFieldWorkloadLabels = "workloadLabels"
)
type ReplicationController struct {
@ -70,7 +71,6 @@ type ReplicationController struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -92,6 +92,8 @@ type ReplicationController struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type ReplicationControllerCollection struct {
types.Collection

View File

@ -25,7 +25,6 @@ const (
StatefulSetFieldName = "name"
StatefulSetFieldNamespaceId = "namespaceId"
StatefulSetFieldNodeId = "nodeId"
StatefulSetFieldObjectMeta = "metadata"
StatefulSetFieldOwnerReferences = "ownerReferences"
StatefulSetFieldPriority = "priority"
StatefulSetFieldPriorityClassName = "priorityClassName"
@ -47,6 +46,8 @@ const (
StatefulSetFieldUid = "uid"
StatefulSetFieldUuid = "uuid"
StatefulSetFieldVolumes = "volumes"
StatefulSetFieldWorkloadAnnotations = "workloadAnnotations"
StatefulSetFieldWorkloadLabels = "workloadLabels"
)
type StatefulSet struct {
@ -70,7 +71,6 @@ type StatefulSet struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
@ -92,6 +92,8 @@ type StatefulSet struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type StatefulSetCollection struct {
types.Collection

View File

@ -35,7 +35,6 @@ const (
WorkloadFieldName = "name"
WorkloadFieldNamespaceId = "namespaceId"
WorkloadFieldNodeId = "nodeId"
WorkloadFieldObjectMeta = "metadata"
WorkloadFieldOwnerReferences = "ownerReferences"
WorkloadFieldParallelism = "parallelism"
WorkloadFieldPriority = "priority"
@ -61,6 +60,8 @@ const (
WorkloadFieldUid = "uid"
WorkloadFieldUuid = "uuid"
WorkloadFieldVolumes = "volumes"
WorkloadFieldWorkloadAnnotations = "workloadAnnotations"
WorkloadFieldWorkloadLabels = "workloadLabels"
)
type Workload struct {
@ -94,7 +95,6 @@ type Workload struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
NodeId string `json:"nodeId,omitempty"`
ObjectMeta *ObjectMeta `json:"metadata,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Parallelism *int64 `json:"parallelism,omitempty"`
Priority *int64 `json:"priority,omitempty"`
@ -120,6 +120,8 @@ type Workload struct {
Uid *int64 `json:"uid,omitempty"`
Uuid string `json:"uuid,omitempty"`
Volumes []Volume `json:"volumes,omitempty"`
WorkloadAnnotations map[string]string `json:"workloadAnnotations,omitempty"`
WorkloadLabels map[string]string `json:"workloadLabels,omitempty"`
}
type WorkloadCollection struct {
types.Collection