Documentation ¶
Index ¶
- func BenchmarkCreate(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func BenchmarkDates(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func BenchmarkSummary(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func Benchmarks(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func Docs(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func DocsPage(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func LibsCreate(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func LibsList(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func Tutorials(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
- func VersionCreate(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkCreate ¶
func BenchmarkCreate(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
BenchmarkCreate creates a new benchmark metric You can request this method with the following curl request: curl -k -X POST -d @result.json http://localhost:8000/1.0/benchmarks/{library}
func BenchmarkDates ¶
BenchmarkDates returns the set of dates that have benchmark data. You can request the data series for a benchmark using: curl -k -X GET http://localhost:8000/1.0/benchmarks/{library}/dates
func BenchmarkSummary ¶
func BenchmarkSummary(tx *gorm.DB, w http.ResponseWriter, r *http.Request) (interface{}, *ign.ErrMsg)
BenchmarkSummary returns all the benchmark libs along with the set of available tests. You can request this information using: curl -k -X GET http://localhost:8000/1.0/benchmarks
func Benchmarks ¶
Benchmarks returns either the set of benchmark test names, or data series for a particular benchmark. You can request all the benchmark test names for a library using: curl -k -X GET http://localhost:8000/1.0/benchmarks/{library}
You can request the data series for a benchmark using: curl -k -X GET http://localhost:8000/1.0/benchmarks/{library}?benchmark={benchmark_name}
func LibsCreate ¶
LibsCreate creates a new library You can request this method with the following curl request: curl -k -X POST -d '{"name":"math", "repo":"https://github.com/gazebosim/gz-math", "description":"Math description","password":"secret"}' http://localhost:8000/1.0/libs
func LibsList ¶
LibsList returns the list of models from a team/user. The returned value will be of type "fuel.Models" You can request this method with the following curl request:
curl -k -X GET --url https://localhost:4430/1.0/models
or curl -k -X GET --url https://localhost:4430/1.0/models.proto or curl -k -X GET --url https://localhost:4430/1.0/models.json or curl -k -X GET --url https://localhost:4430/1.0/{owner}/models with all the above format variants.
func VersionCreate ¶
VersionCreate creates a new version curl -k -X POST -d '{"libName":"common", "version":"1.2.4", "releaseDate":"2017-11-14T12:02:54-07:00","password":"secret"}' http://localhost:8000/1.0/versions
Types ¶
This section is empty.