opensearch

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitController

func InitController(mgr ctrlruntime.Manager) error

InitController start the controller

Types

type Reconciler

type Reconciler struct {
	Client client.Client

	Scheme      *runtime.Scheme
	ModuleClass moduleapi.ModuleClassType
	DryRun      bool
	// contains filtered or unexported fields
}

func (Reconciler) AddTemplateAutoExpand

func (r Reconciler) AddTemplateAutoExpand(controllerCtx controllerspi.ReconcileContext, vz *vzv1alpha1.Verrazzano) error

AddAutoExpandTemplate adds template to add auto expand setting for the indices

func (Reconciler) ConfigureISMPolicies

func (r Reconciler) ConfigureISMPolicies(controllerCtx controllerspi.ReconcileContext, vz *vzv1alpha1.Verrazzano) error

ConfigureISMPolicies configures ISM policies added by user in Vz cr

func (Reconciler) CreateDefaultISMPolicies

func (r Reconciler) CreateDefaultISMPolicies(controllerCtx controllerspi.ReconcileContext, vz *vzv1alpha1.Verrazzano) error

CreateDefaultISMPolicies creates default ISM policies in OpenSearch

func (Reconciler) CreateIndexPatterns

func (r Reconciler) CreateIndexPatterns(controllerCtx controllerspi.ReconcileContext, vz *vzv1alpha1.Verrazzano) error

CreateIndexPatterns creates the required index patterns using osd client

func (Reconciler) DeleteDefaultISMPolicies

func (r Reconciler) DeleteDefaultISMPolicies(controllerCtx controllerspi.ReconcileContext, vz *vzv1alpha1.Verrazzano) error

DeleteDefaultISMPolicies deletes default ISM polcies from OpenSearch

func (Reconciler) GetReconcileObject

func (r Reconciler) GetReconcileObject() client.Object

GetReconcileObject returns the kind of object being reconciled

func (Reconciler) GetVerrazzanoCR

func (r Reconciler) GetVerrazzanoCR() (*vzv1alpha1.Verrazzano, error)

func (Reconciler) GetVerrazzanoNSN

func (r Reconciler) GetVerrazzanoNSN() (*types.NamespacedName, error)

func (Reconciler) HandlePredicateEvent

func (r Reconciler) HandlePredicateEvent(cli client.Client, object client.Object) bool

HandlePredicateEvent returns true if this is the OpenSearch integration operator configmap.

func (Reconciler) Reconcile

Reconcile reconciles the OpenSearch integration configmap. The configmap existence is just used as a mechanism to trigger reconcile, there is nothing in the configmap that is needed to do reconcile.

Jump to

Keyboard shortcuts

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