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)
Click to show internal directories.
Click to hide internal directories.