Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ResyncInterval = 5 * time.Minute MaxRequeueDuration = 24 * time.Hour )
Functions ¶
func NewManifestWorkController ¶
func NewManifestWorkController( recorder events.Recorder, spokeDynamicClient dynamic.Interface, spokeKubeClient kubernetes.Interface, spokeAPIExtensionClient apiextensionsclient.Interface, manifestWorkClient workv1client.ManifestWorkInterface, manifestWorkInformer workinformer.ManifestWorkInformer, manifestWorkLister worklister.ManifestWorkNamespaceLister, appliedManifestWorkClient workv1client.AppliedManifestWorkInterface, appliedManifestWorkInformer workinformer.AppliedManifestWorkInformer, hubHash, agentID string, restMapper meta.RESTMapper, validator auth.ExecutorValidator) factory.Controller
NewManifestWorkController returns a ManifestWorkController
Types ¶
type ManifestWorkController ¶
type ManifestWorkController struct {
// contains filtered or unexported fields
}
ManifestWorkController is to reconcile the workload resources fetched from hub cluster on spoke cluster.
Click to show internal directories.
Click to hide internal directories.