decision

package
v8.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Overview

Package decision

Index

Constants

This section is empty.

Variables

View Source
var (
	Yes = Decision{"yes"}

	No = Decision{"no"}

	Worsebalance = Decision{"worse_balance"}

	Throttled = Decision{"throttled"}

	Awaitinginfo = Decision{"awaiting_info"}

	Allocationdelayed = Decision{"allocation_delayed"}

	Novalidshardcopy = Decision{"no_valid_shard_copy"}

	Noattempt = Decision{"no_attempt"}
)

Functions

This section is empty.

Types

type Decision

type Decision struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/a0da620389f06553c0727f98f95e40dbb564fcca/specification/cluster/allocation_explain/types.ts#L86-L95

func (Decision) MarshalText

func (d Decision) MarshalText() (text []byte, err error)

func (Decision) String

func (d Decision) String() string

func (*Decision) UnmarshalText

func (d *Decision) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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