looper

package
v0.0.0-...-fd237a5 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveSkrCollection

type ActiveSkrCollection interface {
	AddKymaName(kymaName string)
	RemoveKymaName(kymaName string)
}

type RunOption

type RunOption = func(options *RunOptions)

func WithTimeout

func WithTimeout(timeout time.Duration) RunOption

type RunOptions

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

type SkrLooper

type SkrLooper interface {
	manager.Runnable
	ActiveSkrCollection
}

func New

func New(kcpCluster cluster.Cluster, skrScheme *runtime.Scheme, reg registry.SkrRegistry, logger logr.Logger) SkrLooper

type SkrRunner

type SkrRunner interface {
	Run(ctx context.Context, mngr skrmanager.SkrManager, opts ...RunOption)
	GetControllerOptions(
		descriptor registry.Descriptor,
		skrManager skrmanager.SkrManager,
	) controller.Options
}

func NewSkrRunner

func NewSkrRunner(reg registry.SkrRegistry, kcpCluster cluster.Cluster) SkrRunner

Jump to

Keyboard shortcuts

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