controller

package
v0.0.0-...-7179420 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 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 CacheSync

type CacheSync interface {
	Sync(ctx context.Context, applicationName string) error
	Init(ctx context.Context)
}

func NewCacheSync

func NewCacheSync(
	log *logger.Logger,
	client client.Reader,
	appCache *gocache.Cache,
	controllerName,
	appNamePlaceholder,
	eventingPathPrefixV1,
	eventingPathPrefixV2,
	eventingPathPrefixEvents string) CacheSync

type CachedAppData

type CachedAppData struct {
	ClientIDs           []string
	AppPathPrefixV1     string
	AppPathPrefixV2     string
	AppPathPrefixEvents string
}

type Controller

type Controller interface {
	Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
	SetupWithManager(mgr ctrl.Manager) error
}

func NewController

func NewController(
	log *logger.Logger,
	client client.Client,
	appCache *gocache.Cache,
	appNamePlaceholder,
	eventingPathPrefixV1,
	eventingPathPrefixV2,
	eventingPathPrefixEvents string) Controller

Jump to

Keyboard shortcuts

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