ctrlconfig

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscoveryClient added in v0.0.43

func GetDiscoveryClient(mgr manager.Manager) (*discovery.DiscoveryClient, error)

func InitContext

func InitContext(ctx context.Context, controllerName string, req types.NamespacedName) context.Context

Types

type ControllerConfig

type ControllerConfig struct {
	TargetStore       storebackend.Storer[*target.Context]
	DataServerStore   storebackend.Storer[sdcctx.DSContext]
	SchemaServerStore storebackend.Storer[sdcctx.SSContext]
	SchemaDir         string
	TargetHandler     *target.TargetHandler
}

Jump to

Keyboard shortcuts

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