cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterManagerName          = "cluster-manager"
	KubeConfReadRetryDelay      = 15 * time.Second
	DefaultClusterScaleUpSize   = 1
	DefaultClusterScaleDownSize = 1
	DummyServerAddress          = "https://213.0.0.1"
	MaxRetryCount               = 3
	BackoffIncrementalDuration  = 5 * time.Second
	BackoffMaxDuration          = 30 * time.Minute
	BackoffExpiryDuration       = 2 * time.Hour
)

Variables

This section is empty.

Functions

func StartClusterController

func StartClusterController(config *restclient.Config, options *opt.ClusterControllerOptions, stopChan <-chan struct{})

StartClusterController starts a new cluster controller

Types

type ClusterController

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

func (*ClusterController) Run

func (cc *ClusterController) Run(stopChan <-chan struct{})

Run begins watching and syncing.

func (*ClusterController) SubmitClusterForProvisioning

func (cc *ClusterController) SubmitClusterForProvisioning(cluster *federationv1beta1.Cluster)

Directories

Path Synopsis
oke

Jump to

Keyboard shortcuts

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