Documentation
¶
Index ¶
- type CadenceReconciler
- type CassandraReconciler
- type ClusterObject
- type KafkaConnectReconciler
- type KafkaReconciler
- type Object
- type OpenSearchReconciler
- func (r *OpenSearchReconciler) HandleCreateCluster(ctx context.Context, o *v1beta1.OpenSearch, logger logr.Logger) (reconcile.Result, error)
- func (r *OpenSearchReconciler) HandleDeleteCluster(ctx context.Context, o *v1beta1.OpenSearch, logger logr.Logger) (reconcile.Result, error)
- func (r *OpenSearchReconciler) HandleUpdateCluster(ctx context.Context, o *v1beta1.OpenSearch, logger logr.Logger) (reconcile.Result, error)
- func (r *OpenSearchReconciler) NewUserResource() userObject
- func (r *OpenSearchReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *OpenSearchReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PostgreSQLReconciler
- type RedisReconciler
- type ZookeeperReconciler
Constants ¶
This section is empty.
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) Reconcile ¶
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 (*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) NewUserResource ¶ added in v0.1.3
func (r *CassandraReconciler) NewUserResource() userObject
NewUserResource implements userResourceFactory interface
func (*CassandraReconciler) Reconcile ¶
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 ClusterObject ¶ added in v0.1.4
type ClusterObject interface {
Object
GetUserRefs() v1beta1.References
SetUserRefs(refs v1beta1.References)
GetAvailableUsers() v1beta1.References
SetAvailableUsers(users v1beta1.References)
GetClusterID() string
GetDataCentreID(cdcName string) string
SetClusterID(id string)
}
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) NewUserResource ¶ added in v0.1.3
func (r *KafkaReconciler) NewUserResource() userObject
func (*KafkaReconciler) Reconcile ¶
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 Object ¶ added in v0.1.3
Object is a general representation of any object the operator works with
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 *v1beta1.OpenSearch, logger logr.Logger, ) (reconcile.Result, error)
func (*OpenSearchReconciler) HandleDeleteCluster ¶
func (r *OpenSearchReconciler) HandleDeleteCluster( ctx context.Context, o *v1beta1.OpenSearch, logger logr.Logger, ) (reconcile.Result, error)
func (*OpenSearchReconciler) HandleUpdateCluster ¶
func (r *OpenSearchReconciler) HandleUpdateCluster( ctx context.Context, o *v1beta1.OpenSearch, logger logr.Logger, ) (reconcile.Result, error)
func (*OpenSearchReconciler) NewUserResource ¶ added in v0.1.3
func (r *OpenSearchReconciler) NewUserResource() userObject
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) DefaultSecretExists ¶ added in v0.1.2
func (r *PostgreSQLReconciler) DefaultSecretExists(ctx context.Context, pg *v1beta1.PostgreSQL) (bool, error)
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
RateLimiter ratelimiter.RateLimiter
}
RedisReconciler reconciles a Redis object
func (*RedisReconciler) NewUserResource ¶ added in v0.1.3
func (r *RedisReconciler) NewUserResource() userObject
func (*RedisReconciler) Reconcile ¶
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 ¶
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.