Watching ClusterId from within GCE cloud provider

This commit is contained in:
Nick Sardo
2017-05-19 16:03:33 -07:00
parent 9a5694b4c4
commit 729303f0de
7 changed files with 321 additions and 3 deletions

View File

@@ -28,7 +28,8 @@ import (
// Interface is an abstract, pluggable interface for cloud providers.
type Interface interface {
// Initialize provides the cloud with a kubernetes client builder
// Initialize provides the cloud with a kubernetes client builder and may spawn goroutines
// to perform housekeeping activities within the cloud provider.
Initialize(clientBuilder controller.ControllerClientBuilder)
// LoadBalancer returns a balancer interface. Also returns true if the interface is supported, false otherwise.
LoadBalancer() (LoadBalancer, bool)