Documentation
¶
Index ¶
- type CertRotationMonolithicReconciler
- type CertRotationReconciler
- type OperatorReconciler
- type TempoMonolithicReconciler
- type TempoStackReconciler
- func (r *TempoStackReconciler) GetPodsComponent(ctx context.Context, componentName string, stack v1alpha1.TempoStack) (*corev1.PodList, error)
- func (r *TempoStackReconciler) PatchStatus(ctx context.Context, changed, original *v1alpha1.TempoStack) error
- func (r *TempoStackReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *TempoStackReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertRotationMonolithicReconciler ¶ added in v0.19.0
type CertRotationMonolithicReconciler struct {
client.Client
Scheme *runtime.Scheme
FeatureGates configv1alpha1.FeatureGates
}
CertRotationMonolithicReconciler reconciles the `tempo.grafana.com/certRotationRequiredAt` annotation on any TempoMonolithic object associated with any of the owned signer/client/serving certificates secrets and CA bundle configmap.
func (*CertRotationMonolithicReconciler) Reconcile ¶ added in v0.19.0
func (r *CertRotationMonolithicReconciler) 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. Compare the state specified by the TempoMonolithic 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.7.0/pkg/reconcile
func (*CertRotationMonolithicReconciler) SetupWithManager ¶ added in v0.19.0
func (r *CertRotationMonolithicReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CertRotationReconciler ¶
type CertRotationReconciler struct {
client.Client
Scheme *runtime.Scheme
FeatureGates configv1alpha1.FeatureGates
}
CertRotationReconciler reconciles the `tempo.grafana.com/certRotationRequiredAt` annotation on any TempoStack object associated with any of the owned signer/client/serving certificates secrets and CA bundle configmap.
func (*CertRotationReconciler) Reconcile ¶
func (r *CertRotationReconciler) 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. Compare the state specified by the TempoStack 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.7.0/pkg/reconcile
func (*CertRotationReconciler) SetupWithManager ¶
func (r *CertRotationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OperatorReconciler ¶
OperatorReconciler reconciles the operator configuration.
func (*OperatorReconciler) Reconcile ¶
func (r *OperatorReconciler) Reconcile(ctx context.Context, ctrlConfig configv1alpha1.ProjectConfig) error
Reconcile reconciles the operator configuration.
type TempoMonolithicReconciler ¶
type TempoMonolithicReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
CtrlConfig configv1alpha1.ProjectConfig
Version version.Version
}
TempoMonolithicReconciler reconciles a TempoMonolithic object.
func (*TempoMonolithicReconciler) Reconcile ¶
func (r *TempoMonolithicReconciler) 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.
func (*TempoMonolithicReconciler) SetupWithManager ¶
func (r *TempoMonolithicReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TempoStackReconciler ¶
type TempoStackReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
CtrlConfig configv1alpha1.ProjectConfig
Version version.Version
}
TempoStackReconciler reconciles a TempoStack object.
func (*TempoStackReconciler) GetPodsComponent ¶
func (r *TempoStackReconciler) GetPodsComponent(ctx context.Context, componentName string, stack v1alpha1.TempoStack) (*corev1.PodList, error)
GetPodsComponent is used for fetching component pod status and refreshing the status of the CR.
func (*TempoStackReconciler) PatchStatus ¶
func (r *TempoStackReconciler) PatchStatus(ctx context.Context, changed, original *v1alpha1.TempoStack) error
PatchStatus patches the status field of the CR.
func (*TempoStackReconciler) Reconcile ¶
func (r *TempoStackReconciler) 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.
func (*TempoStackReconciler) SetupWithManager ¶
func (r *TempoStackReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.