threadtype

package
v8.4.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package threadtype

Index

Constants

This section is empty.

Variables

View Source
var (
	Cpu = ThreadType{"cpu"}

	Wait = ThreadType{"wait"}

	Block = ThreadType{"block"}

	Gpu = ThreadType{"gpu"}

	Mem = ThreadType{"mem"}
)

Functions

This section is empty.

Types

type ThreadType

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

https://github.com/elastic/elasticsearch-specification/blob/4316fc1aa18bb04678b156f23b22c9d3f996f9c9/specification/_types/common.ts#L255-L261

func (ThreadType) MarshalText

func (t ThreadType) MarshalText() (text []byte, err error)

func (ThreadType) String

func (t ThreadType) String() string

func (*ThreadType) UnmarshalText

func (t *ThreadType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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