Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResyncInterval = 5 * time.Minute
Functions ¶
func NewManifestWorkController ¶
func NewManifestWorkController( ctx context.Context, 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 string, restMapper meta.RESTMapper) 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.