cluster

package
v0.0.0-...-35c3564 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterReady    = "ClusterReady"
	ClusterNotReady = "ClusterNotReady"
)

cluster event reason list

View Source
const (

	// name of the cluster controller finalizer
	ClusterControllerFinalizerName = "cluster.firefly.io/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterController

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

func NewClusterController

func NewClusterController(
	client kubernetes.Interface,
	fireflyClient fireflyclient.Interface,
	clusterInformer clusterinformers.ClusterInformer,
	resyncPeriod time.Duration) (*ClusterController, error)

NewClusterController returns a new *Controller.

func (*ClusterController) Run

func (ctrl *ClusterController) Run(ctx context.Context, workers int)

Run will not return until stopCh is closed. workers determines how many cluster will be handled in parallel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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