mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +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/rbac/v1beta1/role.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go
generated
vendored
@ -27,7 +27,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// RoleApplyConfiguration represents an declarative configuration of the Role type for use
|
||||
// RoleApplyConfiguration represents a declarative configuration of the Role type for use
|
||||
// with apply.
|
||||
type RoleApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -35,7 +35,7 @@ type RoleApplyConfiguration struct {
|
||||
Rules []PolicyRuleApplyConfiguration `json:"rules,omitempty"`
|
||||
}
|
||||
|
||||
// Role constructs an declarative configuration of the Role type for use with
|
||||
// Role constructs a declarative configuration of the Role type for use with
|
||||
// apply.
|
||||
func Role(name, namespace string) *RoleApplyConfiguration {
|
||||
b := &RoleApplyConfiguration{}
|
||||
@ -252,3 +252,9 @@ func (b *RoleApplyConfiguration) WithRules(values ...*PolicyRuleApplyConfigurati
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *RoleApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
Reference in New Issue
Block a user