Documentation ¶
Index ¶
- Constants
- func GetGrafanaPort(cr *v1beta1.Grafana) int
- func GetIngressTargetPort(cr *v1beta1.Grafana) intstr.IntOrString
- func NewAdminSecretReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- func NewCompleteReconciler() reconcilers.OperatorGrafanaReconciler
- func NewConfigReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- func NewDeploymentReconciler(client client.Client, isOpenShift bool) reconcilers.OperatorGrafanaReconciler
- func NewIngressReconciler(client client.Client, isOpenShift bool) reconcilers.OperatorGrafanaReconciler
- func NewPluginsReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- func NewPvcReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- func NewServiceAccountReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- func NewServiceReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
- type AdminSecretReconciler
- type CompleteReconciler
- type ConfigReconciler
- type DeploymentReconciler
- type IngressReconciler
- type PluginsReconciler
- type PvcReconciler
- type ServiceAccountReconciler
- type ServiceReconciler
Constants ¶
View Source
const ( MemoryRequest = "256Mi" CpuRequest = "100m" MemoryLimit = "1024Mi" GrafanaHealthEndpoint = "/api/health" ReadinessProbeFailureThreshold int32 = 1 ReadinessProbeInitialDelaySeconds int32 = 5 ReadinessProbePeriodSeconds int32 = 10 ReadinessProbeSuccessThreshold int32 = 1 ReadinessProbeTimeoutSeconds int32 = 3 )
View Source
const (
RouteKind = "Route"
)
Variables ¶
This section is empty.
Functions ¶
func GetGrafanaPort ¶
func GetIngressTargetPort ¶
func GetIngressTargetPort(cr *v1beta1.Grafana) intstr.IntOrString
func NewAdminSecretReconciler ¶
func NewAdminSecretReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
func NewCompleteReconciler ¶
func NewCompleteReconciler() reconcilers.OperatorGrafanaReconciler
func NewConfigReconciler ¶
func NewConfigReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
func NewDeploymentReconciler ¶
func NewDeploymentReconciler(client client.Client, isOpenShift bool) reconcilers.OperatorGrafanaReconciler
func NewIngressReconciler ¶
func NewIngressReconciler(client client.Client, isOpenShift bool) reconcilers.OperatorGrafanaReconciler
func NewPluginsReconciler ¶
func NewPluginsReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
func NewPvcReconciler ¶
func NewPvcReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
func NewServiceAccountReconciler ¶
func NewServiceAccountReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
func NewServiceReconciler ¶
func NewServiceReconciler(client client.Client) reconcilers.OperatorGrafanaReconciler
Types ¶
type AdminSecretReconciler ¶
type AdminSecretReconciler struct {
// contains filtered or unexported fields
}
func (*AdminSecretReconciler) Reconcile ¶
func (r *AdminSecretReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type CompleteReconciler ¶
type CompleteReconciler struct{}
func (*CompleteReconciler) Reconcile ¶
func (r *CompleteReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type ConfigReconciler ¶
type ConfigReconciler struct {
// contains filtered or unexported fields
}
func (*ConfigReconciler) Reconcile ¶
func (r *ConfigReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type DeploymentReconciler ¶
type DeploymentReconciler struct {
// contains filtered or unexported fields
}
func (*DeploymentReconciler) Reconcile ¶
func (r *DeploymentReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type IngressReconciler ¶
type IngressReconciler struct {
// contains filtered or unexported fields
}
func (*IngressReconciler) Reconcile ¶
func (r *IngressReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type PluginsReconciler ¶
type PluginsReconciler struct {
// contains filtered or unexported fields
}
func (*PluginsReconciler) Reconcile ¶
func (r *PluginsReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type PvcReconciler ¶
type PvcReconciler struct {
// contains filtered or unexported fields
}
func (*PvcReconciler) Reconcile ¶
func (r *PvcReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type ServiceAccountReconciler ¶
type ServiceAccountReconciler struct {
// contains filtered or unexported fields
}
func (*ServiceAccountReconciler) Reconcile ¶
func (r *ServiceAccountReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
type ServiceReconciler ¶
type ServiceReconciler struct {
// contains filtered or unexported fields
}
func (*ServiceReconciler) Reconcile ¶
func (r *ServiceReconciler) Reconcile(ctx context.Context, cr *v1beta1.Grafana, status *v1beta1.GrafanaStatus, vars *v1beta1.OperatorReconcileVars, scheme *runtime.Scheme) (v1beta1.OperatorStageStatus, error)
Click to show internal directories.
Click to hide internal directories.