orchestrator

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

README

nexgate-orchestrator

the orchestrator module, member of GSF-nexgate ZUGFeRD family.

This Go module handles central orchestration within the NexGate ecosystem.

Tasks

  • Reading and validating the initial JSON structure (input).
  • Transforming the data into the internal ZugferdMaster format (invoice).
  • Generating RenderJob files within the nexgate-env structure.
  • Triggering the individual engine workers (Base, PDF, ZUGFeRD).

Installation

go get codeberg.org/tiny-frameworks/nexgate-orchestrator

Use

The module is instantiated via the API and strictly requires the path to the environment root

orch, err := orchestrator.New(envRoot)

For the complete documentation of the NexGate system, see the main repository:: nexgate.

Documentation

Index

Constants

View Source
const EnvRootKey = "NEXGATE_ENVROOT"

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

type Orchestrator struct {
	ZugferdMaster *invoice.ZUGFeRDmaster
	// contains filtered or unexported fields
}

func New

func New(envRoot string) (*Orchestrator, error)

func NewDefault

func NewDefault() (*Orchestrator, error)

func (*Orchestrator) CreateWriter

func (o *Orchestrator) CreateWriter(provider string, engine string, timeout time.Duration, kind writer.WriterKind) (writer.Writer, error)

Die zentrale Factory-Methode

func (*Orchestrator) RunJsonJob

func (o *Orchestrator) RunJsonJob(json []byte) (renderOutput *writer.RenderOutput, err error)

Directories

Path Synopsis
invoice
invoice
ciicodes
ciicodes

Jump to

Keyboard shortcuts

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