Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Provide APIs to create and delete resources for plugins to use #1599

Closed
mengdie-song opened this issue Nov 11, 2020 · 2 comments · Fixed by #2257
Closed

Provide APIs to create and delete resources for plugins to use #1599

mengdie-song opened this issue Nov 11, 2020 · 2 comments · Fixed by #2257

Comments

@mengdie-song
Copy link

Describe the problem/challenge you have
I would like to switch to DashboardClient for antrea-octant-plugin, so that the plugin can pick up context switches from octant dashboard. My plugin needs to create and delete specific CRDs which can be supported by plugin self-generated client using client-go and kubeconfig previously. However, there are no APIs for create and delete resources defined in Dashboard interface (https://github.com/vmware-tanzu/octant/blob/master/pkg/plugin/service/dashboard.go#L16) which I can invoke. It would be great if octant can provide create and delete resources APIs for plugin to use.

Describe the solution you'd like
Add Create and Delete APIs to Dashboard interface with their implementations, so that plugins can use to create and delete resources of their own.

Environment:

  • Octant version (use octant version): 0.16.1
  • Kubernetes version (use kubectl version): v1.18.5
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc):Ubuntu 18.04.3
@wwitzel3
Copy link
Contributor

Got another request for this on the Go plugin side of things, adding this to our 0.19 release.

@xtreme-vikram-yadav
Copy link
Contributor

Picking it up

xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Mar 31, 2021
xtreme-vikram-yadav pushed a commit to xtreme-vikram-yadav/octant that referenced this issue Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants