mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-12 06:27:07 +08:00
vendor: update buildkit to v0.19.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
10
vendor/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go
generated
vendored
@ -28,7 +28,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// PriorityClassApplyConfiguration represents an declarative configuration of the PriorityClass type for use
|
||||
// PriorityClassApplyConfiguration represents a declarative configuration of the PriorityClass type for use
|
||||
// with apply.
|
||||
type PriorityClassApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -39,7 +39,7 @@ type PriorityClassApplyConfiguration struct {
|
||||
PreemptionPolicy *corev1.PreemptionPolicy `json:"preemptionPolicy,omitempty"`
|
||||
}
|
||||
|
||||
// PriorityClass constructs an declarative configuration of the PriorityClass type for use with
|
||||
// PriorityClass constructs a declarative configuration of the PriorityClass type for use with
|
||||
// apply.
|
||||
func PriorityClass(name string) *PriorityClassApplyConfiguration {
|
||||
b := &PriorityClassApplyConfiguration{}
|
||||
@ -273,3 +273,9 @@ func (b *PriorityClassApplyConfiguration) WithPreemptionPolicy(value corev1.Pree
|
||||
b.PreemptionPolicy = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *PriorityClassApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
Reference in New Issue
Block a user