https://github.com/theobori/go-neuvector
๐ NeuVector SDK for Controller
https://github.com/theobori/go-neuvector
api client container controller go neuvector sdk security
Last synced: 22 days ago
JSON representation
๐ NeuVector SDK for Controller
- Host: GitHub
- URL: https://github.com/theobori/go-neuvector
- Owner: theobori
- License: mit
- Created: 2023-05-20T14:25:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-13T12:00:03.000Z (about 3 years ago)
- Last Synced: 2025-02-28T10:37:54.527Z (over 1 year ago)
- Topics: api, client, container, controller, go, neuvector, sdk, security
- Language: Go
- Homepage: https://pkg.go.dev/github.com/theobori/go-neuvector
- Size: 110 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ go-neuvector

NeuVector Controller API wrapper with abstraction for useful features.
## ๐ How to build and run ?
1. Install the dependencies
- `go`
- `make` (for tests)
- `docker-compose` (for tests)
## ๐ค Contribute
If you want to help the project, you can follow the guidelines in [CONTRIBUTING.md](./CONTRIBUTING.md).
There are some types written by neuvector [here](https://github.com/neuvector/neuvector/blob/main/controller/api), which we've redone some of them for greater clarity, ease of reading and to avoid the hassle of licenses. But we're not opposed to using them for future implementations.
## ๐งช Tests
We performed tests with a containerized instance of NeuVector via the Docker platform.
To run NeuVector and the Go tests, use:
```bash
make neuvector
make test
```
## ๐ Tasks
- [x] Bypass expired token --> single session refresh
- [x] Service configuration (patch)
- [x] Admission (create/delete) + fed
- [x] Policy (patch) + fed
- [x] Federation promote as master cluster
- [x] eula
- [x] service create/delete
- [x] Passing context to HTTP requests