mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update K8s packages to v0.32.1
Update K8s packages in go.mod to v0.32.1 Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
6
vendor/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go
generated
vendored
6
vendor/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go
generated
vendored
@ -19,13 +19,13 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
metav1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// AggregationRuleApplyConfiguration represents a declarative configuration of the AggregationRule type for use
|
||||
// with apply.
|
||||
type AggregationRuleApplyConfiguration struct {
|
||||
ClusterRoleSelectors []v1.LabelSelectorApplyConfiguration `json:"clusterRoleSelectors,omitempty"`
|
||||
ClusterRoleSelectors []metav1.LabelSelectorApplyConfiguration `json:"clusterRoleSelectors,omitempty"`
|
||||
}
|
||||
|
||||
// AggregationRuleApplyConfiguration constructs a declarative configuration of the AggregationRule type for use with
|
||||
@ -37,7 +37,7 @@ func AggregationRule() *AggregationRuleApplyConfiguration {
|
||||
// WithClusterRoleSelectors adds the given value to the ClusterRoleSelectors field in the declarative configuration
|
||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
||||
// If called multiple times, values provided by each call will be appended to the ClusterRoleSelectors field.
|
||||
func (b *AggregationRuleApplyConfiguration) WithClusterRoleSelectors(values ...*v1.LabelSelectorApplyConfiguration) *AggregationRuleApplyConfiguration {
|
||||
func (b *AggregationRuleApplyConfiguration) WithClusterRoleSelectors(values ...*metav1.LabelSelectorApplyConfiguration) *AggregationRuleApplyConfiguration {
|
||||
for i := range values {
|
||||
if values[i] == nil {
|
||||
panic("nil value passed to WithClusterRoleSelectors")
|
||||
|
Reference in New Issue
Block a user