service

package
v1.6.8-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2017 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package service contains code for syncing Kubernetes services, and cloud DNS servers with the federated service registry.

Index

Constants

View Source
const (
	UserAgentName = "federation-service-controller"
	KubeAPIQPS    = 20.0
	KubeAPIBurst  = 30

	ControllerName = "services"
)

Variables

View Source
var (
	RequiredResources = []schema.GroupVersionResource{v1.SchemeGroupVersion.WithResource("services")}
)

Functions

func LoadBalancerIPsAreEqual

func LoadBalancerIPsAreEqual(oldService, newService *v1.Service) bool

Types

type ServiceController

type ServiceController struct {
	// contains filtered or unexported fields
}

func New

func New(federationClient fedclientset.Interface, dns dnsprovider.Interface,
	federationName, serviceDnsSuffix, zoneName string, zoneID string) *ServiceController

func (*ServiceController) Run

func (s *ServiceController) Run(workers int, stopCh <-chan struct{}) error

It's an error to call Run() more than once for a given ServiceController object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL