-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hi, I'm interested in the GSOC pwctl CLI project, and I have some questions here
- Is the CLI targeting pgwatch3 (or pgwatch2)?
- It seems that only API below are implemented, if the CLI is going to interact with pgwatch via REST API, does that mean these are all functionalities I need to implement?
type apiHandler interface {
GetDatabases() (string, error)
AddDatabase(params []byte) error
DeleteDatabase(id string) error
UpdateDatabase(id string, params []byte) error
GetMetrics() (res string, err error)
AddMetric(params []byte) error
DeleteMetric(id int) error
UpdateMetric(id int, params []byte) error
GetPresets() (res string, err error)
AddPreset(params []byte) error
DeletePreset(name string) error
UpdatePreset(id string, params []byte) error
GetStats() string
TryConnectToDB(params []byte) error
}Thanks
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested