indexer

package
v0.0.0-...-b7f4efd Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 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"
	ApiV4SharedPolicyGroupsField IndexField = "api-v4-spg"
	ApiTemplateField             IndexField = "api-template"
	TLSSecretField               IndexField = "tls-secret"
	AppContextField              IndexField = "app-context"
	ApiV2SubsField               IndexField = "api-v2-subscription"
	ApiV4SubsField               IndexField = "api-v4-subscription"
	SPGContextField              IndexField = "spg-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