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)
- Implement resource details for Jobs HOT 2
- Implement resource details for CronJob HOT 2
- Filter Deployment logs HOT 4
- Expose modules errors on API endpoint HOT 3
- Scope cyclops controller to a namespace HOT 2
- UI representation for `Jobs` HOT 2
- UI representation for `CronJobs` HOT 3
- `cyctl` telemetry flag HOT 4
- Namespace in module header HOT 1
- Link to the template on Edit Module screen
- Button Emphasis HOT 2
- Too many status indicators on deployments HOT 1
- Disable download when no logs are present HOT 2
- Logs formatting HOT 2
- Default Service Port Name HOT 1
- State persists when deleting resources HOT 1
- `Edit` and `Delete` in templates header HOT 2
- Namespace filter in the Nodes tab HOT 4
- Add expose button to `service` deployed by the module HOT 1
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.