diff --git a/types/types.go b/types/types.go index 8a3c668ea..d57a02565 100644 --- a/types/types.go +++ b/types/types.go @@ -38,7 +38,6 @@ type NetConf struct { // RawDelegates is private to the NetConf class; use Delegates instead RawDelegates []map[string]interface{} `json:"delegates"` Delegates []*DelegateNetConf `json:"-"` - NetStatus []*NetworkStatus `json:"-"` Kubeconfig string `json:"kubeconfig"` ClusterNetwork string `json:"clusterNetwork"` DefaultNetworks []string `json:"defaultNetworks"` @@ -83,16 +82,6 @@ type BandwidthEntry struct { EgressBurst int `json:"egressBurst"` } -// NetworkStatus is for network status annotation for pod -type NetworkStatus struct { - Name string `json:"name"` - Interface string `json:"interface,omitempty"` - IPs []string `json:"ips,omitempty"` - Mac string `json:"mac,omitempty"` - DNS types.DNS `json:"dns,omitempty"` - Gateway []net.IP `json:"default-route,omitempty"` -} - // DelegateNetConf for net-attach-def for pod type DelegateNetConf struct { Conf types.NetConf