Comments (6)
I would like to give try on it.
from cyclops.
What should an endpoint look like? I understand the underlying process, but what should the endpoint's response be?
from cyclops.
Hey @patelajay745, response of the endpoint can simply be 200 OK without the body if there was no error, or 500 Internal server error with the error in the response body. You can map the error in the response using dto.NewError
(example here)
from cyclops.
Ok. Got it about response. How should endpoint look like?
from cyclops.
I was thinking about /resources/restart
path that accepts POST method, and in the request body, you can send an object:
{
"group": "...",
"version": "...",
"kind": "...",
"name": "...",
"namespace": "..."
}
from cyclops.
Got it . Thanks
from cyclops.
Related Issues (20)
- Pass module name when rendering rollback manifests HOT 2
- Validating Multiple Templates Rotates Only The Last Icon HOT 2
- Node Gauges HOT 4
- Disable all actions while the template is loading HOT 2
- Filter modules by health HOT 2
- Delete Module modal should include the name of the Module HOT 2
- Implement template search HOT 2
- Implement node search HOT 3
- Add additional printer columns to Cyclops Modules HOT 2
- Implement Validate All Templates Button HOT 5
- Add reconciliation timestamp to the Module CRD HOT 3
- NetworkPolicy Backend Implementation HOT 4
- PersistentVolume Backend Implementation
- Role Backend Implementation
- ClusterRole Backend Implementation HOT 2
- Add `template` flag to cyctl on module creation HOT 5
- Node Conditions Update Style HOT 13
- support updating modules using cyctl HOT 1
- Fetch resources managed by a cyclops module HOT 9
- OCI template default version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclops.