cmd

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: LGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ShutdownCh chan (struct{})

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func UnmarshalTags

func UnmarshalTags(tags []string) (map[string]string, error)

UnmarshalTags is a utility function which takes a slice of strings in key=value format and returns them as a tag mapping.

Types

type Plugins

type Plugins struct {
	Processors    map[string]dkplugin.Processor
	Executors     map[string]dkplugin.Executor
	PluginClients map[string]*plugin.Client
	LogLevel      string
	NodeName      string
}

func (*Plugins) DiscoverPlugins

func (p *Plugins) DiscoverPlugins() error

Discover plugins located on disk

We look in the following places for plugins:

1. Dkron configuration path 2. Path where Dkron is installed

Whichever file is discoverd LAST wins.

Jump to

Keyboard shortcuts

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