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