indexer

package
v0.0.0-...-b110700 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 10 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"
	ApiV2SubsField     IndexField = "api-v2-subscription"
	ApiV4SubsField     IndexField = "api-v4-subscription"
)

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