top

Package ghttp supports testing HTTP clients by providing a test server (simply a thin wrapper around httptest's server) that supports registering multiple handlers. Incoming requests are not routed between the different handlers - rather it is merely the order of the handlers that matters. The first request is handled by the first registered handler, the second request by the second handler, etc.

The intent here is to have each handler *verify* that the incoming request is valid. To accomplish, ghttp also provides a collection of bite-size handlers that each perform one aspect of request verification. These can be composed together and registered with a ghttp server. The result is an expressive language for describing the requests generated by the client under test.

Here's a simple example, note that the server handler is only defined in one BeforeEach and then modified, as required, by the nested BeforeEaches. A more comprehensive example is available at https://onsi.github.io/gomega/#_testing_http_clients

var _ = Describe("A Sprockets Client", func() {
	var server *ghttp.Server
	var client *SprocketClient
	BeforeEach(func() {
		server = ghttp.NewServer()
		client = NewSprocketClient(server.URL(), "skywalker", "tk427")
	})

	AfterEach(func() {
		server.Close()
	})

	Describe("fetching sprockets", func() {
		var statusCode int
		var sprockets []Sprocket
		BeforeEach(func() {
			statusCode = http.StatusOK
			sprockets = []Sprocket{}
			server.AppendHandlers(ghttp.CombineHandlers(
				ghttp.VerifyRequest("GET", "/sprockets"),
				ghttp.VerifyBasicAuth("skywalker", "tk427"),
				ghttp.RespondWithJSONEncodedPtr(&statusCode, &sprockets),
			))
		})

		Context("when requesting all sprockets", func() {
			Context("when the response is succesful", func() {
				BeforeEach(func() {
					sprockets = []Sprocket{
						NewSprocket("Alfalfa"),
						NewSprocket("Banana"),
					}
				})

				It("should return the returned sprockets", func() {
					Ω(client.Sprockets()).Should(Equal(sprockets))
				})
			})

			Context("when the response is missing", func() {
				BeforeEach(func() {
					statusCode = http.StatusNotFound
				})

				It("should return an empty list of sprockets", func() {
					Ω(client.Sprockets()).Should(BeEmpty())
				})
			})

			Context("when the response fails to authenticate", func() {
				BeforeEach(func() {
					statusCode = http.StatusUnauthorized
				})

				It("should return an AuthenticationError error", func() {
					sprockets, err := client.Sprockets()
					Ω(sprockets).Should(BeEmpty())
					Ω(err).Should(MatchError(AuthenticationError))
				})
			})

			Context("when the response is a server failure", func() {
				BeforeEach(func() {
					statusCode = http.StatusInternalServerError
				})

				It("should return an InternalError error", func() {
					sprockets, err := client.Sprockets()
					Ω(sprockets).Should(BeEmpty())
					Ω(err).Should(MatchError(InternalError))
				})
			})
		})

		Context("when requesting some sprockets", func() {
			BeforeEach(func() {
				sprockets = []Sprocket{
					NewSprocket("Alfalfa"),
					NewSprocket("Banana"),
				}

				server.WrapHandler(0, ghttp.VerifyRequest("GET", "/sprockets", "filter=FOOD"))
			})

			It("should make the request with a filter", func() {
				Ω(client.Sprockets("food")).Should(Equal(sprockets))
			})
		})
	})
})

Imported by 9 package(s)

  1. code.cloudfoundry.org/cc-uploader/ccclient/fake_cc
  2. code.cloudfoundry.org/grootfs/testhelpers
  3. github.com/alphagov/router/integration_tests
  4. github.com/cloudfoundry-incubator/cc-uploader/ccclient/fake_cc
  5. github.com/cloudfoundry/cc-uploader/ccclient/fake_cc
  6. github.com/cloudfoundry/grootfs/testhelpers
  7. github.com/glestaris/grootfs/testhelpers
  8. github.com/pivotalservices/cfbackup/tiles/opsmanager/fakes
  9. github.com/zenoss/zenkit/test

Imported only in test by 601 package(s)

  1. code.cloudfoundry.org/bbs/cmd/bbs
  2. code.cloudfoundry.org/bbs/handlers
  3. code.cloudfoundry.org/bbs/metrics
  4. code.cloudfoundry.org/bbs/taskworkpool
  5. code.cloudfoundry.org/cacheddownloader
  6. code.cloudfoundry.org/cc-uploader/handlers
  7. code.cloudfoundry.org/cfhttp/unix_transport
  8. code.cloudfoundry.org/cli/api/cloudcontroller
  9. code.cloudfoundry.org/cli/api/cloudcontroller/ccv2
  10. code.cloudfoundry.org/cli/api/cloudcontroller/ccv3
  11. code.cloudfoundry.org/cli/api/cloudcontroller/wrapper
  12. code.cloudfoundry.org/cli/api/uaa
  13. code.cloudfoundry.org/cli/api/uaa/wrapper
  14. code.cloudfoundry.org/cli/cf/api
  15. code.cloudfoundry.org/cli/cf/api/applications
  16. code.cloudfoundry.org/cli/cf/api/authentication
  17. code.cloudfoundry.org/cli/cf/api/environmentvariablegroups
  18. code.cloudfoundry.org/cli/cf/api/organizations
  19. code.cloudfoundry.org/cli/cf/api/quotas
  20. code.cloudfoundry.org/cli/cf/api/spacequotas
  21. code.cloudfoundry.org/cli/cf/api/spaces
  22. code.cloudfoundry.org/cli/cf/api/stacks
  23. code.cloudfoundry.org/cli/cf/net
  24. code.cloudfoundry.org/cli/commands/v2/common
  25. code.cloudfoundry.org/cli/commands/v3/common
  26. code.cloudfoundry.org/cli/integration
  27. code.cloudfoundry.org/cli/integration/isolated
  28. code.cloudfoundry.org/cli/util/downloader
  29. code.cloudfoundry.org/cli/utils/downloader
  30. code.cloudfoundry.org/diego-ssh/authenticators
  31. code.cloudfoundry.org/diego-ssh/cmd/ssh-proxy
  32. code.cloudfoundry.org/diego-ssh/cmd/sshd
  33. code.cloudfoundry.org/dockerapplifecycle/builder
  34. code.cloudfoundry.org/dockerapplifecycle/helpers
  35. code.cloudfoundry.org/dockerapplifecycle/unix_transport
  36. code.cloudfoundry.org/executor/initializer
  37. code.cloudfoundry.org/fezzik
  38. code.cloudfoundry.org/garden-windows/backend
  39. code.cloudfoundry.org/garden-windows/container
  40. code.cloudfoundry.org/garden-windows/process
  41. code.cloudfoundry.org/garden/client/connection
  42. code.cloudfoundry.org/nsync/bulk
  43. code.cloudfoundry.org/rep
  44. code.cloudfoundry.org/rep/cmd/rep
  45. code.cloudfoundry.org/routing-api
  46. code.cloudfoundry.org/routing-api-cli
  47. code.cloudfoundry.org/routing-api/cmd/routing-api
  48. code.cloudfoundry.org/tps/cc_client
  49. code.cloudfoundry.org/uaa-go-client
  50. github.com/18F/concourse-broker/concourse
  51. github.com/AnuchitPrasertsang/ginkgo/internal/leafnodes
  52. github.com/ArthurHlt/cloudfoundry-cli/cf/api
  53. github.com/ArthurHlt/cloudfoundry-cli/cf/commands
  54. github.com/Bo0mer/ccv2
  55. github.com/Bo0mer/enslaver/slaveclient
  56. github.com/Bo0mer/os-agent/masterclient
  57. github.com/DamnWidget/ginkgo/internal/leafnodes
  58. github.com/DanLavine/bbs/handlers
  59. github.com/DanLavine/bbs/metrics
  60. github.com/DanLavine/bbs/taskworkpool
  61. github.com/Etienne42/ginkgo/internal/leafnodes
  62. github.com/FGrosse/ginkgo/internal/leafnodes
  63. github.com/FGrosse/gomega/ghttp
  64. github.com/FROG-TIPS/go-RIBBIT
  65. github.com/FidelityInternational/atc/api
  66. github.com/FidelityInternational/atc/auth
  67. github.com/FidelityInternational/atc/auth/github
  68. github.com/FidelityInternational/atc/auth/uaa
  69. github.com/FidelityInternational/atc/worker
  70. github.com/IBM-Bluemix/bluemix-cli-sdk/plugin_examples/list_plugin/api
  71. github.com/IBM-Bluemix/bluemix-go/api/account/accountv1
  72. github.com/IBM-Bluemix/bluemix-go/api/account/accountv2
  73. github.com/IBM-Bluemix/bluemix-go/api/iampap/iampapv1
  74. github.com/IBM-Bluemix/bluemix-go/api/mccp/mccpv2
  75. github.com/IBM-Cloud/bluemix-cli-sdk/plugin_examples/list_plugin/api
  76. github.com/IBM-Cloud/bluemix-go/api/account/accountv2
  77. github.com/IBM-Cloud/bluemix-go/api/mccp/mccpv2
  78. github.com/IBM-Cloud/ibm-cloud-cli-sdk/plugin_examples/list_plugin/api
  79. github.com/JamesClonk/cli/cf/api
  80. github.com/JamesClonk/cli/cf/api/authentication
  81. github.com/JamesClonk/cli/cf/api/organizations
  82. github.com/JamesClonk/cli/cf/net
  83. github.com/JamesClonk/cli/downloader
  84. github.com/SAP/aker-proxy-plugin/proxy
  85. github.com/SAP/goauth-handlers/token
  86. github.com/SHyx0rmZ/go-bitbucket/cloud
  87. github.com/SHyx0rmZ/go-bitbucket/server
  88. github.com/SHyx0rmZ/go-xmlrpc
  89. github.com/SchwarzM/garden-linux/old/repository_fetcher
  90. github.com/Shop2market/go-client/catalog
  91. github.com/Shop2market/go-client/channel_category
  92. github.com/Shop2market/go-client/channel_product
  93. github.com/Shop2market/go-client/product_statistic
  94. github.com/Shop2market/go-client/publisher_connection
  95. github.com/Shop2market/go-client/shop/product
  96. github.com/Shop2market/go-client/shop/publisher
  97. github.com/Shop2market/go-client/shop/publisher/ad
  98. github.com/Shop2market/go-client/shop/publisher/taxonomy
  99. github.com/Shop2market/go-client/shop_product
  100. github.com/Shop2market/go-client/statistic
  101. github.com/XenoPhex/go-tracker
  102. github.com/aaronshurley/uaa-go-client
  103. github.com/aashah/cli/api/cloudcontroller
  104. github.com/aashah/cli/api/uaa
  105. github.com/aashah/cli/cf/api
  106. github.com/aashah/cli/cf/api/applications
  107. github.com/aashah/cli/cf/api/authentication
  108. github.com/aashah/cli/cf/api/environmentvariablegroups
  109. github.com/aashah/cli/cf/api/organizations
  110. github.com/aashah/cli/cf/api/quotas
  111. github.com/aashah/cli/cf/api/spacequotas
  112. github.com/aashah/cli/cf/api/spaces
  113. github.com/aashah/cli/cf/api/stacks
  114. github.com/aashah/cli/cf/net
  115. github.com/aashah/cli/utils/downloader
  116. github.com/adamstegman/go-tracker
  117. github.com/adamstegman/tracker-git-branch-resource/check
  118. github.com/alex8023/ginkgo/internal/leafnodes
  119. github.com/alex8023/gomega/ghttp
  120. github.com/alext/gomega/ghttp
  121. github.com/alphagov/cloudflare-configure
  122. github.com/alphagov/metadata-api/performance_platform
  123. github.com/alphagov/performance-datastore/pkg/config
  124. github.com/alphagov/performanceplatform-client-go
  125. github.com/alphagov/performanceplatform-client.go
  126. github.com/amitkgupta/executor/client
  127. github.com/amitkgupta/executor/integration
  128. github.com/amitkgupta/executor/steps/monitor_step
  129. github.com/amitkgupta/gomega/ghttp
  130. github.com/amitkgupta/rep/integration
  131. github.com/amitkgupta/rep/task_scheduler
  132. github.com/apcera/github-release-resource
  133. github.com/apihub/apihub/client/connection
  134. github.com/apoydence/ginkgo/internal/leafnodes
  135. github.com/apoydence/go-sse/sse
  136. github.com/apoydence/gomega/ghttp
  137. github.com/arangamani/go-flipkart
  138. github.com/avade/lattice/cell-helpers/davtool
  139. github.com/avade/lattice/cell-helpers/s3tool
  140. github.com/avade/lattice/ltc
  141. github.com/behance/go-chronos/chronos
  142. github.com/benlaplanche/cf-basic-auth-route-service/routeserver/proxy
  143. github.com/bluemixgaragelondon/lrsc-bluemix-bridge/iotf
  144. github.com/bradylove/gomega/ghttp
  145. github.com/brianium/ginkgo/internal/leafnodes
  146. github.com/caseyhadden/garden-linux/old/repository_fetcher
  147. github.com/cf-guardian/gomega/ghttp
  148. github.com/cf-guardian/rata
  149. github.com/cf-routing/bbs/handlers
  150. github.com/cf-routing/bbs/metrics
  151. github.com/cf-routing/bbs/taskworkpool
  152. github.com/cf-routing/benchmarkbbs/generator
  153. github.com/cf-routing/cli/cf/api
  154. github.com/cf-routing/cli/cf/commands
  155. github.com/cf-routing/cli/cf/net
  156. github.com/cf-routing/cli/downloader
  157. github.com/cf-routing/go-sse/sse
  158. github.com/cf-routing/nsync/bulk
  159. github.com/cf-routing/uaa-go-client
  160. github.com/cfmobile/ginkgo/internal/leafnodes
  161. github.com/cfmobile/gomega/ghttp
  162. github.com/cfmobile/gopivnet/api
  163. github.com/cfmobile/gopivnet/resource
  164. github.com/cghsystems/gosum/data
  165. github.com/chendrix/cfhttp/unix_transport
  166. github.com/chendrix/fly/commands/internal/hijacker
  167. github.com/cloudfoundry-attic/ltc/blob_store/s3_blob_store
  168. github.com/cloudfoundry-attic/receptor
  169. github.com/cloudfoundry-attic/receptor/cmd/receptor
  170. github.com/cloudfoundry-attic/runtime-metrics-server/metrics
  171. github.com/cloudfoundry-attic/uaa-token-fetcher
  172. github.com/cloudfoundry-incubator/bbs/cmd/bbs
  173. github.com/cloudfoundry-incubator/bbs/handlers
  174. github.com/cloudfoundry-incubator/bbs/metrics
  175. github.com/cloudfoundry-incubator/bbs/taskworkpool
  176. github.com/cloudfoundry-incubator/benchmark-bbs/generator
  177. github.com/cloudfoundry-incubator/cacheddownloader
  178. github.com/cloudfoundry-incubator/cc-uploader/handlers
  179. github.com/cloudfoundry-incubator/cf_http/unix_transport
  180. github.com/cloudfoundry-incubator/credhub-cli/commands
  181. github.com/cloudfoundry-incubator/credhub-cli/credhub
  182. github.com/cloudfoundry-incubator/diego-ssh/authenticators
  183. github.com/cloudfoundry-incubator/docker_app_lifecycle/builder
  184. github.com/cloudfoundry-incubator/docker_app_lifecycle/helpers
  185. github.com/cloudfoundry-incubator/docker_app_lifecycle/unix_transport
  186. github.com/cloudfoundry-incubator/ducati-daemon/client
  187. github.com/cloudfoundry-incubator/etcd-metrics-server/runners
  188. github.com/cloudfoundry-incubator/executor/initializer
  189. github.com/cloudfoundry-incubator/fezzik
  190. github.com/cloudfoundry-incubator/garden-windows/backend
  191. github.com/cloudfoundry-incubator/garden-windows/container
  192. github.com/cloudfoundry-incubator/garden-windows/process
  193. github.com/cloudfoundry-incubator/garden/client/connection
  194. github.com/cloudfoundry-incubator/ltc/blob_store/dav_blob_store
  195. github.com/cloudfoundry-incubator/ltc/blob_store/s3_blob_store
  196. github.com/cloudfoundry-incubator/ltc/docker_runner/docker_metadata_fetcher
  197. github.com/cloudfoundry-incubator/ltc/droplet_runner
  198. github.com/cloudfoundry-incubator/ltc/version
  199. github.com/cloudfoundry-incubator/nsync/bulk
  200. github.com/cloudfoundry-incubator/receptor
  201. github.com/cloudfoundry-incubator/receptor/cmd/receptor
  202. github.com/cloudfoundry-incubator/rep
  203. github.com/cloudfoundry-incubator/rep/cmd/rep
  204. github.com/cloudfoundry-incubator/routing-api
  205. github.com/cloudfoundry-incubator/routing-api-cli
  206. github.com/cloudfoundry-incubator/routing-api/cmd/routing-api
  207. github.com/cloudfoundry-incubator/runtime-metrics-server/metrics
  208. github.com/cloudfoundry-incubator/stager/backend
  209. github.com/cloudfoundry-incubator/stager/cc_client
  210. github.com/cloudfoundry-incubator/switchboard/api
  211. github.com/cloudfoundry-incubator/thoth/benchmark
  212. github.com/cloudfoundry-incubator/tps/cc_client
  213. github.com/cloudfoundry-incubator/uaa-cli/cli
  214. github.com/cloudfoundry-incubator/uaa-cli/cmd
  215. github.com/cloudfoundry-incubator/uaa-cli/uaa
  216. github.com/cloudfoundry-incubator/uaa-go-client
  217. github.com/cloudfoundry-incubator/uaa-token-fetcher
  218. github.com/cloudfoundry-incubator/vizzini
  219. github.com/cloudfoundry/bbs/cmd/bbs
  220. github.com/cloudfoundry/bbs/handlers
  221. github.com/cloudfoundry/bbs/metrics
  222. github.com/cloudfoundry/bbs/taskworkpool
  223. github.com/cloudfoundry/benchmarkbbs/generator
  224. github.com/cloudfoundry/bosh-agent/integration/integrationagentclient
  225. github.com/cloudfoundry/bosh-agent/jobsupervisor/pipe
  226. github.com/cloudfoundry/bosh-cli/cmd
  227. github.com/cloudfoundry/bosh-cli/director
  228. github.com/cloudfoundry/bosh-cli/uaa
  229. github.com/cloudfoundry/cacheddownloader
  230. github.com/cloudfoundry/cc-uploader/handlers
  231. github.com/cloudfoundry/cfhttp/unix_transport
  232. github.com/cloudfoundry/cli/api/cloudcontroller
  233. github.com/cloudfoundry/cli/api/cloudcontroller/ccv2
  234. github.com/cloudfoundry/cli/api/cloudcontroller/ccv3
  235. github.com/cloudfoundry/cli/api/cloudcontroller/wrapper
  236. github.com/cloudfoundry/cli/api/plugin
  237. github.com/cloudfoundry/cli/api/plugin/wrapper
  238. github.com/cloudfoundry/cli/api/uaa
  239. github.com/cloudfoundry/cli/api/uaa/wrapper
  240. github.com/cloudfoundry/cli/cf/api
  241. github.com/cloudfoundry/cli/cf/api/applications
  242. github.com/cloudfoundry/cli/cf/api/authentication
  243. github.com/cloudfoundry/cli/cf/api/environmentvariablegroups
  244. github.com/cloudfoundry/cli/cf/api/organizations
  245. github.com/cloudfoundry/cli/cf/api/quotas
  246. github.com/cloudfoundry/cli/cf/api/spacequotas
  247. github.com/cloudfoundry/cli/cf/api/spaces
  248. github.com/cloudfoundry/cli/cf/api/stacks
  249. github.com/cloudfoundry/cli/cf/net
  250. github.com/cloudfoundry/cli/command/v2/shared
  251. github.com/cloudfoundry/cli/command/v3/shared
  252. github.com/cloudfoundry/cli/utils/downloader
  253. github.com/cloudfoundry/diego-ssh/authenticators
  254. github.com/cloudfoundry/dockerapplifecycle/builder
  255. github.com/cloudfoundry/dockerapplifecycle/helpers
  256. github.com/cloudfoundry/dockerapplifecycle/unix_transport
  257. github.com/cloudfoundry/executor/initializer
  258. github.com/cloudfoundry/garden-windows/backend
  259. github.com/cloudfoundry/garden-windows/container
  260. github.com/cloudfoundry/garden-windows/process
  261. github.com/cloudfoundry/garden/client/connection
  262. github.com/cloudfoundry/go-ccapi/v3/client
  263. github.com/cloudfoundry/nsync/bulk
  264. github.com/cloudfoundry/rep
  265. github.com/cloudfoundry/stager/backend
  266. github.com/cloudfoundry/stager/cc_client
  267. github.com/cloudfoundry/tps/cc_client
  268. github.com/cloudwan/gohan/cli/client
  269. github.com/cloudwan/gohan/cloud
  270. github.com/cloudwan/gohan/extension/gohanscript
  271. github.com/cloudwan/gohan/extension/goplugin
  272. github.com/cloudwan/gohan/extension/otto
  273. github.com/concourse/atc/api
  274. github.com/concourse/atc/auth
  275. github.com/concourse/atc/auth/github
  276. github.com/concourse/atc/auth/uaa
  277. github.com/concourse/atc/worker
  278. github.com/concourse/baggageclaim
  279. github.com/concourse/fly/commands/internal/hijacker
  280. github.com/concourse/gate
  281. github.com/concourse/github-release-resource
  282. github.com/concourse/glider/api
  283. github.com/concourse/go-concourse/concourse
  284. github.com/concourse/go-concourse/concourse/internal
  285. github.com/concourse/tracker-resource/out
  286. github.com/concourse/tsa
  287. github.com/contraband/holler
  288. github.com/cppforlife/bosh-cli/director
  289. github.com/cppforlife/bosh-cli/uaa
  290. github.com/craigfurman/gomega/ghttp
  291. github.com/crawsible/ginkgo/internal/leafnodes
  292. github.com/crawsible/go-pivnet
  293. github.com/crawsible/lattice/cell-helpers/davtool
  294. github.com/crawsible/lattice/cell-helpers/s3tool
  295. github.com/crawsible/lattice/ltc
  296. github.com/crawsible/lattice/ltc/config/dav_blob_store
  297. github.com/crawsible/lattice/ltc/config/s3_blob_store
  298. github.com/crawsible/pivnet-cli
  299. github.com/cunnie/atc/api
  300. github.com/cunnie/atc/auth
  301. github.com/cunnie/atc/auth/github
  302. github.com/danhigham/bbs/handlers
  303. github.com/danhigham/bbs/metrics
  304. github.com/danhigham/bbs/taskworkpool
  305. github.com/danlavine/bbs/handlers
  306. github.com/danlavine/bbs/metrics
  307. github.com/danlavine/bbs/taskworkpool
  308. github.com/dcarley/pi-phone-home
  309. github.com/ddimitrow/os-agent/masterclient
  310. github.com/dgodd/pulsego/download
  311. github.com/dmikusa-pivotal/gopivnet/api
  312. github.com/dmikusa-pivotal/gopivnet/resource
  313. github.com/drnic/bosh-cli/cmd
  314. github.com/drnic/bosh-cli/director
  315. github.com/drnic/bosh-cli/uaa
  316. github.com/ebabani/gomega/ghttp
  317. github.com/ekyoung/fbmessenger
  318. github.com/elliotchance/gomega/ghttp
  319. github.com/elopio/cli/cf/api
  320. github.com/elopio/cli/cf/api/applications
  321. github.com/elopio/cli/cf/api/authentication
  322. github.com/elopio/cli/cf/api/environmentvariablegroups
  323. github.com/elopio/cli/cf/api/organizations
  324. github.com/elopio/cli/cf/api/quotas
  325. github.com/elopio/cli/cf/api/spacequotas
  326. github.com/elopio/cli/cf/api/spaces
  327. github.com/elopio/cli/cf/api/stacks
  328. github.com/elopio/cli/cf/net
  329. github.com/elopio/cli/utils/downloader
  330. github.com/enaml-ops/enaml/enamlbosh
  331. github.com/enaml-ops/omg-cli/bosh
  332. github.com/enaml-ops/omg-product-bundle/products/cloudfoundry/plugin
  333. github.com/enaml-ops/omg-product-bundle/products/oss_cf/plugin
  334. github.com/enaml-ops/omg-product-bundle/products/p-rabbitmq/plugin
  335. github.com/enaml-ops/pluginlib/cred
  336. github.com/enaml-ops/pluginlib/pluginutil
  337. github.com/farjump/gomega/ghttp
  338. github.com/fgrosse/ginkgo/internal/leafnodes
  339. github.com/fgrosse/go-track/internal/redmine
  340. github.com/fgrosse/gomega/ghttp
  341. github.com/fschl/ginkgo/internal/leafnodes
  342. github.com/gertd/garden-windows/backend
  343. github.com/gertd/garden-windows/container
  344. github.com/gertd/garden-windows/process
  345. github.com/givett/goweb
  346. github.com/givett/gowiki
  347. github.com/givett/web
  348. github.com/glyn/cli/cf/api
  349. github.com/glyn/cli/cf/api/applications
  350. github.com/glyn/cli/cf/api/authentication
  351. github.com/glyn/cli/cf/api/environmentvariablegroups
  352. github.com/glyn/cli/cf/api/organizations
  353. github.com/glyn/cli/cf/api/quotas
  354. github.com/glyn/cli/cf/api/spacequotas
  355. github.com/glyn/cli/cf/api/spaces
  356. github.com/glyn/cli/cf/api/stacks
  357. github.com/glyn/cli/cf/net
  358. github.com/glyn/cli/util/downloader
  359. github.com/glyn/garden-linux/old/linux_backend/container_pool/repository_fetcher
  360. github.com/glyn/ginkgo/internal/leafnodes
  361. github.com/go-kafka/connect
  362. github.com/goodmustache/pt/commands
  363. github.com/goonzoid/gomega/ghttp
  364. github.com/hiremaga/glider/api
  365. github.com/hobeone/gomega/ghttp
  366. github.com/hudl/go-pagerduty/pagerduty
  367. github.com/imgix/imgix-cli
  368. github.com/jabley/performance-datastore/pkg/config_api
  369. github.com/jadengore/ginkgo/internal/leafnodes
  370. github.com/jamiemonserrate/bintray-resource/bintray
  371. github.com/jasonkeene/cli/cf/api
  372. github.com/jasonkeene/cli/cf/api/applications
  373. github.com/jasonkeene/cli/cf/api/authentication
  374. github.com/jasonkeene/cli/cf/api/environmentvariablegroups
  375. github.com/jasonkeene/cli/cf/api/organizations
  376. github.com/jasonkeene/cli/cf/api/quotas
  377. github.com/jasonkeene/cli/cf/api/spacequotas
  378. github.com/jasonkeene/cli/cf/api/spaces
  379. github.com/jasonkeene/cli/cf/api/stacks
  380. github.com/jasonkeene/cli/cf/net
  381. github.com/jasonkeene/cli/utils/downloader
  382. github.com/jasonkeene/ginkgo/internal/leafnodes
  383. github.com/jasonkeene/gomega/ghttp
  384. github.com/jberkhahn/cli/cf/api
  385. github.com/jberkhahn/cli/cf/api/applications
  386. github.com/jberkhahn/cli/cf/api/authentication
  387. github.com/jberkhahn/cli/cf/api/organizations
  388. github.com/jberkhahn/cli/cf/api/quotas
  389. github.com/jberkhahn/cli/cf/api/spaces
  390. github.com/jberkhahn/cli/cf/api/stacks
  391. github.com/jberkhahn/cli/cf/net
  392. github.com/jbking/gohan/cli/client
  393. github.com/jbking/gohan/cloud
  394. github.com/jbking/gohan/extension/otto
  395. github.com/jeaniejung/diego-ssh/authenticators
  396. github.com/jfmyers9/gomega/ghttp
  397. github.com/jghiloni/gtils/uaa
  398. github.com/jonathankarsh/ginkgo/internal/leafnodes
  399. github.com/jonbodner/ginkgo/internal/leafnodes
  400. github.com/jrbudnack/shield/supervisor
  401. github.com/jreyeshdez/go-fetcher
  402. github.com/julian-hj/ifrit/http_server/unix_transport
  403. github.com/julz/garden/client/connection
  404. github.com/korya/gomega/ghttp
  405. github.com/krujos/download_droplet_plugin/droplet
  406. github.com/krujos/firehose-mixpanel
  407. github.com/krujos/uaaclientcredentials
  408. github.com/lavalamp/ginkgo/internal/leafnodes
  409. github.com/layer-x/pluggable-bbs/handlers
  410. github.com/layer-x/pluggable-bbs/metrics
  411. github.com/layer-x/pluggable-bbs/taskworkpool
  412. github.com/layer-x/pluggable-rep
  413. github.com/liangchenye/ginkgo/internal/leafnodes
  414. github.com/ljfranklin/bosh-cli/director
  415. github.com/ljfranklin/bosh-cli/uaa
  416. github.com/luan/gomega/ghttp
  417. github.com/luan/teapot/handlers
  418. github.com/lvarvel/cacheddownloader
  419. github.com/mandarjog/cli/cf/api
  420. github.com/mandarjog/cli/cf/api/authentication
  421. github.com/mandarjog/cli/cf/api/organizations
  422. github.com/mandarjog/cli/cf/net
  423. github.com/mandarjog/cli/downloader
  424. github.com/maxbrunsfeld/executor/client
  425. github.com/maxbrunsfeld/executor/server
  426. github.com/maxbrunsfeld/gomega/ghttp
  427. github.com/maximilien/softlayer-go/client
  428. github.com/mdb/github-release-resource
  429. github.com/mikosik/gomega/ghttp
  430. github.com/mmb/atc/api
  431. github.com/mmb/atc/auth
  432. github.com/mmb/atc/auth/github
  433. github.com/mmb/atc/auth/uaa
  434. github.com/mmb/atc/worker
  435. github.com/mmb/cli/cf/api
  436. github.com/mmb/cli/cf/commands
  437. github.com/nati/gohan/cli/client
  438. github.com/nati/gohan/cloud
  439. github.com/nati/gohan/extension/otto
  440. github.com/nitrous-io/go-mixpanel
  441. github.com/onsi/ginkgo/internal/leafnodes
  442. github.com/onsi/ginkgo/internal/spec_iterator
  443. github.com/oppegard/atc/api
  444. github.com/oppegard/atc/auth
  445. github.com/pivotal-cf-experimental/garden/client/connection
  446. github.com/pivotal-cf-experimental/go-pivnet
  447. github.com/pivotal-cf-experimental/go-pivnet/extension
  448. github.com/pivotal-cf-experimental/pivnet-resource/downloader
  449. github.com/pivotal-cf-experimental/switchboard/api
  450. github.com/pivotal-cf/cf-redis-broker/consistency
  451. github.com/pivotal-cf/go-pivnet
  452. github.com/pivotal-cf/go-pivnet/extension
  453. github.com/pivotal-cf/pivnet-resource/downloader
  454. github.com/pivotal-golang/cacheddownloader
  455. github.com/pivotal-pez/pezdispenser/innkeeperclient
  456. github.com/pivotal-pez/pezdispenser/skus/m1small
  457. github.com/pivotalservices/cf-mgmt/cloudcontroller
  458. github.com/pivotalservices/cf-mgmt/http
  459. github.com/pivotalservices/cf-mgmt/uaa
  460. github.com/pivotalservices/cf-mgmt/uaac
  461. github.com/pivotalservices/cfbackup/tiles/opsmanager
  462. github.com/pivotalservices/cfops/plugin/cfopsplugin
  463. github.com/pivotalservices/gtils/uaa
  464. github.com/purohit/wl/oauth
  465. github.com/raphael/gomega/ghttp
  466. github.com/retsu0/fbmessenger
  467. github.com/rightscale/azure_arm_proxy/resources
  468. github.com/rightscale/gomega/ghttp
  469. github.com/rightscale/right_api_cmd
  470. github.com/rightscale/rsc
  471. github.com/rightscale/rsc/httpclient
  472. github.com/rightscale/wstunnel/tunnel
  473. github.com/rjeczalik/ginkgo/internal/leafnodes
  474. github.com/robdimsdale/atc/api
  475. github.com/robdimsdale/garagepi/web/webcam
  476. github.com/robdimsdale/ginkgo/internal/leafnodes
  477. github.com/robdimsdale/go-tracker
  478. github.com/robdimsdale/gomega/ghttp
  479. github.com/robdimsdale/wl/oauth
  480. github.com/robdimsdale/wundergo/oauth
  481. github.com/rosenhouse/bosh-cli/installation/tarball
  482. github.com/rosenhouse/bosh-cli/uaa
  483. github.com/rosenhouse/bosh-lite-ami-resource/lib
  484. github.com/rosenhouse/proctor/client
  485. github.com/roxtar/tracker-resource/out
  486. github.com/s-matyukevich/cli/cf/api
  487. github.com/s-matyukevich/cli/cf/api/applications
  488. github.com/s-matyukevich/cli/cf/api/authentication
  489. github.com/s-matyukevich/cli/cf/api/environmentvariablegroups
  490. github.com/s-matyukevich/cli/cf/api/organizations
  491. github.com/s-matyukevich/cli/cf/api/quotas
  492. github.com/s-matyukevich/cli/cf/api/spacequotas
  493. github.com/s-matyukevich/cli/cf/api/spaces
  494. github.com/s-matyukevich/cli/cf/api/stacks
  495. github.com/s-matyukevich/cli/cf/net
  496. github.com/s-matyukevich/cli/downloader
  497. github.com/s-matyukevich/go-ccapi/v3/client
  498. github.com/savaki/atc/api
  499. github.com/seshun/ginkgo/internal/leafnodes
  500. github.com/sha1sum/ginkgo/internal/leafnodes
  501. github.com/shashidharatd/garden-linux/old/repository_fetcher
  502. github.com/shashidharatd/garden/client/connection
  503. github.com/shashidharatd/receptor/task_handler
  504. github.com/shinji62/atc/api
  505. github.com/shinji62/atc/auth
  506. github.com/shinji62/atc/auth/github
  507. github.com/shinji62/atc/auth/uaa
  508. github.com/shinji62/atc/worker
  509. github.com/shinji62/concourse-meetup-goserv
  510. github.com/simonleung8/cli/cf/api
  511. github.com/simonleung8/cli/cf/api/applications
  512. github.com/simonleung8/cli/cf/api/authentication
  513. github.com/simonleung8/cli/cf/api/environmentvariablegroups
  514. github.com/simonleung8/cli/cf/api/organizations
  515. github.com/simonleung8/cli/cf/api/quotas
  516. github.com/simonleung8/cli/cf/api/spacequotas
  517. github.com/simonleung8/cli/cf/api/spaces
  518. github.com/simonleung8/cli/cf/api/stacks
  519. github.com/simonleung8/cli/cf/net
  520. github.com/simonleung8/cli/command/v3/shared
  521. github.com/simonleung8/cli/util/downloader
  522. github.com/sneal/ginkgo/internal/leafnodes
  523. github.com/sneal/gomega/ghttp
  524. github.com/st3v/go-eureka
  525. github.com/st3v/gomega/ghttp
  526. github.com/st3v/waitfor/check
  527. github.com/starkandwayne/shield/supervisor
  528. github.com/svett/gomega/ghttp
  529. github.com/swisscom/diego-ssh/authenticators
  530. github.com/sykesm/diego-ssh/authenticators
  531. github.com/sykesm/ducati-daemon/client
  532. github.com/tedsuo/gomega/ghttp
  533. github.com/tedsuo/ifrit/http_server/unix_transport
  534. github.com/tedsuo/rata
  535. github.com/theophoric/cli/downloader
  536. github.com/timjacobi/lrsc-bluemix-bridge/iotf
  537. github.com/tinygrasshopper/cli/cf/api
  538. github.com/tinygrasshopper/cli/cf/api/applications
  539. github.com/tinygrasshopper/cli/cf/api/authentication
  540. github.com/tinygrasshopper/cli/cf/api/environmentvariablegroups
  541. github.com/tinygrasshopper/cli/cf/api/organizations
  542. github.com/tinygrasshopper/cli/cf/api/quotas
  543. github.com/tinygrasshopper/cli/cf/api/spacequotas
  544. github.com/tinygrasshopper/cli/cf/api/spaces
  545. github.com/tinygrasshopper/cli/cf/api/stacks
  546. github.com/tinygrasshopper/cli/cf/net
  547. github.com/tinygrasshopper/cli/utils/downloader
  548. github.com/tinygrasshopper/gomega/ghttp
  549. github.com/toothrot/gomega/ghttp
  550. github.com/trayo/gomega/ghttp
  551. github.com/truongsinh/ginkgo/internal/leafnodes
  552. github.com/vito/go-sse/sse
  553. github.com/voelzmo/etcd-metrics-server/health_check
  554. github.com/voelzmo/etcd-metrics-server/instruments
  555. github.com/vrecan/ginkgo/internal/leafnodes
  556. github.com/wfernandes/cli/cf/api
  557. github.com/wfernandes/cli/cf/api/applications
  558. github.com/wfernandes/cli/cf/api/authentication
  559. github.com/wfernandes/cli/cf/api/organizations
  560. github.com/wfernandes/cli/cf/api/quotas
  561. github.com/wfernandes/cli/cf/api/spaces
  562. github.com/wfernandes/cli/cf/api/stacks
  563. github.com/wfernandes/cli/cf/net
  564. github.com/xchapter7x/chaospeddler/service_broker
  565. github.com/xchapter7x/enaml/enamlbosh
  566. github.com/xeger/ginkgo/internal/leafnodes
  567. github.com/xeger/wstunnel/tunnel
  568. github.com/xoebus/go-tracker
  569. github.com/xoebus/gomega/ghttp
  570. github.com/yanana/atc/api
  571. github.com/yanana/atc/auth
  572. github.com/yanana/atc/auth/github
  573. github.com/yokoi-h/gohan/cli/client
  574. github.com/yokoi-h/gohan/cloud
  575. github.com/yokoi-h/gohan/extension/otto
  576. github.com/yudai/gomega/ghttp
  577. github.com/zachgersh/atc/api
  578. github.com/zachgersh/atc/auth
  579. github.com/zachgersh/atc/auth/github
  580. github.com/zachgersh/ginkgo/internal/leafnodes
  581. github.com/zachgersh/github-release-resource
  582. github.com/zachgersh/go-concourse/concourse
  583. github.com/zachgersh/go-concourse/concourse/internal
  584. github.com/zankich/ginkgo/internal/leafnodes
  585. github.com/zenoss/zenkit/healthcheck/checks
  586. gopkg.in/cloudfoundry/bosh-cli.v0/cmd
  587. gopkg.in/cloudfoundry/bosh-cli.v0/director
  588. gopkg.in/cloudfoundry/bosh-cli.v0/uaa
  589. gopkg.in/onsi/gomega.v1/ghttp
  590. gopkg.in/rightscale/rsc.v1
  591. gopkg.in/rightscale/rsc.v2
  592. gopkg.in/rightscale/rsc.v3
  593. gopkg.in/rightscale/rsc.v3/httpclient
  594. gopkg.in/rightscale/rsc.v4
  595. gopkg.in/rightscale/rsc.v4/httpclient
  596. gopkg.in/rightscale/rsc.v5
  597. gopkg.in/rightscale/rsc.v5/httpclient
  598. gopkg.in/rightscale/rsc.v6
  599. gopkg.in/rightscale/rsc.v6/httpclient
  600. gopkg.in/robdimsdale/wl.v0/oauth
  601. gopkg.in/robdimsdale/wl.v1/oauth

Imports 3 package(s)

  1. github.com/onsi/gomega/types
  2. github.com/onsi/gomega
  3. github.com/golang/protobuf/proto

Test imports 3 package(s)

  1. github.com/onsi/ginkgo
  2. github.com/onsi/gomega/gbytes
  3. github.com/onsi/gomega/ghttp/protobuf