modules

package
v0.2.3-rc Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneAndMergeMaps added in v0.1.7

func CloneAndMergeMaps(m1, m2 map[string]string) map[string]string

func MustJSON added in v0.1.7

func MustJSON(v any) json.RawMessage

func SafeName added in v0.1.7

func SafeName(name string, suffix string, maxLen int) string

Types

type Registry

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

Registry maintains a list of supported/enabled modules.

func (*Registry) GetDriver

func (*Registry) Register

func (mr *Registry) Register(desc module.Descriptor) error

Register adds a module to the registry.

Directories

Path Synopsis
job

Jump to

Keyboard shortcuts

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