Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBlackboxTarget

func CreateBlackboxTarget(ctx context.Context, name string, target monitoring.BlackboxtargetData, cfg *config.Monitoring, installation *integreatlyv1alpha1.RHMI, serverClient k8sclient.Client) error

Types

type Parameters

type Parameters struct {
	Params map[string]string
}

type Reconciler

type Reconciler struct {
	Config *config.Monitoring

	ConfigManager config.ConfigReadWriter
	Logger        *logrus.Entry

	*resources.Reconciler
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(configManager config.ConfigReadWriter, installation *integreatlyv1alpha1.RHMI, mpm marketplace.MarketplaceInterface, recorder record.EventRecorder) (*Reconciler, error)

func (*Reconciler) GetPreflightObject

func (r *Reconciler) GetPreflightObject(ns string) runtime.Object

func (*Reconciler) Reconcile

type TemplateHelper

type TemplateHelper struct {
	Parameters   Parameters
	TemplatePath string
}

func NewTemplateHelper

func NewTemplateHelper(extraParams map[string]string) *TemplateHelper

Creates a new templates helper and populates the values for all templates properties. Some of them (like the hostname) are set by the user in the custom resource

func (*TemplateHelper) CreateResource

func (h *TemplateHelper) CreateResource(template string) (runtime.Object, error)