Documentation
¶
Overview ¶
package cluster contains the hub-side reconciler for the hub resource.
Index ¶
- func ApplyMCHManifestWorks(ctx context.Context, kubeClient *kubernetes.Clientset, ...) error
- func ApplySubManifestWorks(ctx context.Context, kubeClient *kubernetes.Clientset, ...) (*workv1.ManifestWork, error)
- func EnsureManifestWork(existing, desired *workv1.ManifestWork) (bool, error)
- func NewHubClusterController(kubeClient *kubernetes.Clientset, workClient workclientv1.WorkV1Interface, ...) factory.Controller
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.
Click to show internal directories.
Click to hide internal directories.