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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.