decision

package
v8.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 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/17ac39c7f9266bc303baa029f90194aecb1c3b7c/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