dkron: Index | Files

package cmd

import ""


Package Files

agent.go dkron.go doc.go keygen.go leave.go plugins.go raft.go version.go


var ShutdownCh chan (struct{})

func Execute Uses

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 Uses

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.

type Plugins Uses

type Plugins struct {
    Processors map[string]dkplugin.Processor
    Executors  map[string]dkplugin.Executor
    LogLevel   string
    NodeName   string

func (*Plugins) DiscoverPlugins Uses

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.

Package cmd imports 22 packages (graph). Updated 2020-11-22. Refresh now. Tools for package owners.