setting

package
v0.0.0-...-f7dc3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus struct {
	Redis string
}

type FermionsSetting

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

func (*FermionsSetting) AddStart

func (s *FermionsSetting) AddStart(starts []string)

func (*FermionsSetting) AddWorkflow

func (s *FermionsSetting) AddWorkflow(workflowSpec model.Workflow)

func (*FermionsSetting) Bus

func (s *FermionsSetting) Bus() Bus

func (*FermionsSetting) LoadConfig

func (s *FermionsSetting) LoadConfig(confPath string) error

func (*FermionsSetting) ParseWorkflow

func (s *FermionsSetting) ParseWorkflow(filePath string) error

func (*FermionsSetting) Starts

func (s *FermionsSetting) Starts() map[string]bool

func (*FermionsSetting) WorkflowSpecs

func (s *FermionsSetting) WorkflowSpecs() map[string]model.Workflow

type Setting

type Setting interface {
	Bus() Bus
	WorkflowSpecs() map[string]model.Workflow
	Starts() map[string]bool
}

func New

func New() Setting

Jump to

Keyboard shortcuts

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