mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 06:07:48 +00:00
remove deprecated NodeLegacyHostIP
Kubernetes-commit: 7d00e5cfb66d4501879125f4d3c732f9bb726d0c
This commit is contained in:
parent
ca719949f1
commit
dad27d745a
@ -2918,16 +2918,12 @@ type NodeCondition struct {
|
|||||||
|
|
||||||
type NodeAddressType string
|
type NodeAddressType string
|
||||||
|
|
||||||
// These are valid address types of node. NodeLegacyHostIP is used to transit
|
|
||||||
// from out-dated HostIP field to NodeAddress.
|
|
||||||
const (
|
const (
|
||||||
// Deprecated: NodeLegacyHostIP will be removed in 1.7.
|
NodeHostName NodeAddressType = "Hostname"
|
||||||
NodeLegacyHostIP NodeAddressType = "LegacyHostIP"
|
NodeExternalIP NodeAddressType = "ExternalIP"
|
||||||
NodeHostName NodeAddressType = "Hostname"
|
NodeInternalIP NodeAddressType = "InternalIP"
|
||||||
NodeExternalIP NodeAddressType = "ExternalIP"
|
NodeExternalDNS NodeAddressType = "ExternalDNS"
|
||||||
NodeInternalIP NodeAddressType = "InternalIP"
|
NodeInternalDNS NodeAddressType = "InternalDNS"
|
||||||
NodeExternalDNS NodeAddressType = "ExternalDNS"
|
|
||||||
NodeInternalDNS NodeAddressType = "InternalDNS"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type NodeAddress struct {
|
type NodeAddress struct {
|
||||||
|
@ -3363,13 +3363,11 @@ type NodeAddressType string
|
|||||||
|
|
||||||
// These are valid address type of node.
|
// These are valid address type of node.
|
||||||
const (
|
const (
|
||||||
// Deprecated: NodeLegacyHostIP will be removed in 1.7.
|
NodeHostName NodeAddressType = "Hostname"
|
||||||
NodeLegacyHostIP NodeAddressType = "LegacyHostIP"
|
NodeExternalIP NodeAddressType = "ExternalIP"
|
||||||
NodeHostName NodeAddressType = "Hostname"
|
NodeInternalIP NodeAddressType = "InternalIP"
|
||||||
NodeExternalIP NodeAddressType = "ExternalIP"
|
NodeExternalDNS NodeAddressType = "ExternalDNS"
|
||||||
NodeInternalIP NodeAddressType = "InternalIP"
|
NodeInternalDNS NodeAddressType = "InternalDNS"
|
||||||
NodeExternalDNS NodeAddressType = "ExternalDNS"
|
|
||||||
NodeInternalDNS NodeAddressType = "InternalDNS"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// NodeAddress contains information for the node's address.
|
// NodeAddress contains information for the node's address.
|
||||||
|
Loading…
Reference in New Issue
Block a user