injector

package
v0.0.0-...-93aadaf Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NamespacedName  types.NamespacedName
	InjectorHandler InjectorFn
	Client          client.Client
}

type Injector

type Injector interface {
	GetName() string
	Run(ctx context.Context)
	Stop()
}

func New

func New(c *Config) Injector

type InjectorFn

type InjectorFn func(context.Context, types.NamespacedName) error

Jump to

Keyboard shortcuts

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