package
0.3.7
Repository: https://github.com/checkr/openmock.git
Documentation: pkg.go.dev

# Constants

ActionSendHTTPMethodDELETE captures enum value "DELETE".
ActionSendHTTPMethodGET captures enum value "GET".
ActionSendHTTPMethodHEAD captures enum value "HEAD".
ActionSendHTTPMethodOPTIONS captures enum value "OPTIONS".
ActionSendHTTPMethodPOST captures enum value "POST".
ActionSendHTTPMethodPUT captures enum value "PUT".
ExpectHTTPMethodDELETE captures enum value "DELETE".
ExpectHTTPMethodGET captures enum value "GET".
ExpectHTTPMethodHEAD captures enum value "HEAD".
ExpectHTTPMethodOPTIONS captures enum value "OPTIONS".
ExpectHTTPMethodPOST captures enum value "POST".
ExpectHTTPMethodPUT captures enum value "PUT".
MockKindAbstractBehavior captures enum value "AbstractBehavior".
MockKindBehavior captures enum value "Behavior".
MockKindTemplate captures enum value "Template".

# Structs

ActionDispatcher action dispatcher swagger:model ActionDispatcher.
ActionPerformed when evaluating a mock, an object capturing what would happen if the mock's action is performed swagger:model ActionPerformed.
ActionPublishAMQP publish a message on AMQP if this behaviors condition is met swagger:model ActionPublishAMQP.
ActionPublishKafka publish a message on kafka swagger:model ActionPublishKafka.
ActionReplyGRPC reply to incoming GRPC that triggered this behavior with a response swagger:model ActionReplyGRPC.
ActionReplyHTTP reply to incoming HTTP that triggered this behavior with a response swagger:model ActionReplyHTTP.
ActionSendHTTP Send a HTTP message as an action swagger:model ActionSendHTTP.
ActionSleep pause the action thread for a time swagger:model ActionSleep.
Error error swagger:model error.
EvalContext when evaluating a mock, the input context to evaluate.
EvalHTTPContext input context for ExpectHTTP mock swagger:model EvalHTTPContext.
EvalKafkaContext input context for ExpectKafka mock swagger:model EvalKafkaContext.
Expect expect swagger:model Expect.
ExpectAMQP expect a m q p swagger:model ExpectAMQP.
ExpectGRPC expect g RPC swagger:model ExpectGRPC.
ExpectHTTP expect HTTP swagger:model ExpectHTTP.
ExpectKafka expect kafka swagger:model ExpectKafka.
Health health swagger:model health.
Mock mock swagger:model Mock.
MockEvalRequest Request to evaluate a mock's behavior given an input context swagger:model MockEvalRequest.
MockEvalResponse Result of evaluating mock, indicates what the mock would be expected to do given the input swagger:model MockEvalResponse.
PublishKafkaActionPerformed kafka reply info that would be replied when an evaluated mock did PublishKafka action swagger:model PublishKafkaActionPerformed.
ReplyHTTPActionPerformed http info that would be replied when an evaluated mock did ReplyHTTP action swagger:model ReplyHTTPActionPerformed.

# Type aliases

ActionRedis a list of redis commands to run when the swagger:model ActionRedis.
Mocks collection of mocks swagger:model Mocks.