propagation

package
v0.0.0-...-9331f55 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package propagation provides object-propagation controller reconciler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ObjectType       client.Object
	ObjectListType   client.ObjectList
	SourceNamespace  string
	DetectSrcNSRef   bool
	SourceSelector   labels.Selector
	TargetNSSelector labels.Selector
}

func Configs

func Configs(configEntries []*config.Entry) []*Config

func NewConfig

func NewConfig(configEntry *config.Entry) *Config

type Reconciler

type Reconciler struct {
	Ctx context.Context
	Log logr.Logger

	Client client.Client
	Config Config
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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