service

package
v1.5.0-rancher1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 License: Apache-2.0 Imports: 29 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
)

Variables

This section is empty.

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