mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-08 02:44:20 +00:00
Run 'make update'
Kubernetes-commit: 646fd200b8532b0df95df300a8351379315f3ac9
This commit is contained in:
parent
6810f4fa0d
commit
64b46766f1
@ -44,6 +44,7 @@ type ServiceSpecApplyConfiguration struct {
|
|||||||
AllocateLoadBalancerNodePorts *bool `json:"allocateLoadBalancerNodePorts,omitempty"`
|
AllocateLoadBalancerNodePorts *bool `json:"allocateLoadBalancerNodePorts,omitempty"`
|
||||||
LoadBalancerClass *string `json:"loadBalancerClass,omitempty"`
|
LoadBalancerClass *string `json:"loadBalancerClass,omitempty"`
|
||||||
InternalTrafficPolicy *corev1.ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty"`
|
InternalTrafficPolicy *corev1.ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty"`
|
||||||
|
TrafficDistribution *string `json:"trafficDistribution,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ServiceSpecApplyConfiguration constructs an declarative configuration of the ServiceSpec type for use with
|
// ServiceSpecApplyConfiguration constructs an declarative configuration of the ServiceSpec type for use with
|
||||||
@ -222,3 +223,11 @@ func (b *ServiceSpecApplyConfiguration) WithInternalTrafficPolicy(value corev1.S
|
|||||||
b.InternalTrafficPolicy = &value
|
b.InternalTrafficPolicy = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithTrafficDistribution sets the TrafficDistribution 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 TrafficDistribution field is set to the value of the last call.
|
||||||
|
func (b *ServiceSpecApplyConfiguration) WithTrafficDistribution(value string) *ServiceSpecApplyConfiguration {
|
||||||
|
b.TrafficDistribution = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -7546,6 +7546,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: sessionAffinityConfig
|
- name: sessionAffinityConfig
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.core.v1.SessionAffinityConfig
|
namedType: io.k8s.api.core.v1.SessionAffinityConfig
|
||||||
|
- name: trafficDistribution
|
||||||
|
type:
|
||||||
|
scalar: string
|
||||||
- name: type
|
- name: type
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
Loading…
Reference in New Issue
Block a user