grafanadatasource

package
v4.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DatasourcesApiVersion = 1
	ControllerName        = "controller_grafanadatasource"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatasourcePipeline

type DatasourcePipeline interface {
	ProcessDatasource(known *v1.ConfigMap) error
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL