Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

NetfluxESIR/backend-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend client

Backend client is a small client to interact with the backend server. It is used inside the pipeline to send the data to the backend server related to the pipeline execution.

Installation

If you want to use the backend client follow the instructions below.

Requirements

Run with Docker

docker run ghcr.io/netfluxesir/backend-client:latest [command]

Usage

backend-client is a client for the backend

Usage:
  backend-client [flags]
  backend-client [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  status      status the backend
  step        notify the backend of a step

Flags:
  -e, --email string      email
  -h, --help              help for backend-client
  -i, --id string         video id
  -p, --password string   password
  -r, --role string       role
  -U, --url string        url

status

status the backend

Usage:
  backend-client status [flags]

Flags:
  -h, --help            help for status
  -s, --status string   status

Global Flags:
  -e, --email string      email
  -i, --id string         video id
  -p, --password string   password
  -r, --role string       role
  -U, --url string        url

step

notify the backend of a step

Usage:
  backend-client step [flags]

Flags:
  -c, --current-step string           current step
  -S, --current-step-status string    current step status
  -h, --help                          help for step
  -P, --previous-step string          previous step
  -l, --previous-step-log string      previous step log
  -s, --previous-step-status string   previous step status

Global Flags:
  -e, --email string      email
  -i, --id string         video id
  -p, --password string   password
  -r, --role string       role
  -U, --url string        url

Development

Requirements

Run from source

Build the client

git clone https://github.com/NetfluxESIR/backend-client.git
cd backend-client
go build -o backend-client main.go

Run the client

./backend-client [command]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages