watchlist

package
v0.9.17 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package watchlist decides whether Steve's informers use the client-go watch-list protocol (sendInitialEvents) or fall back to LIST+WATCH.

Index

Constants

This section is empty.

Variables

View Source
var Whitelist = map[schema.GroupVersionKind]bool{
	{Group: "ext.cattle.io", Version: "v1", Kind: "Token"}:      true,
	{Group: "ext.cattle.io", Version: "v1", Kind: "Kubeconfig"}: true,
}

Whitelist holds aggregated (external) GVKs known to implement watch-list correctly, which may therefore keep watch-list enabled.

Functions

func Disabled

func Disabled(s *types.APISchema) bool

Disabled reports whether watch-list should be disabled for the schema's informer: true only for aggregated, non-whitelisted APIs (nil and built-in stay enabled, failing safe).

Types

This section is empty.

Jump to

Keyboard shortcuts

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