generic

package
v0.0.0-...-2b28a7a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenericStatusSyncController

func NewGenericStatusSyncController(mgr ctrl.Manager, logName string, transport transport.Transport,
	finalizerName string, orderedBundleCollection []*BundleCollectionEntry, createObjFunc CreateObjectFunction,
	syncInterval time.Duration, predicate predicate.Predicate) error

NewGenericStatusSyncController creates a new instnace of genericStatusSyncController and adds it to the manager.

Types

type BundleCollectionEntry

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

BundleCollectionEntry holds information about a specific bundle.

func NewBundleCollectionEntry

func NewBundleCollectionEntry(transportBundleKey string, bundle bundle.Bundle,
	predicate func() bool) *BundleCollectionEntry

NewBundleCollectionEntry creates a new instnace of BundleCollectionEntry.

type CreateObjectFunction

type CreateObjectFunction func() bundle.Object

CreateObjectFunction is a function for how to create an object that is stored inside the bundle.

Jump to

Keyboard shortcuts

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