{"modulePath":"github.com/cobaltcore-dev/kvm-node-agent","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package controller\n\n## Constants\n\n```go\nconst (\n\tOSUpdateType = \"OperatingSystemUpdate\"\n\tLibVirtType  = \"LibVirtConnection\"\n)\n```\n\n## Types\n\n```go\ntype HypervisorReconciler struct {\n\tclient.Client\n\tScheme       *runtime.Scheme\n\tSystemd      systemd.Interface\n\tLibvirt      libvirt.Interface\n\tKernelReader kernel.Interface\n\t// contains filtered or unexported fields\n}\n```\nHypervisorReconciler reconciles a Hypervisor object\n\n```go\nfunc (r *HypervisorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)\n```\n\n```go\nfunc (r *HypervisorReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n```go\nfunc (r *HypervisorReconciler) Start(ctx context.Context) error\n```\nStart is called when the manager starts. It starts the libvirt event subscription to receive events when the hypervisor needs to be reconciled.\n\n```go\ntype SecretReconciler struct {\n\tclient.Client\n\tScheme  *runtime.Scheme\n\tSystemd systemd.Interface\n\t// contains filtered or unexported fields\n}\n```\nSecretReconciler reconciles a Secret object\n\n```go\nfunc (r *SecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)\n```\nReconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.\n\n```go\nfunc (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n","path":"github.com/cobaltcore-dev/kvm-node-agent/internal/controller","name":"controller","synopsis":"","isRedistributable":true}
