Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldIndexName

func FieldIndexName(field string) string

    FieldIndexName constructs the name of the index over the given field, for use with an indexer.

    func KeyToNamespacedKey

    func KeyToNamespacedKey(ns string, baseKey string) string

      KeyToNamespacedKey prefixes the given index key with a namespace for use in field selector indexes.

      func MultiNamespacedFilteredCacheBuilder

      func MultiNamespacedFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector, namespaces []string) cache.NewCacheFunc

        MultiNamespacedFilteredCacheBuilder implements a customized cache with a filter for specified resources with multiple namespaces

        func NewFilteredCacheBuilder

        func NewFilteredCacheBuilder(gvkLabelMap map[schema.GroupVersionKind]Selector) cache.NewCacheFunc

          NewFilteredCacheBuilder implements a customized cache with a filter for specified resources

          Types

          type Selector

          type Selector struct {
          	LabelSelector string
          	FieldSelector string
          }

            Selector contains LabelSelector FieldSelector