A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/terramate-io/terramate@v0.14.4/cloud/testserver below:

testserver package - github.com/terramate-io/terramate/cloud/testserver - Go Packages

Package testserver provides fake Terramate Cloud endpoints for testing purposes.

This section is empty.

This section is empty.

DeleteStoreOutput implements the DELETE /v1/store/:orguuid/outputs/:id endpoint.

DisableEndpoints the provided path endpoints.

EnableAllConfig returns a map that enables all cloud endpoints.

GetDeploymentLogs is the GET /deployments/.../logs handler.

GetDeploymentLogsEvents is the SSE GET /deployments/.../logs handler.

GetDeployments is the GET /deployments handler.

GetDrift implements the /v1/drifts/:orguuid/:stackid/:driftid endpoint.

GetDrifts implements the GET /drifts/:orguuid endpoint. Note: this is not a real endpoint.

GetMemberships is the testserver GET /memberships handler.

GetPreview returns details about a preview. This is a convenience endpoint for asserting the required state in tests (it does not actually exist in the TMC API).

GetStackDrifts implements the /v1/stacks/:orguuid/:stackid/drifts endpoint.

GetStacks is the GET /stacks handler.

GetStoreOutput implements the GET /v1/store/:orguuid/outputs/:id endpoint.

GetUsers implements the /v1/users endpoint.

GetWellKnown implements the /.well-known/cli.json endpoint.

LookupStoreOutput implements the GET /v1/store/:orguuid/outputs endpoint.

PatchDeployment is the PATCH /deployments handler.

PatchStackPreviews is the PATCH /v1/stack_previews/:stack_preview_id handler.

PostDeployment is the POST /deployments handler.

PostDeploymentLogs is the POST /deployments/.../logs handler.

PostDrift implements the POST /v1/drifts/:orguuid endpoint.

PostPreviews is the POST /v1/previews handler.

PostStackPreviewsLogs is the POST /v1/stack_previews/:stack_preview_id/logs handler.

PostStoreOutput implements the /v1/store/:orguuid/outputs endpoint.

PutStack is the PUT /stacks handler.

PutStoreOutputValue implements the PUT /v1/store/:orguuid/outputs/:id/value endpoint.

Router returns the default fake cloud router.

RouterAdd enables endpoints in an existing router.

RouterAddCustoms add custom routes to the fake server. This is used by very specific test cases which requires injection of custom errors in the server.

RouterWith returns the testserver router configuration only for the enabled endpoints.

Custom declares a custom server config.

type Handler ΒΆ added in v0.4.4

Handler is the testserver handler interface.

Route declares an HTTP route.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4