{"modulePath":"github.com/CrunchyData/postgres-operator","version":"v4.5.9+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pgcluster\n\n## Types\n\n```go\ntype Controller struct {\n\tClient               *kubeapi.Client\n\tQueue                workqueue.RateLimitingInterface\n\tInformer             informers.PgclusterInformer\n\tPgclusterWorkerCount int\n}\n```\nController holds the connections for the controller\n\n```go\nfunc (c *Controller) AddPGClusterEventHandler()\n```\nAddPGClusterEventHandler adds the pgcluster event handler to the pgcluster informer\n\n```go\nfunc (c *Controller) RunWorker(stopCh \u003c-chan struct{}, doneCh chan\u003c- struct{})\n```\nRunWorker is a long-running function that will continually call the processNextWorkItem function in order to read and process a message on the workqueue.\n\n```go\nfunc (c *Controller) WorkerCount() int\n```\nWorkerCount returns the worker count for the controller\n\n","path":"github.com/CrunchyData/postgres-operator/internal/controller/pgcluster","name":"pgcluster","synopsis":"","isRedistributable":true}
