mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Update generated.proto files with +required markers
This commit is contained in:
@@ -39,6 +39,7 @@ message PriorityClass {
|
||||
|
||||
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||
// receive when they have the name of this class in their pod spec.
|
||||
// +required
|
||||
optional int32 value = 2;
|
||||
|
||||
// globalDefault specifies whether this PriorityClass should be considered as
|
||||
@@ -69,6 +70,7 @@ message PriorityClassList {
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// items is the list of PriorityClasses
|
||||
// +required
|
||||
repeated PriorityClass items = 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ message PriorityClass {
|
||||
|
||||
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||
// receive when they have the name of this class in their pod spec.
|
||||
// +required
|
||||
optional int32 value = 2;
|
||||
|
||||
// globalDefault specifies whether this PriorityClass should be considered as
|
||||
@@ -116,6 +117,7 @@ message PriorityClassList {
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// items is the list of PriorityClasses
|
||||
// +required
|
||||
repeated PriorityClass items = 2;
|
||||
}
|
||||
|
||||
@@ -166,6 +168,7 @@ message WorkloadList {
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// Items is the list of Workloads.
|
||||
// +required
|
||||
repeated Workload items = 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ message PriorityClass {
|
||||
|
||||
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||
// receive when they have the name of this class in their pod spec.
|
||||
// +required
|
||||
optional int32 value = 2;
|
||||
|
||||
// globalDefault specifies whether this PriorityClass should be considered as
|
||||
@@ -70,6 +71,7 @@ message PriorityClassList {
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
|
||||
|
||||
// items is the list of PriorityClasses
|
||||
// +required
|
||||
repeated PriorityClass items = 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user