Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
343f4baa
Commit
343f4baa
authored
Apr 19, 2017
by
supereagle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comment error for network plugin
parent
b22a2980
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
plugins.go
pkg/kubelet/network/plugins.go
+2
-2
No files found.
pkg/kubelet/network/plugins.go
View file @
343f4baa
...
@@ -76,11 +76,11 @@ type NetworkPlugin interface {
...
@@ -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
//
GetPodNetwork
Status 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
)
//
Network
Status 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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment