Documentation ¶
Index ¶
- func DefaultBackendServicePort(kubeClient kubernetes.Interface) *backends.ServicePort
- func NewGCEClient() *gce.GCECloud
- func NewKubeClient() (kubernetes.Interface, error)
- func NewNamer(kubeClient kubernetes.Interface, clusterName string, fwName string) (*utils.Namer, error)
- func RunHTTPServer(lbc *controller.LoadBalancerController)
- func RunSIGTERMHandler(lbc *controller.LoadBalancerController, deleteAll bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBackendServicePort ¶
func DefaultBackendServicePort(kubeClient kubernetes.Interface) *backends.ServicePort
func NewGCEClient ¶
NewGCEClient returns a client to the GCE environment. This will block until a valid configuration file can be read.
func NewKubeClient ¶
func NewKubeClient() (kubernetes.Interface, error)
NewKubeClient returns a Kubernetes client given the command line settings.
func NewNamer ¶
func NewNamer(kubeClient kubernetes.Interface, clusterName string, fwName string) (*utils.Namer, error)
NewNamer returns a new naming policy given the state of the cluster.
func RunHTTPServer ¶
func RunHTTPServer(lbc *controller.LoadBalancerController)
func RunSIGTERMHandler ¶
func RunSIGTERMHandler(lbc *controller.LoadBalancerController, deleteAll bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.