controller

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaInstanceReconciler

type GrafanaInstanceReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	EventRecorder   record.EventRecorder
	ReconcilePeriod time.Duration
}

GrafanaInstanceReconciler reconciles a GrafanaInstance object

func (*GrafanaInstanceReconciler) 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.16.3/pkg/reconcile

func (*GrafanaInstanceReconciler) SetReconciledCondition

func (r *GrafanaInstanceReconciler) SetReconciledCondition(
	ctx context.Context, req ctrl.Request, controllerLog logr.Logger,
	grafanaInstance *v1beta1.GrafanaInstance,
	reason string, message string, err error,
) (ctrl.Result, error)

SetReconciledCondition sets condition and log.

func (*GrafanaInstanceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type GrafanaOrgDashboardReconciler added in v1.2.0

type GrafanaOrgDashboardReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	EventRecorder   record.EventRecorder
	ReconcilePeriod time.Duration
}

GrafanaOrgDashboardReconciler reconciles a GrafanaOrgDashboard object

func (*GrafanaOrgDashboardReconciler) Reconcile added in v1.2.0

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.17.3/pkg/reconcile

func (*GrafanaOrgDashboardReconciler) SetReconciledCondition added in v1.2.0

func (r *GrafanaOrgDashboardReconciler) SetReconciledCondition(
	ctx context.Context, req ctrl.Request, controllerLog logr.Logger,
	grafanaOrgDashboard *v1beta1.GrafanaOrgDashboard,
	reason string, message string, err error,
) (ctrl.Result, error)

SetReconciledCondition sets condition and log.

func (*GrafanaOrgDashboardReconciler) SetupWithManager added in v1.2.0

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

SetupWithManager sets up the controller with the Manager.

type GrafanaOrgDatasourceReconciler

type GrafanaOrgDatasourceReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	EventRecorder   record.EventRecorder
	ReconcilePeriod time.Duration
}

GrafanaOrgDatasourceReconciler reconciles a GrafanaOrgDatasource object

func (*GrafanaOrgDatasourceReconciler) 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.16.3/pkg/reconcile

func (*GrafanaOrgDatasourceReconciler) SetReconciledCondition

func (r *GrafanaOrgDatasourceReconciler) SetReconciledCondition(
	ctx context.Context, req ctrl.Request, controllerLog logr.Logger,
	grafanaOrgDatasource *v1beta1.GrafanaOrgDatasource,
	reason string, message string, err error,
) (ctrl.Result, error)

SetReconciledCondition sets condition and log.

func (*GrafanaOrgDatasourceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type GrafanaOrgReconciler

type GrafanaOrgReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	EventRecorder   record.EventRecorder
	ReconcilePeriod time.Duration
}

GrafanaOrgReconciler reconciles a GrafanaOrg object

func (*GrafanaOrgReconciler) Reconcile

func (r *GrafanaOrgReconciler) 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.16.3/pkg/reconcile

func (*GrafanaOrgReconciler) SetReconciledCondition

func (r *GrafanaOrgReconciler) SetReconciledCondition(
	ctx context.Context, req ctrl.Request, controllerLog logr.Logger,
	grafanaOrg *v1beta1.GrafanaOrg,
	reason string, message string, err error,
) (ctrl.Result, error)

SetReconciledCondition sets condition and log.

func (*GrafanaOrgReconciler) SetupWithManager

func (r *GrafanaOrgReconciler) 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