Documentation ¶
Index ¶
- func DeletePodForUpdate(ctx context.Context, r *SolrCloudReconciler, instance *solrv1beta1.SolrCloud, ...) (requeueAfterDuration time.Duration, err error)
- func EnsurePodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType, ...) (conditionNeedsChange bool)
- func EnsurePodReadinessConditions(ctx context.Context, r *SolrCloudReconciler, pod *corev1.Pod, ...) (updatedPod *corev1.Pod, err error)
- func InitializeCustomPodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType, ...) (conditionNeedsInitializing bool)
- func InitializePodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType) (conditionNeedsInitializing bool)
- func PodConditionEquals(pod *corev1.Pod, conditionType corev1.PodConditionType, ...) bool
- func UseZkCRD(useCRD bool)
- type PodConditionChangeReason
- type SolrBackupReconciler
- type SolrCloudReconciler
- type SolrPrometheusExporterReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePodForUpdate ¶ added in v0.7.0
func EnsurePodReadinessCondition ¶ added in v0.7.0
func EnsurePodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType, ensureCondition podReadinessConditionChange) (conditionNeedsChange bool)
EnsurePodReadinessCondition ensure the podCondition is set to the given values
func EnsurePodReadinessConditions ¶ added in v0.7.0
func InitializeCustomPodReadinessCondition ¶ added in v0.7.0
func InitializeCustomPodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType, reason PodConditionChangeReason, message string, status bool) (conditionNeedsInitializing bool)
InitializeCustomPodReadinessCondition set the default value for a pod's readiness condition after pod creation, given all the default values to set
func InitializePodReadinessCondition ¶ added in v0.7.0
func InitializePodReadinessCondition(pod *corev1.Pod, conditionType corev1.PodConditionType) (conditionNeedsInitializing bool)
InitializePodReadinessCondition set the default value for a pod's readiness condition after pod creation.
func PodConditionEquals ¶ added in v0.7.0
func PodConditionEquals(pod *corev1.Pod, conditionType corev1.PodConditionType, reason PodConditionChangeReason) bool
PodConditionEquals check if a podCondition equals what is expected
Types ¶
type PodConditionChangeReason ¶ added in v0.7.0
type PodConditionChangeReason string
PodConditionChangeReason describes the reason why a Pod is being stopped.
const ( PodStarted PodConditionChangeReason = "PodStarted" PodUpdate PodConditionChangeReason = "PodUpdate" EvictingReplicas PodConditionChangeReason = "EvictingReplicas" StatefulSetScaleDown PodConditionChangeReason = "StatefulSetScaleDown" )
type SolrBackupReconciler ¶
SolrBackupReconciler reconciles a SolrBackup object
func (*SolrBackupReconciler) Reconcile ¶
func (r *SolrBackupReconciler) 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.8.3/pkg/reconcile
func (*SolrBackupReconciler) SetupWithManager ¶
func (r *SolrBackupReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
SetupWithManager sets up the controller with the Manager.
type SolrCloudReconciler ¶
SolrCloudReconciler reconciles a SolrCloud object
func (*SolrCloudReconciler) 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.8.3/pkg/reconcile
func (*SolrCloudReconciler) SetupWithManager ¶
func (r *SolrCloudReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SolrPrometheusExporterReconciler ¶
SolrPrometheusExporterReconciler reconciles a SolrPrometheusExporter object
func (*SolrPrometheusExporterReconciler) Reconcile ¶
func (r *SolrPrometheusExporterReconciler) 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.8.3/pkg/reconcile
func (*SolrPrometheusExporterReconciler) SetupWithManager ¶
func (r *SolrPrometheusExporterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.