network

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2017 License: Apache-2.0 Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkController

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

func New

func New(cloud cloudprovider.Interface, kubeClient clientset.Interface, clusterName string, namespace string) (*NetworkController, error)

New returns a new network controller to keep cloud provider network resource in sync with registry TODO: Currently only registry-to-cloud sync is performed. Is it necessary to perform the opposite sync? is network subject to change after creation?

func (*NetworkController) Run

func (s *NetworkController) Run(workers int)

Run starts a background goroutine that watches for changes of networks and ensures they are created/deleted properly networkSyncPeriod controls how often we resync our store with cluster registry

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

Jump to

Keyboard shortcuts

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