mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
fix comment error for network plugin
This commit is contained in:
parent
b22a298009
commit
343f4baa5a
@ -76,11 +76,11 @@ type NetworkPlugin interface {
|
|||||||
// TODO: rename podInfraContainerID to sandboxID
|
// TODO: rename podInfraContainerID to sandboxID
|
||||||
TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) error
|
TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) error
|
||||||
|
|
||||||
// Status is the method called to obtain the ipv4 or ipv6 addresses of the container
|
// GetPodNetworkStatus is the method called to obtain the ipv4 or ipv6 addresses of the container
|
||||||
// TODO: rename podInfraContainerID to sandboxID
|
// TODO: rename podInfraContainerID to sandboxID
|
||||||
GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) (*PodNetworkStatus, error)
|
GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) (*PodNetworkStatus, error)
|
||||||
|
|
||||||
// NetworkStatus returns error if the network plugin is in error state
|
// Status returns error if the network plugin is in error state
|
||||||
Status() error
|
Status() error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user