modmaninterface

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package modmaninterface abstracts the manager interface to avoid an import cycle/loop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleManager

type ModuleManager interface {
	Add(ctx context.Context, cfg config.Module) error

	AddResource(ctx context.Context, cfg config.Component, deps []string) (interface{}, error)
	ReconfigureResource(ctx context.Context, cfg config.Component, deps []string) error
	RemoveResource(ctx context.Context, name resource.Name) error
	IsModularResource(name resource.Name) bool

	Provides(cfg config.Component) bool

	Close(ctx context.Context) error
}

ModuleManager abstracts the module manager interface.

Jump to

Keyboard shortcuts

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