Documentation ¶
Index ¶
Constants ¶
View Source
const ( DatasourcesApiVersion = 1 ControllerName = "controller_grafanadatasource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatasourcePipeline ¶
func NewDatasourcePipeline ¶
func NewDatasourcePipeline(ds *v1alpha1.GrafanaDataSource) DatasourcePipeline
type DatasourcePipelineImpl ¶
type DatasourcePipelineImpl struct {
// contains filtered or unexported fields
}
func (*DatasourcePipelineImpl) ProcessDatasource ¶
func (i *DatasourcePipelineImpl) ProcessDatasource(known *v1.ConfigMap) error
type GrafanaDatasourceReconciler ¶
type GrafanaDatasourceReconciler struct { // This Client, initialized using mgr.Client() above, is a split Client // that reads objects from the cache and writes to the apiserver Client client.Client Scheme *runtime.Scheme Context context.Context Cancel context.CancelFunc Recorder record.EventRecorder Logger logr.Logger }
GrafanaDatasourceReconciler reconciles a GrafanaDatasource object
func (*GrafanaDatasourceReconciler) Reconcile ¶
func (r *GrafanaDatasourceReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile
func (*GrafanaDatasourceReconciler) SetupWithManager ¶
func (r *GrafanaDatasourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.