cluster

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

package cluster contains the hub-side reconciler for the hub resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyMCHManifestWorks

func ApplyMCHManifestWorks(ctx context.Context, kubeClient *kubernetes.Clientset, workclient workclientv1.WorkV1Interface,
	workLister worklisterv1.ManifestWorkLister, managedClusterName string) error

func ApplySubManifestWorks

func ApplySubManifestWorks(ctx context.Context, kubeClient *kubernetes.Clientset, workclient workclientv1.WorkV1Interface,
	workLister worklisterv1.ManifestWorkLister, managedClusterName string) (*workv1.ManifestWork, error)

func EnsureManifestWork

func EnsureManifestWork(existing, desired *workv1.ManifestWork) (bool, error)

func NewHubClusterController

func NewHubClusterController(
	kubeClient *kubernetes.Clientset,
	workClient workclientv1.WorkV1Interface,
	clusterInformer clusterinformerv1.ManagedClusterInformer,
	workInformer workinformerv1.ManifestWorkInformer,
	recorder events.Recorder) factory.Controller

NewHubClusterController creates a new hub cluster controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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