Fix golint failures in pkg/proxy

Review feedback - remove alias from imports

fix comments
This commit is contained in:
Anish Ramasekar
2019-07-05 12:44:37 -07:00
parent 00cf865762
commit 2878270f5b
12 changed files with 18 additions and 19 deletions

View File

@@ -25,12 +25,12 @@ import (
"k8s.io/kubernetes/pkg/proxy/config"
)
// ProxyProvider is the interface provided by proxier implementations.
type ProxyProvider interface {
// Provider is the interface provided by proxier implementations.
type Provider interface {
config.EndpointsHandler
config.ServiceHandler
// Sync immediately synchronizes the ProxyProvider's current state to proxy rules.
// Sync immediately synchronizes the Provider's current state to proxy rules.
Sync()
// SyncLoop runs periodic work.
// This is expected to run as a goroutine or as the main loop of the app.