Skip to content

Commit

Permalink
Add api test scripts with bat
Browse files Browse the repository at this point in the history
  • Loading branch information
tobegit3hub committed Jun 26, 2015
1 parent 0ae9dc2 commit ca940ad
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 3 deletions.
6 changes: 6 additions & 0 deletions apitest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# API test

We're using [bat](https://github.com/astaxie/bat) to test seagull API(Docker Remote API).



3 changes: 3 additions & 0 deletions apitest/get_containers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bat :10086/dockerapi/containers/json
3 changes: 3 additions & 0 deletions apitest/get_images.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bat :10086/dockerapi/images/json
3 changes: 3 additions & 0 deletions apitest/get_info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bat :10086/dockerapi/info
3 changes: 3 additions & 0 deletions apitest/get_versino.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bat :10086/dockerapi/version
3 changes: 3 additions & 0 deletions apitest/ping.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bat :10086/dockerapi/_ping
3 changes: 0 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ You can edit `mkdocs.yml` and change for Chinese.
* [Use Godep to manage dependency](en/development/use-godep-to-manage-dependency.md)
* [Use JQuery.Gritter for notification](en/development/use-jquerygritter-for-notification.md)
* [Seagull dockerfile](en/development/write-seagull-dockerfile.md)

* [Seagull containers page](en/development/seagull-containers-page.md)
* [Seagull images page](en/development/seagull-images-page.md)
* [Seagull configuration page](en/development/seagull-configuration-page.md)
* [Seagull dockerhub page](en/development/seagull-dockerhub-page.md)
* [Similar docker projects](en/user_guide/similar-docker-projects.md)


## 目录

* [请求Docker远程API](zh/development/access-docker-remote-api.md)
Expand All @@ -57,7 +55,6 @@ You can edit `mkdocs.yml` and change for Chinese.
* [使用Godep管理依赖](zh/development/use-godep-to-manage-dependency.md)
* [使用JQuery.gritter实现通知](zh/development/use-jquerygritter-for-notification.md)
* [编写海鸥的Dockerfile](zh/development/write-seagull-dockerfile.md)

* [海鸥的容器页面](zh/development/seagull-containers-page.md)
* [海鸥的镜像页面](zh/development/seagull-images-page.md)
* [海鸥的配置页面](zh/development/seagull-configuration-page.md)
Expand Down

0 comments on commit ca940ad

Please sign in to comment.