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.
If you want to use the backend client follow the instructions below.
docker run ghcr.io/netfluxesir/backend-client:latest [command]
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 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
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
git clone https://github.com/NetfluxESIR/backend-client.git
cd backend-client
go build -o backend-client main.go
./backend-client [command]