Documentation ¶
Index ¶
- func DefaultBackendServicePortID(kubeClient kubernetes.Interface) utils.ServicePortID
- func NewGCEClient() *gce.GCECloud
- func NewKubeConfig() (*rest.Config, error)
- func NewNamer(kubeClient kubernetes.Interface, clusterName, fwName string) (*utils.Namer, error)
- func RunHTTPServer(healthChecker func() context.HealthCheckResults)
- func RunSIGTERMHandler(lbc *controller.LoadBalancerController, deleteAll bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBackendServicePortID ¶ added in v1.2.2
func DefaultBackendServicePortID(kubeClient kubernetes.Interface) utils.ServicePortID
DefaultBackendServicePortID returns the tuple of service namespace/name and port which will be used as the default backend for load balancers.
func NewGCEClient ¶
NewGCEClient returns a client to the GCE environment. This will block until a valid configuration file can be read.
func NewKubeConfig ¶ added in v1.2.2
NewKubeConfig returns a Kubernetes client config given the command line settings.
func RunHTTPServer ¶
func RunHTTPServer(healthChecker func() context.HealthCheckResults)
RunHTTPServer starts an HTTP server. `healthChecker` returns a mapping of component/controller name to the result of its healthcheck.
func RunSIGTERMHandler ¶
func RunSIGTERMHandler(lbc *controller.LoadBalancerController, deleteAll bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.