mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-01 17:09:45 +00:00
Remove Multus version of NetworkStatus
NetworkStatus was moved to network-attachment-definition-client in previous merges and the Multus version of the structure was left behind, and not being used. Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,6 @@ type NetConf struct {
|
|||||||
// RawDelegates is private to the NetConf class; use Delegates instead
|
// RawDelegates is private to the NetConf class; use Delegates instead
|
||||||
RawDelegates []map[string]interface{} `json:"delegates"`
|
RawDelegates []map[string]interface{} `json:"delegates"`
|
||||||
Delegates []*DelegateNetConf `json:"-"`
|
Delegates []*DelegateNetConf `json:"-"`
|
||||||
NetStatus []*NetworkStatus `json:"-"`
|
|
||||||
Kubeconfig string `json:"kubeconfig"`
|
Kubeconfig string `json:"kubeconfig"`
|
||||||
ClusterNetwork string `json:"clusterNetwork"`
|
ClusterNetwork string `json:"clusterNetwork"`
|
||||||
DefaultNetworks []string `json:"defaultNetworks"`
|
DefaultNetworks []string `json:"defaultNetworks"`
|
||||||
@@ -83,16 +82,6 @@ type BandwidthEntry struct {
|
|||||||
EgressBurst int `json:"egressBurst"`
|
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
|
// DelegateNetConf for net-attach-def for pod
|
||||||
type DelegateNetConf struct {
|
type DelegateNetConf struct {
|
||||||
Conf types.NetConf
|
Conf types.NetConf
|
||||||
|
Reference in New Issue
Block a user