Module pact_verifier::pact_broker[][src]

Structs and functions for interacting with a Pact Broker

Structs

ConsumerVersionSelector

Structure to represent a HAL link

HALClient

HAL aware HTTP client

Link

Structure to represent a HAL link

PactVerificationContext

Provides the context on why a Pact was included

PactVerificationProperties

Properties associated with the verification context

PactsForVerificationRequest

Request to send to determine the pacts to verify

Enums

PactBrokerError

Errors that can occur with a Pact Broker

TestResult

Struct that wraps the result of a verification test

Functions

fetch_pacts_dynamically_from_broker

Fetch Pacts from the broker using the "provider-pacts-for-verification" endpoint

fetch_pacts_from_broker

Fetches the pacts from the broker that match the provider name

publish_verification_results

Publishes the result to the "pb:publish-verification-results" link in the links associated with the pact