{"modulePath":"github.com/CrunchyData/postgres-operator","version":"v4.3.4+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package configmap\n\n## Types\n\n```go\ntype Controller struct {\n\t// contains filtered or unexported fields\n}\n```\nController holds connections and other resources for the ConfigMap controller\n\n```go\nfunc NewConfigMapController(restConfig *rest.Config, restClient *rest.RESTClient,\n\tclientset *kubernetes.Clientset, coreInformer coreinformers.ConfigMapInformer,\n\tpgoInformer pgoinformers.PgclusterInformer, workerCount int) (*Controller, error)\n```\nNewConfigMapController is responsible for creating a new ConfigMap controller\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 worker queue.  Once the worker queue is instructed to shutdown, a message is written to the done channel.\n\n```go\nfunc (c *Controller) ShutdownWorker()\n```\nShutdownWorker shuts down the work queue\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/controller/configmap","name":"configmap","synopsis":"","isRedistributable":true}
