Documentation ¶
Index ¶
- func ConfigureCockroachCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- func ConfigureYugabyteCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- type CockroachClusterController
- type PostgreSQLInstanceCockroachClaimController
- type PostgreSQLInstanceYugabyteClaimController
- type YugabyteClusterController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureCockroachCluster ¶
func ConfigureCockroachCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigureCockroachCluster configures the supplied instance (presumed to be a CockroachCluster) using the supplied instance claim (presumed to be a PostgreSQLInstance) and instance class.
func ConfigureYugabyteCluster ¶
func ConfigureYugabyteCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigureYugabyteCluster configures the supplied instance (presumed to be a YugabyteCluster) using the supplied instance claim (presumed to be a PostgreSQLInstance) and instance class.
Types ¶
type CockroachClusterController ¶
type CockroachClusterController struct{}
CockroachClusterController is responsible for adding the CockroachCluster controller and its corresponding reconciler to the manager with any runtime configuration.
func (*CockroachClusterController) SetupWithManager ¶
func (c *CockroachClusterController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new CockroachCluster Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and start it when the Manager is Started.
type PostgreSQLInstanceCockroachClaimController ¶
type PostgreSQLInstanceCockroachClaimController struct{}
PostgreSQLInstanceCockroachClaimController is responsible for adding the PostgreSQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.
func (*PostgreSQLInstanceCockroachClaimController) SetupWithManager ¶
func (c *PostgreSQLInstanceCockroachClaimController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.
type PostgreSQLInstanceYugabyteClaimController ¶
type PostgreSQLInstanceYugabyteClaimController struct{}
PostgreSQLInstanceYugabyteClaimController is responsible for adding the PostgreSQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.
func (*PostgreSQLInstanceYugabyteClaimController) SetupWithManager ¶
func (c *PostgreSQLInstanceYugabyteClaimController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.
type YugabyteClusterController ¶
type YugabyteClusterController struct{}
YugabyteClusterController is responsible for adding the YugabyteCluster controller and its corresponding reconciler to the manager with any runtime configuration.
func (*YugabyteClusterController) SetupWithManager ¶
func (c *YugabyteClusterController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new YugabyteCluster Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and start it when the Manager is Started.