indexer

package
v0.0.0-...-3c42354 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCache

func InitCache(ctx context.Context, cache cache.Cache) error

Types

type Func

type Func = func(obj client.Object) []string

type IndexField

type IndexField string
const (
	ApiContextField    IndexField = "context"
	ApiV4ContextField  IndexField = "api-v4-context"
	SecretRefField     IndexField = "secretRef"
	ApiResourceField   IndexField = "resource"
	ApiV4ResourceField IndexField = "api-v4-resource"
	ApiTemplateField   IndexField = "api-template"
	TLSSecretField     IndexField = "tls-secret"
	AppContextField    IndexField = "app-context"
)

func (IndexField) String

func (f IndexField) String() string

type Indexer

type Indexer struct {
	Field string
	Func  Func
}

Jump to

Keyboard shortcuts

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