Categorygithub.com/pipego/demo
modulepackage
0.4.0
Repository: https://github.com/pipego/demo.git
Documentation: pkg.go.dev

# README

demo

Build Status codecov Go Report Card License Tag

Introduction

demo is the demo of pipego written in Go.

Prerequisites

  • Go >= 1.18.0

Run

version=latest make build
./bin/demo --config-file="$PWD"/test/config/config.yml --runner-file="$PWD"/test/data/runner.json --scheduler-file="$PWD"/test/data/scheduler.json

Docker

version=latest make docker
docker run -v "$PWD"/test:/tmp ghcr.io/pipego/demo:latest --config-file=/tmp/config/config.yml --runner-file=/tmp/data/runner.json --scheduler-file=/tmp/data/scheduler.json

Usage

usage: demo --config-file=CONFIG-FILE --runner-file=RUNNER-FILE --scheduler-file=SCHEDULER-FILE [<flags>]

pipego demo

Flags:
  --help                     Show context-sensitive help (also try --help-long and --help-man).
  --version                  Show application version.
  --config-file=CONFIG-FILE  Config file (.yml)
  --runner-file=RUNNER-FILE  Runner file (.json)
  --scheduler-file=SCHEDULER-FILE
                             Scheduler file (.json)
  --output-file=""           Output file (.json)

Settings

demo parameters can be set in the directory config.

An example of configuration in config.yml:

apiVersion: v1
kind: demo
metadata:
  name: demo
spec:
  runner:
    host: 127.0.0.1
    port: 29090
    timeout: 300
  scheduler:
    host: 127.0.0.1
    port: 28082
    timeout: 300

License

Project License can be found here.

Reference

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author