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