diff --git a/client/project/v3/zz_generated_cron_job.go b/client/project/v3/zz_generated_cron_job.go index 089b55ba..cd9e77ce 100644 --- a/client/project/v3/zz_generated_cron_job.go +++ b/client/project/v3/zz_generated_cron_job.go @@ -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 diff --git a/client/project/v3/zz_generated_daemon_set.go b/client/project/v3/zz_generated_daemon_set.go index f65563cc..204dce8c 100644 --- a/client/project/v3/zz_generated_daemon_set.go +++ b/client/project/v3/zz_generated_daemon_set.go @@ -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 diff --git a/client/project/v3/zz_generated_deployment.go b/client/project/v3/zz_generated_deployment.go index 7539a847..01f6866a 100644 --- a/client/project/v3/zz_generated_deployment.go +++ b/client/project/v3/zz_generated_deployment.go @@ -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 diff --git a/client/project/v3/zz_generated_replica_set.go b/client/project/v3/zz_generated_replica_set.go index 25148e5e..15713a8e 100644 --- a/client/project/v3/zz_generated_replica_set.go +++ b/client/project/v3/zz_generated_replica_set.go @@ -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 diff --git a/client/project/v3/zz_generated_replication_controller.go b/client/project/v3/zz_generated_replication_controller.go index ec282e57..e55fd223 100644 --- a/client/project/v3/zz_generated_replication_controller.go +++ b/client/project/v3/zz_generated_replication_controller.go @@ -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 diff --git a/client/project/v3/zz_generated_stateful_set.go b/client/project/v3/zz_generated_stateful_set.go index aa854b75..af04a191 100644 --- a/client/project/v3/zz_generated_stateful_set.go +++ b/client/project/v3/zz_generated_stateful_set.go @@ -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 diff --git a/client/project/v3/zz_generated_workload.go b/client/project/v3/zz_generated_workload.go index 070489c2..ff9fdf96 100644 --- a/client/project/v3/zz_generated_workload.go +++ b/client/project/v3/zz_generated_workload.go @@ -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