index

package
v0.0.0-...-0fffe9f Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) ([]string, error)

FromContext retrieves the slice of indices or index patterns stored against the index.CtxKey from the context.

func NewContext

func NewContext(ctx context.Context, indices []string) context.Context

NewContext returns a new context with the given indices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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