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

Latest commit

 

History

History
46 lines (34 loc) · 1.36 KB

install.md

File metadata and controls

46 lines (34 loc) · 1.36 KB

Compile and install

Go version 1.18 or newer is needed. "make" tool is also needed to utilize the Makefile.
To run the dpservice-cli client build the binary first and then use it with commands and flags:

make build
./bin/dpservice-cli -h

This will build the binary at bin/dpservice-cli. To install it on a system where GOBIN is part of the PATH, run

make install

Autocompletion

To generate autocompletion use:

dpservice-cli completion [bash|zsh|fish|powershell]

Or use -h to get more info and examples for specific shell:

dpservice-cli completion -h

Dependency

This client uses golang bindings from repo dpservice-go.

Definition go files in proto folder are auto-generated from dpdk.proto file in dpservice repo.

In case of upgrade of dpservice-go, it is needed to pull the latest version:

go get github.com/ironcore-dev/dpservice-go@[<version>|latest]

In order to pull from private repository set the GOPRIVATE variable:

export GOPRIVATE=github.com/ironcore-dev/*

More info about gRPC can be found here.