clusters

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusRUNNING = "RUNNING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CadenceReconciler

type CadenceReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

CadenceReconciler reconciles a Cadence object

func (*CadenceReconciler) HandleCreateCluster

func (r *CadenceReconciler) HandleCreateCluster(
	ctx context.Context,
	cadence *clustersv1alpha1.Cadence,
	logger logr.Logger,
) reconcile.Result

func (*CadenceReconciler) HandleDeleteCluster

func (r *CadenceReconciler) HandleDeleteCluster(
	ctx context.Context,
	cadence *clustersv1alpha1.Cadence,
	logger logr.Logger,
) reconcile.Result

func (*CadenceReconciler) HandleUpdateCluster

func (r *CadenceReconciler) HandleUpdateCluster(
	ctx context.Context,
	cadence *clustersv1alpha1.Cadence,
	logger logr.Logger,
) reconcile.Result

func (*CadenceReconciler) Reconcile

func (r *CadenceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Cadence object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*CadenceReconciler) SetupWithManager

func (r *CadenceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type CassandraReconciler

type CassandraReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

CassandraReconciler reconciles a Cassandra object

func (*CassandraReconciler) Reconcile

func (r *CassandraReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*CassandraReconciler) SetupWithManager

func (r *CassandraReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KafkaConnectReconciler

type KafkaConnectReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

KafkaConnectReconciler reconciles a KafkaConnect object

func (*KafkaConnectReconciler) Reconcile

func (r *KafkaConnectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*KafkaConnectReconciler) SetupWithManager

func (r *KafkaConnectReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KafkaReconciler

type KafkaReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

KafkaReconciler reconciles a Kafka object

func (*KafkaReconciler) Reconcile

func (r *KafkaReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*KafkaReconciler) SetupWithManager

func (r *KafkaReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type OpenSearchReconciler

type OpenSearchReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

OpenSearchReconciler reconciles a OpenSearch object

func (*OpenSearchReconciler) HandleCreateCluster

func (r *OpenSearchReconciler) HandleCreateCluster(
	ctx context.Context,
	o *clustersv1alpha1.OpenSearch,
	logger logr.Logger,
) reconcile.Result

func (*OpenSearchReconciler) HandleDeleteCluster

func (r *OpenSearchReconciler) HandleDeleteCluster(
	ctx context.Context,
	o *clustersv1alpha1.OpenSearch,
	logger logr.Logger,
) reconcile.Result

func (*OpenSearchReconciler) HandleUpdateCluster

func (r *OpenSearchReconciler) HandleUpdateCluster(
	ctx context.Context,
	o *clustersv1alpha1.OpenSearch,
	logger logr.Logger,
) reconcile.Result

func (*OpenSearchReconciler) Reconcile

func (r *OpenSearchReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*OpenSearchReconciler) SetupWithManager

func (r *OpenSearchReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PostgreSQLReconciler

type PostgreSQLReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

PostgreSQLReconciler reconciles a PostgreSQL object

func (*PostgreSQLReconciler) HandleCreateCluster

func (r *PostgreSQLReconciler) HandleCreateCluster(
	ctx context.Context,
	pg *clustersv1alpha1.PostgreSQL,
	logger logr.Logger,
) reconcile.Result

func (*PostgreSQLReconciler) HandleDeleteCluster

func (r *PostgreSQLReconciler) HandleDeleteCluster(
	ctx context.Context,
	pg *clustersv1alpha1.PostgreSQL,
	logger logr.Logger,
) reconcile.Result

func (*PostgreSQLReconciler) HandleUpdateCluster

func (r *PostgreSQLReconciler) HandleUpdateCluster(
	ctx context.Context,
	pg *clustersv1alpha1.PostgreSQL,
	logger logr.Logger,
) reconcile.Result

func (*PostgreSQLReconciler) Reconcile

func (r *PostgreSQLReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*PostgreSQLReconciler) SetupWithManager

func (r *PostgreSQLReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type RedisReconciler

type RedisReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

RedisReconciler reconciles a Redis object

func (*RedisReconciler) Reconcile

func (r *RedisReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*RedisReconciler) SetupWithManager

func (r *RedisReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ZookeeperReconciler

type ZookeeperReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	API           instaclustr.API
	Scheduler     scheduler.Interface
	EventRecorder record.EventRecorder
}

ZookeeperReconciler reconciles a Zookeeper object

func (*ZookeeperReconciler) Reconcile

func (r *ZookeeperReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*ZookeeperReconciler) SetupWithManager

func (r *ZookeeperReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL