{"modulePath":"github.com/openshift/hive","version":"v1.0.8","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package syncsetinstance\n\n## Constants\n\n```go\nconst (\n\tControllerName = \"syncsetinstance\"\n)\n```\n\n## Functions\n\n```go\nfunc Add(mgr manager.Manager) error\n```\nAdd creates a new SyncSetInstance controller and adds it to the manager with default RBAC. The manager will set fields on the controller and start it when the manager starts.\n\n```go\nfunc AddToManager(mgr manager.Manager, r reconcile.Reconciler) error\n```\nAddToManager adds a new Controller to mgr with r as the reconcile.Reconciler\n\n```go\nfunc NewReconciler(mgr manager.Manager, logger log.FieldLogger, reapplyInterval time.Duration) reconcile.Reconciler\n```\nNewReconciler returns a new reconcile.Reconciler\n\n## Types\n\n```go\ntype Applier interface {\n\tApply(obj []byte) (hiveresource.ApplyResult, error)\n\tInfo(obj []byte) (*hiveresource.Info, error)\n\tPatch(name types.NamespacedName, kind, apiVersion string, patch []byte, patchType string) error\n\tApplyRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (hiveresource.ApplyResult, error)\n\tCreateOrUpdate(obj []byte) (hiveresource.ApplyResult, error)\n\tCreateOrUpdateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (hiveresource.ApplyResult, error)\n\tCreate(obj []byte) (hiveresource.ApplyResult, error)\n\tCreateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (hiveresource.ApplyResult, error)\n}\n```\nApplier knows how to Apply, Patch and return Info for \\[]byte arrays describing objects and patches.\n\n```go\ntype ReconcileSyncSetInstance struct {\n\tclient.Client\n\t// contains filtered or unexported fields\n}\n```\nReconcileSyncSetInstance reconciles a ClusterDeployment and the SyncSets associated with it\n\n```go\nfunc (r *ReconcileSyncSetInstance) Reconcile(request reconcile.Request) (reconcile.Result, error)\n```\nReconcile applies SyncSet or SelectorSyncSets associated with SyncSetInstances to the owning cluster.\n\n","path":"github.com/openshift/hive/pkg/controller/syncsetinstance","name":"syncsetinstance","synopsis":"","isRedistributable":true}
