informers

package
v0.0.0-...-6c23f14 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlags

func InitFlags(flagset *flag.FlagSet)

InitFlags initializes flags for the Kubernetes client.

Types

type Config

type Config struct {
	Namespace string
	Services  []string
}

Config represents a collection of Kubernetes services in a namespace.

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages a collection of informers.

func NewManager

func NewManager(ctx context.Context, xdsCache *xds.SnapshotCache) (*Manager, error)

NewManager creates an instance that manages a collection of informers.

func (*Manager) AddEndpointSliceInformer

func (m *Manager) AddEndpointSliceInformer(ctx context.Context, config Config) error

Jump to

Keyboard shortcuts

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