elastic

package
v0.6.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpniMasterWorkload     = "opni-es-master"
	OpniDataWorkload       = "opni-es-data"
	OpniClientWorkload     = "opni-es-client"
	OpniDashboardsWorkload = "opni-es-kibana"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterHealthResponse added in v0.2.1

type ClusterHealthResponse struct {
	Status             string  `json:"status,omitempty"`
	ActiveShards       int     `json:"active_shards,omitempty"`
	RelocatingShards   int     `json:"relocating_shards,omitempty"`
	InitializingShards int     `json:"initializing_shards,omitempty"`
	UnassignedShards   int     `json:"unassigned_shards,omitempty"`
	PercentActive      float32 `json:"active_shards_percent_as_number,omitempty"`
}

type ClusterSettings added in v0.2.1

type ClusterSettings struct {
	Persistent Persistent `json:"persistent,omitempty"`
}

type Persistent added in v0.2.1

type Persistent struct {
	ClusterRoutingAllocationEnable string `json:"cluster.routing.allocation.enable,omitempty"`
}

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(ctx context.Context, client client.Client, opniCluster *v1beta2.OpniCluster) *Reconciler

func (*Reconciler) OpensearchResources added in v0.4.0

func (r *Reconciler) OpensearchResources() (resourceList []resources.Resource, _ error)

func (*Reconciler) UpgradeData added in v0.2.1

func (r *Reconciler) UpgradeData() (retry bool, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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