mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: bump k8s dependencies to v0.29.2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
44
vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto
generated
vendored
44
vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto
generated
vendored
@ -28,6 +28,40 @@ import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
|
||||
// Package-wide variables from generator "generated".
|
||||
option go_package = "k8s.io/api/flowcontrol/v1beta1";
|
||||
|
||||
// ExemptPriorityLevelConfiguration describes the configurable aspects
|
||||
// of the handling of exempt requests.
|
||||
// In the mandatory exempt configuration object the values in the fields
|
||||
// here can be modified by authorized users, unlike the rest of the `spec`.
|
||||
message ExemptPriorityLevelConfiguration {
|
||||
// `nominalConcurrencyShares` (NCS) contributes to the computation of the
|
||||
// NominalConcurrencyLimit (NominalCL) of this level.
|
||||
// This is the number of execution seats nominally reserved for this priority level.
|
||||
// This DOES NOT limit the dispatching from this priority level
|
||||
// but affects the other priority levels through the borrowing mechanism.
|
||||
// The server's concurrency limit (ServerCL) is divided among all the
|
||||
// priority levels in proportion to their NCS values:
|
||||
//
|
||||
// NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs )
|
||||
// sum_ncs = sum[priority level k] NCS(k)
|
||||
//
|
||||
// Bigger numbers mean a larger nominal concurrency limit,
|
||||
// at the expense of every other priority level.
|
||||
// This field has a default value of zero.
|
||||
// +optional
|
||||
optional int32 nominalConcurrencyShares = 1;
|
||||
|
||||
// `lendablePercent` prescribes the fraction of the level's NominalCL that
|
||||
// can be borrowed by other priority levels. This value of this
|
||||
// field must be between 0 and 100, inclusive, and it defaults to 0.
|
||||
// The number of seats that other levels can borrow from this level, known
|
||||
// as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
|
||||
//
|
||||
// LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )
|
||||
//
|
||||
// +optional
|
||||
optional int32 lendablePercent = 2;
|
||||
}
|
||||
|
||||
// FlowDistinguisherMethod specifies the method of a flow distinguisher.
|
||||
message FlowDistinguisherMethod {
|
||||
// `type` is the type of flow distinguisher method
|
||||
@ -158,7 +192,7 @@ message LimitResponse {
|
||||
message LimitedPriorityLevelConfiguration {
|
||||
// `assuredConcurrencyShares` (ACS) configures the execution
|
||||
// limit, which is a limit on the number of requests of this
|
||||
// priority level that may be exeucting at a given time. ACS must
|
||||
// priority level that may be executing at a given time. ACS must
|
||||
// be a positive number. The server's concurrency limit (SCL) is
|
||||
// divided among the concurrency-controlled priority levels in
|
||||
// proportion to their assured concurrency shares. This produces
|
||||
@ -332,6 +366,14 @@ message PriorityLevelConfigurationSpec {
|
||||
// This field must be non-empty if and only if `type` is `"Limited"`.
|
||||
// +optional
|
||||
optional LimitedPriorityLevelConfiguration limited = 2;
|
||||
|
||||
// `exempt` specifies how requests are handled for an exempt priority level.
|
||||
// This field MUST be empty if `type` is `"Limited"`.
|
||||
// This field MAY be non-empty if `type` is `"Exempt"`.
|
||||
// If empty and `type` is `"Exempt"` then the default values
|
||||
// for `ExemptPriorityLevelConfiguration` apply.
|
||||
// +optional
|
||||
optional ExemptPriorityLevelConfiguration exempt = 3;
|
||||
}
|
||||
|
||||
// PriorityLevelConfigurationStatus represents the current state of a "request-priority".
|
||||
|
Reference in New Issue
Block a user