go.mod: bump client-go and api machinerie
I had to run `make generate`. Some API functions got additional parameters `Options` and `Context`. I used empty options and `context.TODO()` for now. Signed-off-by: leonnicolas <leonloechner@gmx.de>
This commit is contained in:
		
							
								
								
									
										43
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| ) | ||||
|  | ||||
| // FlowDistinguisherMethodApplyConfiguration represents an declarative configuration of the FlowDistinguisherMethod type for use | ||||
| // with apply. | ||||
| type FlowDistinguisherMethodApplyConfiguration struct { | ||||
| 	Type *v1beta1.FlowDistinguisherMethodType `json:"type,omitempty"` | ||||
| } | ||||
|  | ||||
| // FlowDistinguisherMethodApplyConfiguration constructs an declarative configuration of the FlowDistinguisherMethod type for use with | ||||
| // apply. | ||||
| func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration { | ||||
| 	return &FlowDistinguisherMethodApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithType sets the Type field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Type field is set to the value of the last call. | ||||
| func (b *FlowDistinguisherMethodApplyConfiguration) WithType(value v1beta1.FlowDistinguisherMethodType) *FlowDistinguisherMethodApplyConfiguration { | ||||
| 	b.Type = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										263
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										263
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,263 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||||
| 	types "k8s.io/apimachinery/pkg/types" | ||||
| 	managedfields "k8s.io/apimachinery/pkg/util/managedfields" | ||||
| 	internal "k8s.io/client-go/applyconfigurations/internal" | ||||
| 	v1 "k8s.io/client-go/applyconfigurations/meta/v1" | ||||
| ) | ||||
|  | ||||
| // FlowSchemaApplyConfiguration represents an declarative configuration of the FlowSchema type for use | ||||
| // with apply. | ||||
| type FlowSchemaApplyConfiguration struct { | ||||
| 	v1.TypeMetaApplyConfiguration    `json:",inline"` | ||||
| 	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` | ||||
| 	Spec                             *FlowSchemaSpecApplyConfiguration   `json:"spec,omitempty"` | ||||
| 	Status                           *FlowSchemaStatusApplyConfiguration `json:"status,omitempty"` | ||||
| } | ||||
|  | ||||
| // FlowSchema constructs an declarative configuration of the FlowSchema type for use with | ||||
| // apply. | ||||
| func FlowSchema(name string) *FlowSchemaApplyConfiguration { | ||||
| 	b := &FlowSchemaApplyConfiguration{} | ||||
| 	b.WithName(name) | ||||
| 	b.WithKind("FlowSchema") | ||||
| 	b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // ExtractFlowSchema extracts the applied configuration owned by fieldManager from | ||||
| // flowSchema. If no managedFields are found in flowSchema for fieldManager, a | ||||
| // FlowSchemaApplyConfiguration is returned with only the Name, Namespace (if applicable), | ||||
| // APIVersion and Kind populated. Is is possible that no managed fields were found for because other | ||||
| // field managers have taken ownership of all the fields previously owned by fieldManager, or because | ||||
| // the fieldManager never owned fields any fields. | ||||
| // flowSchema must be a unmodified FlowSchema API object that was retrieved from the Kubernetes API. | ||||
| // ExtractFlowSchema provides a way to perform a extract/modify-in-place/apply workflow. | ||||
| // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously | ||||
| // applied if another fieldManager has updated or force applied any of the previously applied fields. | ||||
| // Experimental! | ||||
| func ExtractFlowSchema(flowSchema *flowcontrolv1beta1.FlowSchema, fieldManager string) (*FlowSchemaApplyConfiguration, error) { | ||||
| 	b := &FlowSchemaApplyConfiguration{} | ||||
| 	err := managedfields.ExtractInto(flowSchema, internal.Parser().Type("io.k8s.api.flowcontrol.v1beta1.FlowSchema"), fieldManager, b) | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	b.WithName(flowSchema.Name) | ||||
|  | ||||
| 	b.WithKind("FlowSchema") | ||||
| 	b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") | ||||
| 	return b, nil | ||||
| } | ||||
|  | ||||
| // WithKind sets the Kind field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Kind field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithKind(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.Kind = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the APIVersion field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithAPIVersion(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.APIVersion = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithName(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithGenerateName sets the GenerateName field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the GenerateName field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithGenerateName(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.GenerateName = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithNamespace sets the Namespace field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Namespace field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithNamespace(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Namespace = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithSelfLink sets the SelfLink field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the SelfLink field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithSelfLink(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.SelfLink = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithUID sets the UID field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the UID field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithUID(value types.UID) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.UID = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ResourceVersion field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithResourceVersion(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.ResourceVersion = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithGeneration sets the Generation field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Generation field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithGeneration(value int64) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Generation = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the CreationTimestamp field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.CreationTimestamp = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the DeletionTimestamp field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.DeletionTimestamp = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.DeletionGracePeriodSeconds = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLabels puts the entries into the Labels field in the declarative configuration | ||||
| // and returns the receiver, so that objects can be build by chaining "With" function invocations. | ||||
| // If called multiple times, the entries provided by each call will be put on the Labels field, | ||||
| // overwriting an existing map entries in Labels field with the same key. | ||||
| func (b *FlowSchemaApplyConfiguration) WithLabels(entries map[string]string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	if b.Labels == nil && len(entries) > 0 { | ||||
| 		b.Labels = make(map[string]string, len(entries)) | ||||
| 	} | ||||
| 	for k, v := range entries { | ||||
| 		b.Labels[k] = v | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithAnnotations puts the entries into the Annotations field in the declarative configuration | ||||
| // and returns the receiver, so that objects can be build by chaining "With" function invocations. | ||||
| // If called multiple times, the entries provided by each call will be put on the Annotations field, | ||||
| // overwriting an existing map entries in Annotations field with the same key. | ||||
| func (b *FlowSchemaApplyConfiguration) WithAnnotations(entries map[string]string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	if b.Annotations == nil && len(entries) > 0 { | ||||
| 		b.Annotations = make(map[string]string, len(entries)) | ||||
| 	} | ||||
| 	for k, v := range entries { | ||||
| 		b.Annotations[k] = v | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field. | ||||
| func (b *FlowSchemaApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithOwnerReferences") | ||||
| 		} | ||||
| 		b.OwnerReferences = append(b.OwnerReferences, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithFinalizers adds the given value to the Finalizers 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 Finalizers field. | ||||
| func (b *FlowSchemaApplyConfiguration) WithFinalizers(values ...string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	for i := range values { | ||||
| 		b.Finalizers = append(b.Finalizers, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithClusterName sets the ClusterName field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ClusterName field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithClusterName(value string) *FlowSchemaApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.ClusterName = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| func (b *FlowSchemaApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { | ||||
| 	if b.ObjectMetaApplyConfiguration == nil { | ||||
| 		b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{} | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // WithSpec sets the Spec field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Spec field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithSpec(value *FlowSchemaSpecApplyConfiguration) *FlowSchemaApplyConfiguration { | ||||
| 	b.Spec = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithStatus sets the Status field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Status field is set to the value of the last call. | ||||
| func (b *FlowSchemaApplyConfiguration) WithStatus(value *FlowSchemaStatusApplyConfiguration) *FlowSchemaApplyConfiguration { | ||||
| 	b.Status = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										80
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,80 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||||
| ) | ||||
|  | ||||
| // FlowSchemaConditionApplyConfiguration represents an declarative configuration of the FlowSchemaCondition type for use | ||||
| // with apply. | ||||
| type FlowSchemaConditionApplyConfiguration struct { | ||||
| 	Type               *v1beta1.FlowSchemaConditionType `json:"type,omitempty"` | ||||
| 	Status             *v1beta1.ConditionStatus         `json:"status,omitempty"` | ||||
| 	LastTransitionTime *v1.Time                         `json:"lastTransitionTime,omitempty"` | ||||
| 	Reason             *string                          `json:"reason,omitempty"` | ||||
| 	Message            *string                          `json:"message,omitempty"` | ||||
| } | ||||
|  | ||||
| // FlowSchemaConditionApplyConfiguration constructs an declarative configuration of the FlowSchemaCondition type for use with | ||||
| // apply. | ||||
| func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration { | ||||
| 	return &FlowSchemaConditionApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithType sets the Type field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Type field is set to the value of the last call. | ||||
| func (b *FlowSchemaConditionApplyConfiguration) WithType(value v1beta1.FlowSchemaConditionType) *FlowSchemaConditionApplyConfiguration { | ||||
| 	b.Type = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithStatus sets the Status field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Status field is set to the value of the last call. | ||||
| func (b *FlowSchemaConditionApplyConfiguration) WithStatus(value v1beta1.ConditionStatus) *FlowSchemaConditionApplyConfiguration { | ||||
| 	b.Status = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the LastTransitionTime field is set to the value of the last call. | ||||
| func (b *FlowSchemaConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *FlowSchemaConditionApplyConfiguration { | ||||
| 	b.LastTransitionTime = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithReason sets the Reason field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Reason field is set to the value of the last call. | ||||
| func (b *FlowSchemaConditionApplyConfiguration) WithReason(value string) *FlowSchemaConditionApplyConfiguration { | ||||
| 	b.Reason = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithMessage sets the Message field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Message field is set to the value of the last call. | ||||
| func (b *FlowSchemaConditionApplyConfiguration) WithMessage(value string) *FlowSchemaConditionApplyConfiguration { | ||||
| 	b.Message = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										71
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // FlowSchemaSpecApplyConfiguration represents an declarative configuration of the FlowSchemaSpec type for use | ||||
| // with apply. | ||||
| type FlowSchemaSpecApplyConfiguration struct { | ||||
| 	PriorityLevelConfiguration *PriorityLevelConfigurationReferenceApplyConfiguration `json:"priorityLevelConfiguration,omitempty"` | ||||
| 	MatchingPrecedence         *int32                                                 `json:"matchingPrecedence,omitempty"` | ||||
| 	DistinguisherMethod        *FlowDistinguisherMethodApplyConfiguration             `json:"distinguisherMethod,omitempty"` | ||||
| 	Rules                      []PolicyRulesWithSubjectsApplyConfiguration            `json:"rules,omitempty"` | ||||
| } | ||||
|  | ||||
| // FlowSchemaSpecApplyConfiguration constructs an declarative configuration of the FlowSchemaSpec type for use with | ||||
| // apply. | ||||
| func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration { | ||||
| 	return &FlowSchemaSpecApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the PriorityLevelConfiguration field is set to the value of the last call. | ||||
| func (b *FlowSchemaSpecApplyConfiguration) WithPriorityLevelConfiguration(value *PriorityLevelConfigurationReferenceApplyConfiguration) *FlowSchemaSpecApplyConfiguration { | ||||
| 	b.PriorityLevelConfiguration = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithMatchingPrecedence sets the MatchingPrecedence field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the MatchingPrecedence field is set to the value of the last call. | ||||
| func (b *FlowSchemaSpecApplyConfiguration) WithMatchingPrecedence(value int32) *FlowSchemaSpecApplyConfiguration { | ||||
| 	b.MatchingPrecedence = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithDistinguisherMethod sets the DistinguisherMethod field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the DistinguisherMethod field is set to the value of the last call. | ||||
| func (b *FlowSchemaSpecApplyConfiguration) WithDistinguisherMethod(value *FlowDistinguisherMethodApplyConfiguration) *FlowSchemaSpecApplyConfiguration { | ||||
| 	b.DistinguisherMethod = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithRules adds the given value to the Rules 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 Rules field. | ||||
| func (b *FlowSchemaSpecApplyConfiguration) WithRules(values ...*PolicyRulesWithSubjectsApplyConfiguration) *FlowSchemaSpecApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithRules") | ||||
| 		} | ||||
| 		b.Rules = append(b.Rules, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										44
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // FlowSchemaStatusApplyConfiguration represents an declarative configuration of the FlowSchemaStatus type for use | ||||
| // with apply. | ||||
| type FlowSchemaStatusApplyConfiguration struct { | ||||
| 	Conditions []FlowSchemaConditionApplyConfiguration `json:"conditions,omitempty"` | ||||
| } | ||||
|  | ||||
| // FlowSchemaStatusApplyConfiguration constructs an declarative configuration of the FlowSchemaStatus type for use with | ||||
| // apply. | ||||
| func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration { | ||||
| 	return &FlowSchemaStatusApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithConditions adds the given value to the Conditions 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 Conditions field. | ||||
| func (b *FlowSchemaStatusApplyConfiguration) WithConditions(values ...*FlowSchemaConditionApplyConfiguration) *FlowSchemaStatusApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithConditions") | ||||
| 		} | ||||
| 		b.Conditions = append(b.Conditions, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // GroupSubjectApplyConfiguration represents an declarative configuration of the GroupSubject type for use | ||||
| // with apply. | ||||
| type GroupSubjectApplyConfiguration struct { | ||||
| 	Name *string `json:"name,omitempty"` | ||||
| } | ||||
|  | ||||
| // GroupSubjectApplyConfiguration constructs an declarative configuration of the GroupSubject type for use with | ||||
| // apply. | ||||
| func GroupSubject() *GroupSubjectApplyConfiguration { | ||||
| 	return &GroupSubjectApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *GroupSubjectApplyConfiguration) WithName(value string) *GroupSubjectApplyConfiguration { | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										48
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // LimitedPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the LimitedPriorityLevelConfiguration type for use | ||||
| // with apply. | ||||
| type LimitedPriorityLevelConfigurationApplyConfiguration struct { | ||||
| 	AssuredConcurrencyShares *int32                           `json:"assuredConcurrencyShares,omitempty"` | ||||
| 	LimitResponse            *LimitResponseApplyConfiguration `json:"limitResponse,omitempty"` | ||||
| } | ||||
|  | ||||
| // LimitedPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the LimitedPriorityLevelConfiguration type for use with | ||||
| // apply. | ||||
| func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration { | ||||
| 	return &LimitedPriorityLevelConfigurationApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithAssuredConcurrencyShares sets the AssuredConcurrencyShares field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the AssuredConcurrencyShares field is set to the value of the last call. | ||||
| func (b *LimitedPriorityLevelConfigurationApplyConfiguration) WithAssuredConcurrencyShares(value int32) *LimitedPriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.AssuredConcurrencyShares = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLimitResponse sets the LimitResponse field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the LimitResponse field is set to the value of the last call. | ||||
| func (b *LimitedPriorityLevelConfigurationApplyConfiguration) WithLimitResponse(value *LimitResponseApplyConfiguration) *LimitedPriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.LimitResponse = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| ) | ||||
|  | ||||
| // LimitResponseApplyConfiguration represents an declarative configuration of the LimitResponse type for use | ||||
| // with apply. | ||||
| type LimitResponseApplyConfiguration struct { | ||||
| 	Type    *v1beta1.LimitResponseType              `json:"type,omitempty"` | ||||
| 	Queuing *QueuingConfigurationApplyConfiguration `json:"queuing,omitempty"` | ||||
| } | ||||
|  | ||||
| // LimitResponseApplyConfiguration constructs an declarative configuration of the LimitResponse type for use with | ||||
| // apply. | ||||
| func LimitResponse() *LimitResponseApplyConfiguration { | ||||
| 	return &LimitResponseApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithType sets the Type field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Type field is set to the value of the last call. | ||||
| func (b *LimitResponseApplyConfiguration) WithType(value v1beta1.LimitResponseType) *LimitResponseApplyConfiguration { | ||||
| 	b.Type = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithQueuing sets the Queuing field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Queuing field is set to the value of the last call. | ||||
| func (b *LimitResponseApplyConfiguration) WithQueuing(value *QueuingConfigurationApplyConfiguration) *LimitResponseApplyConfiguration { | ||||
| 	b.Queuing = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // NonResourcePolicyRuleApplyConfiguration represents an declarative configuration of the NonResourcePolicyRule type for use | ||||
| // with apply. | ||||
| type NonResourcePolicyRuleApplyConfiguration struct { | ||||
| 	Verbs           []string `json:"verbs,omitempty"` | ||||
| 	NonResourceURLs []string `json:"nonResourceURLs,omitempty"` | ||||
| } | ||||
|  | ||||
| // NonResourcePolicyRuleApplyConfiguration constructs an declarative configuration of the NonResourcePolicyRule type for use with | ||||
| // apply. | ||||
| func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration { | ||||
| 	return &NonResourcePolicyRuleApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithVerbs adds the given value to the Verbs 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 Verbs field. | ||||
| func (b *NonResourcePolicyRuleApplyConfiguration) WithVerbs(values ...string) *NonResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.Verbs = append(b.Verbs, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithNonResourceURLs adds the given value to the NonResourceURLs 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 NonResourceURLs field. | ||||
| func (b *NonResourcePolicyRuleApplyConfiguration) WithNonResourceURLs(values ...string) *NonResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.NonResourceURLs = append(b.NonResourceURLs, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										72
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,72 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // PolicyRulesWithSubjectsApplyConfiguration represents an declarative configuration of the PolicyRulesWithSubjects type for use | ||||
| // with apply. | ||||
| type PolicyRulesWithSubjectsApplyConfiguration struct { | ||||
| 	Subjects         []SubjectApplyConfiguration               `json:"subjects,omitempty"` | ||||
| 	ResourceRules    []ResourcePolicyRuleApplyConfiguration    `json:"resourceRules,omitempty"` | ||||
| 	NonResourceRules []NonResourcePolicyRuleApplyConfiguration `json:"nonResourceRules,omitempty"` | ||||
| } | ||||
|  | ||||
| // PolicyRulesWithSubjectsApplyConfiguration constructs an declarative configuration of the PolicyRulesWithSubjects type for use with | ||||
| // apply. | ||||
| func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration { | ||||
| 	return &PolicyRulesWithSubjectsApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithSubjects adds the given value to the Subjects 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 Subjects field. | ||||
| func (b *PolicyRulesWithSubjectsApplyConfiguration) WithSubjects(values ...*SubjectApplyConfiguration) *PolicyRulesWithSubjectsApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithSubjects") | ||||
| 		} | ||||
| 		b.Subjects = append(b.Subjects, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithResourceRules adds the given value to the ResourceRules 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 ResourceRules field. | ||||
| func (b *PolicyRulesWithSubjectsApplyConfiguration) WithResourceRules(values ...*ResourcePolicyRuleApplyConfiguration) *PolicyRulesWithSubjectsApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithResourceRules") | ||||
| 		} | ||||
| 		b.ResourceRules = append(b.ResourceRules, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithNonResourceRules adds the given value to the NonResourceRules 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 NonResourceRules field. | ||||
| func (b *PolicyRulesWithSubjectsApplyConfiguration) WithNonResourceRules(values ...*NonResourcePolicyRuleApplyConfiguration) *PolicyRulesWithSubjectsApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithNonResourceRules") | ||||
| 		} | ||||
| 		b.NonResourceRules = append(b.NonResourceRules, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										263
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										263
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,263 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||||
| 	types "k8s.io/apimachinery/pkg/types" | ||||
| 	managedfields "k8s.io/apimachinery/pkg/util/managedfields" | ||||
| 	internal "k8s.io/client-go/applyconfigurations/internal" | ||||
| 	v1 "k8s.io/client-go/applyconfigurations/meta/v1" | ||||
| ) | ||||
|  | ||||
| // PriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the PriorityLevelConfiguration type for use | ||||
| // with apply. | ||||
| type PriorityLevelConfigurationApplyConfiguration struct { | ||||
| 	v1.TypeMetaApplyConfiguration    `json:",inline"` | ||||
| 	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` | ||||
| 	Spec                             *PriorityLevelConfigurationSpecApplyConfiguration   `json:"spec,omitempty"` | ||||
| 	Status                           *PriorityLevelConfigurationStatusApplyConfiguration `json:"status,omitempty"` | ||||
| } | ||||
|  | ||||
| // PriorityLevelConfiguration constructs an declarative configuration of the PriorityLevelConfiguration type for use with | ||||
| // apply. | ||||
| func PriorityLevelConfiguration(name string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b := &PriorityLevelConfigurationApplyConfiguration{} | ||||
| 	b.WithName(name) | ||||
| 	b.WithKind("PriorityLevelConfiguration") | ||||
| 	b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // ExtractPriorityLevelConfiguration extracts the applied configuration owned by fieldManager from | ||||
| // priorityLevelConfiguration. If no managedFields are found in priorityLevelConfiguration for fieldManager, a | ||||
| // PriorityLevelConfigurationApplyConfiguration is returned with only the Name, Namespace (if applicable), | ||||
| // APIVersion and Kind populated. Is is possible that no managed fields were found for because other | ||||
| // field managers have taken ownership of all the fields previously owned by fieldManager, or because | ||||
| // the fieldManager never owned fields any fields. | ||||
| // priorityLevelConfiguration must be a unmodified PriorityLevelConfiguration API object that was retrieved from the Kubernetes API. | ||||
| // ExtractPriorityLevelConfiguration provides a way to perform a extract/modify-in-place/apply workflow. | ||||
| // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously | ||||
| // applied if another fieldManager has updated or force applied any of the previously applied fields. | ||||
| // Experimental! | ||||
| func ExtractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1beta1.PriorityLevelConfiguration, fieldManager string) (*PriorityLevelConfigurationApplyConfiguration, error) { | ||||
| 	b := &PriorityLevelConfigurationApplyConfiguration{} | ||||
| 	err := managedfields.ExtractInto(priorityLevelConfiguration, internal.Parser().Type("io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration"), fieldManager, b) | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	b.WithName(priorityLevelConfiguration.Name) | ||||
|  | ||||
| 	b.WithKind("PriorityLevelConfiguration") | ||||
| 	b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") | ||||
| 	return b, nil | ||||
| } | ||||
|  | ||||
| // WithKind sets the Kind field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Kind field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithKind(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.Kind = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the APIVersion field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithAPIVersion(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.APIVersion = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithName(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithGenerateName sets the GenerateName field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the GenerateName field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithGenerateName(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.GenerateName = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithNamespace sets the Namespace field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Namespace field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithNamespace(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Namespace = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithSelfLink sets the SelfLink field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the SelfLink field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithSelfLink(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.SelfLink = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithUID sets the UID field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the UID field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithUID(value types.UID) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.UID = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ResourceVersion field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithResourceVersion(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.ResourceVersion = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithGeneration sets the Generation field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Generation field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithGeneration(value int64) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.Generation = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the CreationTimestamp field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.CreationTimestamp = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the DeletionTimestamp field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.DeletionTimestamp = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.DeletionGracePeriodSeconds = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLabels puts the entries into the Labels field in the declarative configuration | ||||
| // and returns the receiver, so that objects can be build by chaining "With" function invocations. | ||||
| // If called multiple times, the entries provided by each call will be put on the Labels field, | ||||
| // overwriting an existing map entries in Labels field with the same key. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithLabels(entries map[string]string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	if b.Labels == nil && len(entries) > 0 { | ||||
| 		b.Labels = make(map[string]string, len(entries)) | ||||
| 	} | ||||
| 	for k, v := range entries { | ||||
| 		b.Labels[k] = v | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithAnnotations puts the entries into the Annotations field in the declarative configuration | ||||
| // and returns the receiver, so that objects can be build by chaining "With" function invocations. | ||||
| // If called multiple times, the entries provided by each call will be put on the Annotations field, | ||||
| // overwriting an existing map entries in Annotations field with the same key. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithAnnotations(entries map[string]string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	if b.Annotations == nil && len(entries) > 0 { | ||||
| 		b.Annotations = make(map[string]string, len(entries)) | ||||
| 	} | ||||
| 	for k, v := range entries { | ||||
| 		b.Annotations[k] = v | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithOwnerReferences") | ||||
| 		} | ||||
| 		b.OwnerReferences = append(b.OwnerReferences, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithFinalizers adds the given value to the Finalizers 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 Finalizers field. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithFinalizers(values ...string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	for i := range values { | ||||
| 		b.Finalizers = append(b.Finalizers, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithClusterName sets the ClusterName field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ClusterName field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithClusterName(value string) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.ensureObjectMetaApplyConfigurationExists() | ||||
| 	b.ClusterName = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { | ||||
| 	if b.ObjectMetaApplyConfiguration == nil { | ||||
| 		b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{} | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // WithSpec sets the Spec field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Spec field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithSpec(value *PriorityLevelConfigurationSpecApplyConfiguration) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.Spec = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithStatus sets the Status field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Status field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationApplyConfiguration) WithStatus(value *PriorityLevelConfigurationStatusApplyConfiguration) *PriorityLevelConfigurationApplyConfiguration { | ||||
| 	b.Status = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										80
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,80 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||||
| ) | ||||
|  | ||||
| // PriorityLevelConfigurationConditionApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationCondition type for use | ||||
| // with apply. | ||||
| type PriorityLevelConfigurationConditionApplyConfiguration struct { | ||||
| 	Type               *v1beta1.PriorityLevelConfigurationConditionType `json:"type,omitempty"` | ||||
| 	Status             *v1beta1.ConditionStatus                         `json:"status,omitempty"` | ||||
| 	LastTransitionTime *v1.Time                                         `json:"lastTransitionTime,omitempty"` | ||||
| 	Reason             *string                                          `json:"reason,omitempty"` | ||||
| 	Message            *string                                          `json:"message,omitempty"` | ||||
| } | ||||
|  | ||||
| // PriorityLevelConfigurationConditionApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationCondition type for use with | ||||
| // apply. | ||||
| func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	return &PriorityLevelConfigurationConditionApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithType sets the Type field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Type field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationConditionApplyConfiguration) WithType(value v1beta1.PriorityLevelConfigurationConditionType) *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	b.Type = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithStatus sets the Status field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Status field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationConditionApplyConfiguration) WithStatus(value v1beta1.ConditionStatus) *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	b.Status = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the LastTransitionTime field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	b.LastTransitionTime = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithReason sets the Reason field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Reason field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationConditionApplyConfiguration) WithReason(value string) *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	b.Reason = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithMessage sets the Message field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Message field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationConditionApplyConfiguration) WithMessage(value string) *PriorityLevelConfigurationConditionApplyConfiguration { | ||||
| 	b.Message = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // PriorityLevelConfigurationReferenceApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationReference type for use | ||||
| // with apply. | ||||
| type PriorityLevelConfigurationReferenceApplyConfiguration struct { | ||||
| 	Name *string `json:"name,omitempty"` | ||||
| } | ||||
|  | ||||
| // PriorityLevelConfigurationReferenceApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationReference type for use with | ||||
| // apply. | ||||
| func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration { | ||||
| 	return &PriorityLevelConfigurationReferenceApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationReferenceApplyConfiguration) WithName(value string) *PriorityLevelConfigurationReferenceApplyConfiguration { | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,52 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| ) | ||||
|  | ||||
| // PriorityLevelConfigurationSpecApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationSpec type for use | ||||
| // with apply. | ||||
| type PriorityLevelConfigurationSpecApplyConfiguration struct { | ||||
| 	Type    *v1beta1.PriorityLevelEnablement                     `json:"type,omitempty"` | ||||
| 	Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"` | ||||
| } | ||||
|  | ||||
| // PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with | ||||
| // apply. | ||||
| func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration { | ||||
| 	return &PriorityLevelConfigurationSpecApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithType sets the Type field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Type field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithType(value v1beta1.PriorityLevelEnablement) *PriorityLevelConfigurationSpecApplyConfiguration { | ||||
| 	b.Type = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithLimited sets the Limited field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Limited field is set to the value of the last call. | ||||
| func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithLimited(value *LimitedPriorityLevelConfigurationApplyConfiguration) *PriorityLevelConfigurationSpecApplyConfiguration { | ||||
| 	b.Limited = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										44
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // PriorityLevelConfigurationStatusApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationStatus type for use | ||||
| // with apply. | ||||
| type PriorityLevelConfigurationStatusApplyConfiguration struct { | ||||
| 	Conditions []PriorityLevelConfigurationConditionApplyConfiguration `json:"conditions,omitempty"` | ||||
| } | ||||
|  | ||||
| // PriorityLevelConfigurationStatusApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationStatus type for use with | ||||
| // apply. | ||||
| func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration { | ||||
| 	return &PriorityLevelConfigurationStatusApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithConditions adds the given value to the Conditions 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 Conditions field. | ||||
| func (b *PriorityLevelConfigurationStatusApplyConfiguration) WithConditions(values ...*PriorityLevelConfigurationConditionApplyConfiguration) *PriorityLevelConfigurationStatusApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		if values[i] == nil { | ||||
| 			panic("nil value passed to WithConditions") | ||||
| 		} | ||||
| 		b.Conditions = append(b.Conditions, *values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										57
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // QueuingConfigurationApplyConfiguration represents an declarative configuration of the QueuingConfiguration type for use | ||||
| // with apply. | ||||
| type QueuingConfigurationApplyConfiguration struct { | ||||
| 	Queues           *int32 `json:"queues,omitempty"` | ||||
| 	HandSize         *int32 `json:"handSize,omitempty"` | ||||
| 	QueueLengthLimit *int32 `json:"queueLengthLimit,omitempty"` | ||||
| } | ||||
|  | ||||
| // QueuingConfigurationApplyConfiguration constructs an declarative configuration of the QueuingConfiguration type for use with | ||||
| // apply. | ||||
| func QueuingConfiguration() *QueuingConfigurationApplyConfiguration { | ||||
| 	return &QueuingConfigurationApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithQueues sets the Queues field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Queues field is set to the value of the last call. | ||||
| func (b *QueuingConfigurationApplyConfiguration) WithQueues(value int32) *QueuingConfigurationApplyConfiguration { | ||||
| 	b.Queues = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithHandSize sets the HandSize field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the HandSize field is set to the value of the last call. | ||||
| func (b *QueuingConfigurationApplyConfiguration) WithHandSize(value int32) *QueuingConfigurationApplyConfiguration { | ||||
| 	b.HandSize = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithQueueLengthLimit sets the QueueLengthLimit field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the QueueLengthLimit field is set to the value of the last call. | ||||
| func (b *QueuingConfigurationApplyConfiguration) WithQueueLengthLimit(value int32) *QueuingConfigurationApplyConfiguration { | ||||
| 	b.QueueLengthLimit = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										83
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										83
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,83 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // ResourcePolicyRuleApplyConfiguration represents an declarative configuration of the ResourcePolicyRule type for use | ||||
| // with apply. | ||||
| type ResourcePolicyRuleApplyConfiguration struct { | ||||
| 	Verbs        []string `json:"verbs,omitempty"` | ||||
| 	APIGroups    []string `json:"apiGroups,omitempty"` | ||||
| 	Resources    []string `json:"resources,omitempty"` | ||||
| 	ClusterScope *bool    `json:"clusterScope,omitempty"` | ||||
| 	Namespaces   []string `json:"namespaces,omitempty"` | ||||
| } | ||||
|  | ||||
| // ResourcePolicyRuleApplyConfiguration constructs an declarative configuration of the ResourcePolicyRule type for use with | ||||
| // apply. | ||||
| func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration { | ||||
| 	return &ResourcePolicyRuleApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithVerbs adds the given value to the Verbs 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 Verbs field. | ||||
| func (b *ResourcePolicyRuleApplyConfiguration) WithVerbs(values ...string) *ResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.Verbs = append(b.Verbs, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithAPIGroups adds the given value to the APIGroups 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 APIGroups field. | ||||
| func (b *ResourcePolicyRuleApplyConfiguration) WithAPIGroups(values ...string) *ResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.APIGroups = append(b.APIGroups, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithResources adds the given value to the Resources 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 Resources field. | ||||
| func (b *ResourcePolicyRuleApplyConfiguration) WithResources(values ...string) *ResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.Resources = append(b.Resources, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithClusterScope sets the ClusterScope field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ClusterScope field is set to the value of the last call. | ||||
| func (b *ResourcePolicyRuleApplyConfiguration) WithClusterScope(value bool) *ResourcePolicyRuleApplyConfiguration { | ||||
| 	b.ClusterScope = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithNamespaces adds the given value to the Namespaces 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 Namespaces field. | ||||
| func (b *ResourcePolicyRuleApplyConfiguration) WithNamespaces(values ...string) *ResourcePolicyRuleApplyConfiguration { | ||||
| 	for i := range values { | ||||
| 		b.Namespaces = append(b.Namespaces, values[i]) | ||||
| 	} | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										48
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // ServiceAccountSubjectApplyConfiguration represents an declarative configuration of the ServiceAccountSubject type for use | ||||
| // with apply. | ||||
| type ServiceAccountSubjectApplyConfiguration struct { | ||||
| 	Namespace *string `json:"namespace,omitempty"` | ||||
| 	Name      *string `json:"name,omitempty"` | ||||
| } | ||||
|  | ||||
| // ServiceAccountSubjectApplyConfiguration constructs an declarative configuration of the ServiceAccountSubject type for use with | ||||
| // apply. | ||||
| func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration { | ||||
| 	return &ServiceAccountSubjectApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithNamespace sets the Namespace field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Namespace field is set to the value of the last call. | ||||
| func (b *ServiceAccountSubjectApplyConfiguration) WithNamespace(value string) *ServiceAccountSubjectApplyConfiguration { | ||||
| 	b.Namespace = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *ServiceAccountSubjectApplyConfiguration) WithName(value string) *ServiceAccountSubjectApplyConfiguration { | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										70
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,70 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| import ( | ||||
| 	v1beta1 "k8s.io/api/flowcontrol/v1beta1" | ||||
| ) | ||||
|  | ||||
| // SubjectApplyConfiguration represents an declarative configuration of the Subject type for use | ||||
| // with apply. | ||||
| type SubjectApplyConfiguration struct { | ||||
| 	Kind           *v1beta1.SubjectKind                     `json:"kind,omitempty"` | ||||
| 	User           *UserSubjectApplyConfiguration           `json:"user,omitempty"` | ||||
| 	Group          *GroupSubjectApplyConfiguration          `json:"group,omitempty"` | ||||
| 	ServiceAccount *ServiceAccountSubjectApplyConfiguration `json:"serviceAccount,omitempty"` | ||||
| } | ||||
|  | ||||
| // SubjectApplyConfiguration constructs an declarative configuration of the Subject type for use with | ||||
| // apply. | ||||
| func Subject() *SubjectApplyConfiguration { | ||||
| 	return &SubjectApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithKind sets the Kind field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Kind field is set to the value of the last call. | ||||
| func (b *SubjectApplyConfiguration) WithKind(value v1beta1.SubjectKind) *SubjectApplyConfiguration { | ||||
| 	b.Kind = &value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithUser sets the User field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the User field is set to the value of the last call. | ||||
| func (b *SubjectApplyConfiguration) WithUser(value *UserSubjectApplyConfiguration) *SubjectApplyConfiguration { | ||||
| 	b.User = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithGroup sets the Group field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Group field is set to the value of the last call. | ||||
| func (b *SubjectApplyConfiguration) WithGroup(value *GroupSubjectApplyConfiguration) *SubjectApplyConfiguration { | ||||
| 	b.Group = value | ||||
| 	return b | ||||
| } | ||||
|  | ||||
| // WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the ServiceAccount field is set to the value of the last call. | ||||
| func (b *SubjectApplyConfiguration) WithServiceAccount(value *ServiceAccountSubjectApplyConfiguration) *SubjectApplyConfiguration { | ||||
| 	b.ServiceAccount = value | ||||
| 	return b | ||||
| } | ||||
							
								
								
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								vendor/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| /* | ||||
| Copyright The Kubernetes Authors. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // Code generated by applyconfiguration-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| // UserSubjectApplyConfiguration represents an declarative configuration of the UserSubject type for use | ||||
| // with apply. | ||||
| type UserSubjectApplyConfiguration struct { | ||||
| 	Name *string `json:"name,omitempty"` | ||||
| } | ||||
|  | ||||
| // UserSubjectApplyConfiguration constructs an declarative configuration of the UserSubject type for use with | ||||
| // apply. | ||||
| func UserSubject() *UserSubjectApplyConfiguration { | ||||
| 	return &UserSubjectApplyConfiguration{} | ||||
| } | ||||
|  | ||||
| // WithName sets the Name field in the declarative configuration to the given value | ||||
| // and returns the receiver, so that objects can be built by chaining "With" function invocations. | ||||
| // If called multiple times, the Name field is set to the value of the last call. | ||||
| func (b *UserSubjectApplyConfiguration) WithName(value string) *UserSubjectApplyConfiguration { | ||||
| 	b.Name = &value | ||||
| 	return b | ||||
| } | ||||
		Reference in New Issue
	
	Block a user