registeredcluster

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegisteredClusterNamelabel      string = "registeredcluster.singapore.open-cluster-management.io/name"
	RegisteredClusterNamespacelabel string = "registeredcluster.singapore.open-cluster-management.io/namespace"
	RegisteredClusterUidLabel       string = "registeredcluster.singapore.open-cluster-management.io/uid"
	ClusterNameAnnotation           string = "registeredcluster.singapore.open-cluster-management.io/clustername"
	ManagedClusterSetlabel          string = "cluster.open-cluster-management.io/clusterset"
)

Variables

This section is empty.

Functions

func NewManager

func NewManager() *cobra.Command

Types

type RegisteredClusterReconciler

type RegisteredClusterReconciler struct {
	client.Client
	// KubeClient         kubernetes.Interface
	// DynamicClient      dynamic.Interface
	// APIExtensionClient apiextensionsclient.Interface
	ComputeConfig             *rest.Config
	ComputeKubeClient         kubernetes.Interface
	ComputeDynamicClient      dynamic.Interface
	ComputeAPIExtensionClient apiextensionsclient.Interface
	Log                       logr.Logger
	Scheme                    *runtime.Scheme
	HubClusters               []helpers.HubInstance
}

RegisteredClusterReconciler reconciles a RegisteredCluster object

func (*RegisteredClusterReconciler) Reconcile

func (r *RegisteredClusterReconciler) Reconcile(computeContextOri context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RegisteredClusterReconciler) SetupWithManager

func (r *RegisteredClusterReconciler) SetupWithManager(mgr ctrl.Manager, scheme *runtime.Scheme) error

Jump to

Keyboard shortcuts

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