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