https://github.com/danielfbm/plugin-example
https://github.com/danielfbm/plugin-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielfbm/plugin-example
- Owner: danielfbm
- Created: 2020-05-01T04:39:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-17T04:15:13.000Z (over 4 years ago)
- Last Synced: 2025-02-17T09:43:55.541Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golang plugin example
## Intro
1. Create a simple Plugin for a go application
2. Analyse [Terraform's plugin implementation](https://www.terraform.io/docs/plugins/basics.html)
3. Enabling a rich plugin ecosystem on Kubernetes
## Simple plugin for a go application
Uses [Hashicorp's go-plugin](https://github.com/hashicorp/go-plugin.git) to create a `hello-world` kind of plugin
More [here](demo/README.md)
## Sample controller that uses plugins with `kubebuilder`
- User [kubebuilder](https://github.com/kubernetes-sigs/kubebuilder) to create a controller
- Creates a local and network plugin abstraction
- Checks and executes plugins on a controller
More [here](controller/README.md)