File tree 6 files changed +13
-14
lines changed
pgbouncer/management/controller
6 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- // Package controller contains the function in PGK that reacts to events in
18
- // the cluster .
17
+ // Package controller contains the functions in PostgreSQL instance manager
18
+ // that reacts to changes to the Cluster resource .
19
19
package controller
20
20
21
21
import (
@@ -33,8 +33,8 @@ import (
33
33
"github.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres/webserver/metricserver"
34
34
)
35
35
36
- // InstanceReconciler can reconcile the status of the PostgreSQL cluster with
37
- // the one of this PostgreSQL instance. Also the configuration in the
36
+ // InstanceReconciler reconciles the status of the Cluster resource with
37
+ // the one of this PostgreSQL instance. Also, the configuration in the
38
38
// ConfigMap is applied when needed
39
39
type InstanceReconciler struct {
40
40
client ctrl.Client
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- // Package controller contains the function in PGK that reacts to events in
18
- // the cluster .
17
+ // Package controller contains the functions in pgbouncer instance manager
18
+ // that reacts to changes in the Pooler resource .
19
19
package controller
20
20
21
21
import (
@@ -38,9 +38,8 @@ import (
38
38
"github.com/cloudnative-pg/cloudnative-pg/pkg/management/pgbouncer/config"
39
39
)
40
40
41
- // PgBouncerReconciler can reconcile the status of the PostgreSQL cluster with
42
- // the one of this PostgreSQL instance. Also the configuration in the
43
- // ConfigMap is applied when needed
41
+ // PgBouncerReconciler reconciles the status of the Pooler resource with
42
+ // the one of this pgbouncer instance
44
43
type PgBouncerReconciler struct {
45
44
client ctrl.WithWatch
46
45
poolerWatch watch.Interface
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- // Package log contains the logging subsystem of PGK
17
+ // Package log contains the logging subsystem of the instance manager
18
18
package log
19
19
20
20
import (
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- // Package logtest contains the testing utils for the logging subsystem of PGK
17
+ // Package logtest contains the testing utils for the logging subsystem of the instance manager
18
18
package logtest
19
19
20
20
import (
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ limitations under the License.
15
15
*/
16
16
17
17
// Package postgres contains the function about starting up,
18
- // shutting down and managing a PostgreSQL instance. This functions
19
- // are primarily used by PGK
18
+ // shutting down and managing a PostgreSQL instance. These functions
19
+ // are primarily used by the instance manager
20
20
package postgres
21
21
22
22
import (
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
22
22
)
23
23
24
- // CreateRoleBinding is the binding between the permissions that PGK can use
24
+ // CreateRoleBinding is the binding between the permissions that the instance manager can use
25
25
// and the ServiceAccount used by the Pod
26
26
func CreateRoleBinding (objectMeta metav1.ObjectMeta ) rbacv1.RoleBinding {
27
27
return rbacv1.RoleBinding {
You can’t perform that action at this time.
0 commit comments