mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-14 05:25:33 +00:00
Revert "Merge pull request #118895 from RyanAoh/kep-1860"
This reverts commit 890a6c8f70d2e0f45b3692d34a6df1ecb6d8335b, reversing changes made to 4f60a8d493ab9571eb328b9d98da477a50bc7446. Kubernetes-commit: 0d90d1ffa5e87dfc4d3098da7f281351c7ff1972
This commit is contained in:
parent
04dcae2ee3
commit
32bbd73dd1
@ -18,16 +18,11 @@ limitations under the License.
|
|||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
|
||||||
v1 "k8s.io/api/core/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
// LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use
|
// LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use
|
||||||
// with apply.
|
// with apply.
|
||||||
type LoadBalancerIngressApplyConfiguration struct {
|
type LoadBalancerIngressApplyConfiguration struct {
|
||||||
IP *string `json:"ip,omitempty"`
|
IP *string `json:"ip,omitempty"`
|
||||||
Hostname *string `json:"hostname,omitempty"`
|
Hostname *string `json:"hostname,omitempty"`
|
||||||
IPMode *v1.LoadBalancerIPMode `json:"ipMode,omitempty"`
|
|
||||||
Ports []PortStatusApplyConfiguration `json:"ports,omitempty"`
|
Ports []PortStatusApplyConfiguration `json:"ports,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,14 +48,6 @@ func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *Load
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithIPMode sets the IPMode 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 IPMode field is set to the value of the last call.
|
|
||||||
func (b *LoadBalancerIngressApplyConfiguration) WithIPMode(value v1.LoadBalancerIPMode) *LoadBalancerIngressApplyConfiguration {
|
|
||||||
b.IPMode = &value
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
|
||||||
// WithPorts adds the given value to the Ports field in the declarative configuration
|
// WithPorts adds the given value to the Ports field in the declarative configuration
|
||||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
// 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 Ports field.
|
// If called multiple times, values provided by each call will be appended to the Ports field.
|
||||||
|
@ -5567,9 +5567,6 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: ip
|
- name: ip
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
- name: ipMode
|
|
||||||
type:
|
|
||||||
scalar: string
|
|
||||||
- name: ports
|
- name: ports
|
||||||
type:
|
type:
|
||||||
list:
|
list:
|
||||||
|
Loading…
Reference in New Issue
Block a user