manager

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// Upsert upserts the object into the store
	Upsert(o object.Object) error
	// Get returns a named object
	Get(name string) (object.Object, bool)
	// Delete deletes the object from the store, may return ErrReturnRequired
	Delete(o object.Object) error
	// Reconcile reconcliles the the object store
	Reconcile(confs []v1alpha1.Config) ([]v1alpha1.Config, error)
	// Keys returns the names iof all objects in the store in alphabetical order, suitable for iteration
	Keys() []string
}

Manager stores STUNner objects

func NewManager

func NewManager(name string, logger logging.LoggerFactory) Manager

NewManager creates a new Manager.

Jump to

Keyboard shortcuts

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