discovery

package
v1.17.0-beta18 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoveryController

func NewDiscoveryController(ctx context.Context, mgr manager.Manager, inputChannels *xds.XdsInputChannels) error

Types

type Translator

type Translator interface {
	ReconcilePod(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
	ReconcileService(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
	ReconcileEndpoints(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
}

Translator is the interface that discovery components must implement to be used by the discovery controller They are responsible for translating Kubernetes resources into the intermediary representation

func NewTranslator

func NewTranslator(cli client.Client, inputChannels *xds.XdsInputChannels) Translator

Jump to

Keyboard shortcuts

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