Skip to content

Commit

Permalink
Further clarify the client generation process
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber committed Aug 16, 2023
1 parent c144fc1 commit ae2dd84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ with modern Go.
cd $GOPATH/src/github.com/niusmallnan/
git clone https://github.com/niusmallnan/go-rancher
cd go-rancher
git checkout longhorn-v1
```

4. Get dependencies.

```bash
GO111MODULE=off go get
```

5. Generate code.

```bash
GO111MODULE=off scripts/generate-longhorn-schemas.sh http://<ip>:<port>
scripts/generate-longhorn-schemas.sh http://<ip>:<port>
```

## Copy code to longhorn-manager
Expand Down

0 comments on commit ae2dd84

Please sign in to comment.