nodes

package
v0.0.0-...-f94be1b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instance

func Instance() *nodes

Use only this function to fetch the instance of nodes from within this package to avoid creating stateless duplicates of the plugin.

Types

type ArcHealthResponse

type ArcHealthResponse struct {
	Health         string `json:"health"`
	NodeCount      int64  `json:"node_count"`
	NodeCountSeven int64  `json:"node_count_7d"`
}

type ESNode

type ESNode struct {
	PingTime *int64 `json:"ping_time"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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