optype

package
v8.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Overview

Package optype

Index

Constants

This section is empty.

Variables

View Source
var (
	Index = OpType{"index"}

	Create = OpType{"create"}
)

Functions

This section is empty.

Types

type OpType

type OpType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/ac9c431ec04149d9048f2b8f9731e3c2f7f38754/specification/_types/common.ts#L255-L264

func (OpType) MarshalText

func (o OpType) MarshalText() (text []byte, err error)

func (OpType) String

func (o OpType) String() string

func (*OpType) UnmarshalText

func (o *OpType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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