Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/pact/src/deps.dev.ts>Pact.Pact

Pact πŸ”— Contract Testing for Deno πŸ¦•, Powered by Rust πŸ¦€
Latest
type alias Pact.Pact
import { type Pact } from "https://deno.land/x/pact@0.1.0/src/deps.dev.ts";
const { Pact } = Pact;

/data/input/pact.h#L184

definition: StructPointer<"Pact">
definition: bigint
definition: bigint
definition: number
definition: number
definition: number
definition: bigint
definition: number
definition: number
definition: number
definition: number
definition: number
definition: number
definition: bigint
definition: bigint
definition: PactFfi.__int8_t
definition: PactFfi.__uint8_t
definition: PactFfi.__int16_t
definition: PactFfi.__uint16_t
definition: PactFfi.__int32_t
definition: PactFfi.__uint32_t
definition: PactFfi.__int64_t
definition: PactFfi.__uint64_t
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: number
definition: number
definition: bigint
definition: bigint
definition: number
definition: bigint
definition: bigint
definition: number
definition: StructPointer<"__fsid_t">
definition: bigint
definition: bigint
definition: bigint
definition: number
definition: bigint
definition: number
definition: bigint
definition: bigint
definition: number
definition: number
definition: number
definition: Pointer<"__timer_t">
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: PactFfi.__off64_t
definition: Pointer<"__caddr_t">
definition: bigint
definition: number
definition: number
definition: PactFfi.__int8_t
definition: PactFfi.__int16_t
definition: PactFfi.__int32_t
definition: PactFfi.__int64_t
definition: PactFfi.__uint8_t
definition: PactFfi.__uint16_t
definition: PactFfi.__uint32_t
definition: PactFfi.__uint64_t
definition: PactFfi.__int_least8_t
definition: PactFfi.__int_least16_t
definition: PactFfi.__int_least32_t
definition: PactFfi.__int_least64_t
definition: PactFfi.__uint_least8_t
definition: PactFfi.__uint_least16_t
definition: PactFfi.__uint_least32_t
definition: PactFfi.__uint_least64_t
definition: number
definition: bigint
definition: bigint
definition: bigint
definition: number
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: PactFfi.__intmax_t
definition: PactFfi.__uintmax_t
definition: bigint
definition: number
definition: bigint
definition: bigint
definition: bigint
definition: bigint
definition: StructPointer<"div_t">
definition: StructPointer<"ldiv_t">
definition: StructPointer<"lldiv_t">
definition: PactFfi.__u_char
definition: PactFfi.__u_short
definition: PactFfi.__u_int
definition: PactFfi.__u_long
definition: PactFfi.__quad_t
definition: PactFfi.__u_quad_t
definition: PactFfi.__fsid_t
definition: PactFfi.__loff_t
definition: PactFfi.__ino_t
definition: PactFfi.__dev_t
definition: PactFfi.__gid_t
definition: PactFfi.__mode_t
definition: PactFfi.__uid_t
definition: PactFfi.__off_t
definition: PactFfi.__pid_t
definition: PactFfi.__id_t
definition: PactFfi.__ssize_t
definition: PactFfi.__daddr_t
definition: PactFfi.__caddr_t
definition: PactFfi.__key_t
definition: PactFfi.__clock_t
definition: PactFfi.__clockid_t
definition: PactFfi.__time_t
definition: PactFfi.__timer_t
definition: bigint
definition: number
definition: number
definition: PactFfi.__uint8_t
definition: PactFfi.__uint16_t
definition: PactFfi.__uint32_t
definition: PactFfi.__uint64_t
definition: number
definition: StructPointer<"__sigset_t">
definition: PactFfi.__sigset_t
definition: PactFfi.__suseconds_t
definition: bigint
definition: StructPointer<"fd_set">
definition: PactFfi.__fd_mask
definition: PactFfi.__blksize_t
definition: PactFfi.__blkcnt_t
definition: PactFfi.__fsblkcnt_t
definition: PactFfi.__fsfilcnt_t
definition: unknown
definition: StructPointer<"__pthread_internal_list">
definition: StructPointer<"__pthread_internal_slist">
definition: number
definition: bigint
definition: StructPointer<"__once_flag">
definition: bigint
definition: unknown
definition: unknown
definition: number
definition: number
definition: unknown
definition: unknown
definition: unknown
definition: unknown
definition: unknown
definition: number
definition: unknown
definition: unknown
definition: FnPointer<"__compar_fn_t">
definition: PactFfi.ExpressionValueType
definition: PactFfi.InteractionPart
definition: PactFfi.LevelFilter
definition: PactFfi.PactSpecification
definition: StructPointer<"Consumer">
definition: StructPointer<"Generator">
definition: StructPointer<"MatchingRule">
definition: StructPointer<"MatchingRuleDefinitionResult">
definition: StructPointer<"MatchingRuleIterator">
definition: StructPointer<"Message">
definition: StructPointer<"MessageMetadataIterator">
definition: StructPointer<"MessagePact">
definition: StructPointer<"MessagePactMessageIterator">
definition: StructPointer<"MessagePactMetadataIterator">
definition: StructPointer<"Mismatch">
definition: StructPointer<"Mismatches">
definition: StructPointer<"MismatchesIterator">
definition: StructPointer<"Pact">
definition: StructPointer<"PactMessageIterator">
definition: StructPointer<"PactSyncHttpIterator">
definition: StructPointer<"PactSyncMessageIterator">
definition: StructPointer<"Provider">
definition: StructPointer<"ProviderState">
definition: StructPointer<"ProviderStateIterator">
definition: StructPointer<"ProviderStateParamIterator">
definition: StructPointer<"SynchronousHttp">
definition: StructPointer<"SynchronousMessage">
definition: StructPointer<"VerifierHandle">
definition: StructPointer<"MessageMetadataPair">
definition: StructPointer<"MessagePactMetadataTriple">
definition: StructPointer<"ProviderStateParamPair">
definition: PactFfi.MatchingRuleResult_Tag
definition: StructPointer<"MatchingRuleResult_MatchingRule_Body">
definition: StructPointer<"MatchingRuleResult">
definition: PactFfi.uint16_t
definition: PactFfi.StringResult_Tag
definition: StructPointer<"StringResult">
definition: PactFfi.uint32_t
definition: PactFfi.uint16_t
definition: PactFfi.uint32_t
function Pact.Pact
import { Pact } from "https://deno.land/x/pact@0.1.0/src/deps.dev.ts";
const { Pact } = Pact;

.stdlib.h#L540

Parameters

__size: number

Returns

Pointer<void>

.stdlib.h#L543

Parameters

__nmemb: number
__size: number

Returns

Pointer<void>

.stdlib.h#L551

Parameters

__ptr: Pointer<void>
__size: number

Returns

Pointer<void>

.stdlib.h#L555

Parameters

__ptr: Pointer<void>

.stdlib.h#L586

Parameters

__memptr: Pointer<Pointer<void>>
__alignment: number
__size: number

Returns

number

.stdlib.h#L598

.stdlib.h#L641

Parameters

__name: Pointer<number>

Returns

Pointer<number>

.stdlib.h#L808

Parameters

__name: Pointer<number>
__resolved: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L391

Returns

Pointer<number>

/data/input/pact.h#L402

Parameters

log_env_var: Pointer<number>

/data/input/pact.h#L412

Parameters

level: Pointer<number>

/data/input/pact.h#L421

/data/input/pact.h#L436

Parameters

source: Pointer<number>
log_level: Pointer<number>
message: Pointer<number>

/data/input/pact.h#L442

Parameters

msg_1: Pointer<StructPointer<"Message">>
msg_2: Pointer<StructPointer<"Message">>

Returns

Pointer<StructPointer<"Mismatches">>

/data/input/pact.h#L448

Parameters

mismatches: Pointer<StructPointer<"Mismatches">>

Returns

Pointer<StructPointer<"MismatchesIterator">>

/data/input/pact.h#L453

Parameters

mismatches: Pointer<StructPointer<"Mismatches">>

/data/input/pact.h#L460

Parameters

iter: Pointer<StructPointer<"Mismatches">>

Returns

Pointer<StructPointer<"MismatchesIterator">>

/data/input/pact.h#L465

Parameters

iter: Pointer<StructPointer<"MismatchesIterator">>

/data/input/pact.h#L470

Parameters

mismatch: Pointer<StructPointer<"Mismatch">>

Returns

Pointer<number>

/data/input/pact.h#L475

Parameters

mismatch: Pointer<StructPointer<"Mismatch">>

Returns

Pointer<number>

/data/input/pact.h#L480

Parameters

mismatch: Pointer<StructPointer<"Mismatch">>

Returns

Pointer<number>

/data/input/pact.h#L485

Parameters

mismatch: Pointer<StructPointer<"Mismatch">>

Returns

Pointer<number>

/data/input/pact.h#L490

Parameters

mismatch: Pointer<StructPointer<"Mismatch">>

Returns

Pointer<number>

/data/input/pact.h#L529

Parameters

buffer: Pointer<number>
length: number

Returns

number

/data/input/pact.h#L535

Parameters

level_filter: PactFfi.LevelFilter

Returns

number

/data/input/pact.h#L540

Parameters

level_filter: PactFfi.LevelFilter

Returns

number

/data/input/pact.h#L549

Parameters

file_name: Pointer<number>
level_filter: PactFfi.LevelFilter

Returns

number

/data/input/pact.h#L554

Parameters

level_filter: PactFfi.LevelFilter

Returns

number

/data/input/pact.h#L571

/data/input/pact.h#L608

Parameters

sink_specifier: Pointer<number>
level_filter: PactFfi.LevelFilter

Returns

number

/data/input/pact.h#L618

Returns

number

/data/input/pact.h#L636

Parameters

log_id: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L646

Parameters

json: Pointer<number>

Returns

Pointer<StructPointer<"Pact">>

/data/input/pact.h#L651

Parameters

pact: Pointer<StructPointer<"Pact">>

/data/input/pact.h#L689

Parameters

consumer: Pointer<StructPointer<"Consumer">>

Returns

Pointer<number>

/data/input/pact.h#L702

Returns

Pointer<StructPointer<"Message">>

/data/input/pact.h#L715

Parameters

index: number
json_str: Pointer<number>
spec_version: PactFfi.PactSpecification

Returns

Pointer<StructPointer<"Message">>

/data/input/pact.h#L730

Parameters

body: Pointer<number>
content_type: Pointer<number>

Returns

Pointer<StructPointer<"Message">>

/data/input/pact.h#L735

Parameters

message: Pointer<StructPointer<"Message">>

/data/input/pact.h#L753

Parameters

message: Pointer<StructPointer<"Message">>

Returns

Pointer<number>

/data/input/pact.h#L768

Parameters

message: Pointer<StructPointer<"Message">>
contents: Pointer<number>
content_type: Pointer<number>

/data/input/pact.h#L784

Parameters

message: Pointer<StructPointer<"Message">>

Returns

number

/data/input/pact.h#L800

Parameters

message: Pointer<StructPointer<"Message">>

Returns

Pointer<number>

/data/input/pact.h#L815

Parameters

message: Pointer<StructPointer<"Message">>
contents: Pointer<number>
len: number
content_type: Pointer<number>

/data/input/pact.h#L837

Parameters

message: Pointer<StructPointer<"Message">>

Returns

Pointer<number>

/data/input/pact.h#L854

Parameters

message: Pointer<StructPointer<"Message">>
description: Pointer<number>

Returns

number

/data/input/pact.h#L873

Parameters

message: Pointer<StructPointer<"Message">>
index: number

Returns

Pointer<StructPointer<"ProviderState">>

/data/input/pact.h#L887

Parameters

message: Pointer<StructPointer<"Message">>

Returns

Pointer<StructPointer<"ProviderStateIterator">>

/data/input/pact.h#L903

Parameters

iter: Pointer<StructPointer<"ProviderStateIterator">>

Returns

Pointer<StructPointer<"ProviderState">>

/data/input/pact.h#L908

Parameters

iter: Pointer<StructPointer<"ProviderStateIterator">>

/data/input/pact.h#L931

Parameters

message: Pointer<StructPointer<"Message">>
key: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L947

Parameters

message: Pointer<StructPointer<"Message">>
key: Pointer<number>
value: Pointer<number>

Returns

number

/data/input/pact.h#L967

Parameters

message: Pointer<StructPointer<"Message">>

Returns

Pointer<StructPointer<"MessageMetadataIterator">>

/data/input/pact.h#L980

Parameters

iter: Pointer<StructPointer<"MessageMetadataIterator">>

Returns

Pointer<StructPointer<"MessageMetadataPair">>

/data/input/pact.h#L985

Parameters

iter: Pointer<StructPointer<"MessageMetadataIterator">>

/data/input/pact.h#L990

Parameters

pair: Pointer<StructPointer<"MessageMetadataPair">>

/data/input/pact.h#L1005

Parameters

file_name: Pointer<number>
json_str: Pointer<number>

Returns

Pointer<StructPointer<"MessagePact">>

/data/input/pact.h#L1010

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>

/data/input/pact.h#L1026

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>

Returns

Pointer<StructPointer<"Consumer">>

/data/input/pact.h#L1042

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>

Returns

Pointer<StructPointer<"Provider">>

/data/input/pact.h#L1062

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>

Returns

Pointer<StructPointer<"MessagePactMessageIterator">>

/data/input/pact.h#L1075

Parameters

iter: Pointer<StructPointer<"MessagePactMessageIterator">>

Returns

Pointer<StructPointer<"MessagePact">>

/data/input/pact.h#L1080

Parameters

iter: Pointer<StructPointer<"MessagePactMessageIterator">>

/data/input/pact.h#L1103

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>
key1: Pointer<number>
key2: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L1125

Parameters

message_pact: Pointer<StructPointer<"MessagePact">>

Returns

Pointer<StructPointer<"MessagePactMetadataIterator">>

/data/input/pact.h#L1138

Parameters

iter: Pointer<StructPointer<"MessagePactMetadataIterator">>

Returns

Pointer<StructPointer<"MessagePactMetadataTriple">>

/data/input/pact.h#L1143

Parameters

iter: Pointer<StructPointer<"MessagePactMetadataIterator">>

/data/input/pact.h#L1148

Parameters

triple: Pointer<StructPointer<"MessagePactMetadataTriple">>

/data/input/pact.h#L1186

Parameters

provider: Pointer<StructPointer<"Provider">>

Returns

Pointer<number>

/data/input/pact.h#L1199

Parameters

provider_state: Pointer<StructPointer<"ProviderState">>

Returns

Pointer<number>

/data/input/pact.h#L1219

Parameters

provider_state: Pointer<StructPointer<"ProviderState">>

Returns

Pointer<StructPointer<"ProviderStateParamIterator">>

/data/input/pact.h#L1237

Parameters

iter: Pointer<StructPointer<"ProviderStateParamIterator">>

Returns

Pointer<StructPointer<"ProviderStateParamPair">>

/data/input/pact.h#L1242

Parameters

provider_state: Pointer<StructPointer<"ProviderState">>

/data/input/pact.h#L1247

Parameters

iter: Pointer<StructPointer<"ProviderStateParamIterator">>

/data/input/pact.h#L1252

Parameters

pair: Pointer<StructPointer<"ProviderStateParamPair">>

/data/input/pact.h#L1257

Parameters

iter: Pointer<StructPointer<"PactMessageIterator">>

/data/input/pact.h#L1276

Parameters

iter: Pointer<StructPointer<"PactMessageIterator">>

Returns

Pointer<StructPointer<"Message">>

/data/input/pact.h#L1295

Parameters

iter: Pointer<StructPointer<"PactSyncMessageIterator">>

Returns

Pointer<StructPointer<"SynchronousMessage">>

/data/input/pact.h#L1300

Parameters

iter: Pointer<StructPointer<"PactSyncMessageIterator">>

/data/input/pact.h#L1319

Parameters

iter: Pointer<StructPointer<"PactSyncHttpIterator">>

Returns

Pointer<StructPointer<"SynchronousHttp">>

/data/input/pact.h#L1324

Parameters

iter: Pointer<StructPointer<"PactSyncHttpIterator">>

/data/input/pact.h#L1337

Returns

Pointer<StructPointer<"SynchronousMessage">>

/data/input/pact.h#L1342

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

/data/input/pact.h#L1360

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

Pointer<number>

/data/input/pact.h#L1379

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
contents: Pointer<number>
content_type: Pointer<number>

/data/input/pact.h#L1395

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

number

/data/input/pact.h#L1411

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

Pointer<number>

/data/input/pact.h#L1431

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
contents: Pointer<number>
len: number
content_type: Pointer<number>

/data/input/pact.h#L1447

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

number

/data/input/pact.h#L1466

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number

Returns

Pointer<number>

/data/input/pact.h#L1488

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number
contents: Pointer<number>
content_type: Pointer<number>

/data/input/pact.h#L1505

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number

Returns

number

/data/input/pact.h#L1522

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number

Returns

Pointer<number>

/data/input/pact.h#L1546

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number
contents: Pointer<number>
len: number
content_type: Pointer<number>

/data/input/pact.h#L1569

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

Pointer<number>

/data/input/pact.h#L1586

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
description: Pointer<number>

Returns

number

/data/input/pact.h#L1606

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>
index: number

Returns

Pointer<StructPointer<"ProviderState">>

/data/input/pact.h#L1620

Parameters

message: Pointer<StructPointer<"SynchronousMessage">>

Returns

Pointer<StructPointer<"ProviderStateIterator">>

/data/input/pact.h#L1633

Returns

Pointer<StructPointer<"SynchronousHttp">>

/data/input/pact.h#L1638

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

/data/input/pact.h#L1656

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<number>

/data/input/pact.h#L1675

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
contents: Pointer<number>
content_type: Pointer<number>

/data/input/pact.h#L1691

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

number

/data/input/pact.h#L1707

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<number>

/data/input/pact.h#L1727

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
contents: Pointer<number>
len: number
content_type: Pointer<number>

/data/input/pact.h#L1749

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<number>

/data/input/pact.h#L1768

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
contents: Pointer<number>
content_type: Pointer<number>

/data/input/pact.h#L1784

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

number

/data/input/pact.h#L1800

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<number>

/data/input/pact.h#L1820

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
contents: Pointer<number>
len: number
content_type: Pointer<number>

/data/input/pact.h#L1842

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<number>

/data/input/pact.h#L1859

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
description: Pointer<number>

Returns

number

/data/input/pact.h#L1878

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>
index: number

Returns

Pointer<StructPointer<"ProviderState">>

/data/input/pact.h#L1892

Parameters

interaction: Pointer<StructPointer<"SynchronousHttp">>

Returns

Pointer<StructPointer<"ProviderStateIterator">>

/data/input/pact.h#L1915

Parameters

expression: Pointer<number>

Returns

Pointer<StructPointer<"MatchingRuleDefinitionResult">>

/data/input/pact.h#L1922

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

Returns

Pointer<number>

/data/input/pact.h#L1933

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

Returns

Pointer<number>

/data/input/pact.h#L1938

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

/data/input/pact.h#L1949

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

Returns

Pointer<StructPointer<"ExpressionValueType">>

/data/input/pact.h#L1955

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

Returns

PactFfi.ExpressionValueType

/data/input/pact.h#L1960

Parameters

iter: Pointer<StructPointer<"MatchingRuleIterator">>

/data/input/pact.h#L1968

Parameters

definition: Pointer<StructPointer<"MatchingRuleDefinitionResult">>

Returns

Pointer<StructPointer<"MatchingRuleIterator">>

/data/input/pact.h#L1985

Parameters

iter: Pointer<StructPointer<"MatchingRuleIterator">>

Returns

Pointer<StructPointer<"MatchingRuleResult">>

/data/input/pact.h#L1997

Parameters

rule: Pointer<StructPointer<"MatchingRule">>

Returns

Pointer<number>

/data/input/pact.h#L2009

Parameters

generator: Pointer<StructPointer<"Generator">>

Returns

Pointer<number>

/data/input/pact.h#L2019

Parameters

generator: Pointer<StructPointer<"Generator">>
context_json: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L2030

Parameters

generator: Pointer<StructPointer<"Generator">>
context_json: Pointer<number>

Returns

number

/data/input/pact.h#L2043

Parameters

string: Pointer<number>

/data/input/pact.h#L2070

Parameters

pact_str: Pointer<number>
addr_str: Pointer<number>
tls: number

Returns

PactFfi.int32_t

/data/input/pact.h#L2084

Returns

Pointer<number>

/data/input/pact.h#L2110

Parameters

pact: PactFfi.PactHandle
addr_str: Pointer<number>
tls: number

Returns

PactFfi.int32_t

/data/input/pact.h#L2146

Parameters

pact: PactFfi.PactHandle
addr: Pointer<number>
port: PactFfi.uint16_t
transport: Pointer<number>
transport_config: Pointer<number>

Returns

PactFfi.int32_t

/data/input/pact.h#L2158

Parameters

mock_server_port: PactFfi.int32_t

Returns

number

/data/input/pact.h#L2175

Parameters

mock_server_port: PactFfi.int32_t

Returns

Pointer<number>

/data/input/pact.h#L2182

Parameters

mock_server_port: PactFfi.int32_t

Returns

number

/data/input/pact.h#L2205

Parameters

mock_server_port: PactFfi.int32_t
directory: Pointer<number>
overwrite: number

Returns

PactFfi.int32_t

/data/input/pact.h#L2214

Parameters

mock_server_port: PactFfi.int32_t

Returns

Pointer<number>

/data/input/pact.h#L2226

Parameters

format: Pointer<number>

Returns

StructPointer<"StringResult">

/data/input/pact.h#L2236

Parameters

regex: Pointer<number>
example: Pointer<number>

Returns

number

/data/input/pact.h#L2247

Parameters

regex: Pointer<number>

Returns

StructPointer<"StringResult">

/data/input/pact.h#L2259

Parameters

s: Pointer<number>

/data/input/pact.h#L2270

Parameters

consumer_name: Pointer<number>
provider_name: Pointer<number>

Returns

PactFfi.PactHandle

/data/input/pact.h#L2279

Parameters

pact: PactFfi.PactHandle
description: Pointer<number>

Returns

PactFfi.InteractionHandle

/data/input/pact.h#L2287

Parameters

pact: PactFfi.PactHandle
description: Pointer<number>

Returns

PactFfi.InteractionHandle

/data/input/pact.h#L2295

Parameters

pact: PactFfi.PactHandle
description: Pointer<number>

Returns

PactFfi.InteractionHandle

/data/input/pact.h#L2303

Parameters

interaction: PactFfi.InteractionHandle
description: Pointer<number>

Returns

number

/data/input/pact.h#L2311

Parameters

interaction: PactFfi.InteractionHandle
description: Pointer<number>

Returns

number

/data/input/pact.h#L2330

Parameters

interaction: PactFfi.InteractionHandle
test_name: Pointer<number>

Returns

number

/data/input/pact.h#L2341

Parameters

interaction: PactFfi.InteractionHandle
description: Pointer<number>
name: Pointer<number>
value: Pointer<number>

Returns

number

/data/input/pact.h#L2362

Parameters

interaction: PactFfi.InteractionHandle
method: Pointer<number>
path: Pointer<number>

Returns

number

/data/input/pact.h#L2376

Parameters

interaction: PactFfi.InteractionHandle
name: Pointer<number>
index: number
value: Pointer<number>

Returns

number

/data/input/pact.h#L2417

Parameters

interaction: PactFfi.InteractionHandle
name: Pointer<number>
index: number
value: Pointer<number>

Returns

number

/data/input/pact.h#L2429

Parameters

pact: PactFfi.PactHandle
version: PactFfi.PactSpecification

Returns

number

/data/input/pact.h#L2441

Parameters

pact: PactFfi.PactHandle
namespace_: Pointer<number>
name: Pointer<number>
value: Pointer<number>

Returns

number

/data/input/pact.h#L2457

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
name: Pointer<number>
index: number
value: Pointer<number>

Returns

number

/data/input/pact.h#L2499

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
name: Pointer<number>
index: number
value: Pointer<number>

Returns

number

/data/input/pact.h#L2511

Parameters

interaction: PactFfi.InteractionHandle
status: number

Returns

number

/data/input/pact.h#L2539

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
content_type: Pointer<number>
body: Pointer<number>

Returns

number

/data/input/pact.h#L2571

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
content_type: Pointer<number>
body: Pointer<PactFfi.uint8_t>
size: number

Returns

number

/data/input/pact.h#L2602

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
content_type: Pointer<number>
file: Pointer<number>
part_name: Pointer<number>

Returns

StructPointer<"StringResult">

/data/input/pact.h#L2623

Parameters

pact: PactFfi.PactHandle

Returns

Pointer<StructPointer<"PactMessageIterator">>

/data/input/pact.h#L2640

Parameters

pact: PactFfi.PactHandle

Returns

Pointer<StructPointer<"PactSyncMessageIterator">>

/data/input/pact.h#L2657

Parameters

pact: PactFfi.PactHandle

Returns

Pointer<StructPointer<"PactSyncHttpIterator">>

/data/input/pact.h#L2668

Parameters

consumer_name: Pointer<number>
provider_name: Pointer<number>

Returns

PactFfi.MessagePactHandle

/data/input/pact.h#L2678

Parameters

pact: PactFfi.MessagePactHandle
description: Pointer<number>

Returns

PactFfi.MessageHandle

/data/input/pact.h#L2685

Parameters

message: PactFfi.MessageHandle
description: Pointer<number>

/data/input/pact.h#L2692

Parameters

message: PactFfi.MessageHandle
description: Pointer<number>

/data/input/pact.h#L2701

Parameters

message: PactFfi.MessageHandle
description: Pointer<number>
name: Pointer<number>
value: Pointer<number>

/data/input/pact.h#L2720

Parameters

message_handle: PactFfi.MessageHandle
content_type: Pointer<number>
body: Pointer<PactFfi.uint8_t>
size: number

/data/input/pact.h#L2731

Parameters

message_handle: PactFfi.MessageHandle
key: Pointer<number>
value: Pointer<number>

/data/input/pact.h#L2741

Parameters

message_handle: PactFfi.MessageHandle

Returns

Pointer<number>

/data/input/pact.h#L2763

Parameters

pact: PactFfi.MessagePactHandle
directory: Pointer<number>
overwrite: number

Returns

PactFfi.int32_t

/data/input/pact.h#L2775

Parameters

pact: PactFfi.MessagePactHandle
namespace_: Pointer<number>
name: Pointer<number>
value: Pointer<number>

/data/input/pact.h#L2805

Parameters

pact: PactFfi.PactHandle
directory: Pointer<number>
overwrite: number

Returns

PactFfi.int32_t

/data/input/pact.h#L2814

Parameters

pact: PactFfi.PactHandle
description: Pointer<number>

Returns

PactFfi.MessageHandle

/data/input/pact.h#L2826

Parameters

pact: PactFfi.PactHandle

Returns

number

/data/input/pact.h#L2838

Parameters

pact: PactFfi.MessagePactHandle

Returns

number

/data/input/pact.h#L2860

Parameters

args: Pointer<number>

Returns

PactFfi.int32_t

/data/input/pact.h#L2877

Returns

Pointer<StructPointer<"VerifierHandle">>

/data/input/pact.h#L2891

Parameters

name: Pointer<number>
version: Pointer<number>

Returns

Pointer<"VerifierHandle">

/data/input/pact.h#L2896

Parameters

handle: Pointer<"VerifierHandle">

/data/input/pact.h#L2908

Parameters

handle: Pointer<"VerifierHandle">
name: Pointer<number>
scheme: Pointer<number>
host: Pointer<number>
port: number
path: Pointer<number>

/data/input/pact.h#L2929

Parameters

handle: Pointer<"VerifierHandle">
protocol: Pointer<number>
port: number
path: Pointer<number>
scheme: Pointer<number>

/data/input/pact.h#L2948

Parameters

handle: Pointer<"VerifierHandle">
filter_description: Pointer<number>
filter_state: Pointer<number>
filter_no_state: number

/data/input/pact.h#L2969

Parameters

handle: Pointer<"VerifierHandle">
url: Pointer<number>
teardown: number
body: number

/data/input/pact.h#L2985

Parameters

handle: Pointer<"VerifierHandle">
disable_ssl_verification: number
request_timeout: bigint

Returns

number

/data/input/pact.h#L3000

Parameters

handle: Pointer<"VerifierHandle">
coloured_output: number

Returns

number

/data/input/pact.h#L3014

Parameters

handle: Pointer<"VerifierHandle">
is_error: number

Returns

number

/data/input/pact.h#L3034

Parameters

handle: Pointer<"VerifierHandle">
provider_version: Pointer<number>
build_url: Pointer<number>
provider_tags: Pointer<Pointer<number>>
provider_tags_len: number
provider_branch: Pointer<number>

Returns

number

/data/input/pact.h#L3050

Parameters

handle: Pointer<"VerifierHandle">
consumer_filters: Pointer<Pointer<number>>
consumer_filters_len: number

/data/input/pact.h#L3062

Parameters

handle: Pointer<"VerifierHandle">
header_name: Pointer<number>
header_value: Pointer<number>

/data/input/pact.h#L3075

Parameters

handle: Pointer<"VerifierHandle">
file: Pointer<number>

/data/input/pact.h#L3087

Parameters

handle: Pointer<"VerifierHandle">
directory: Pointer<number>

/data/input/pact.h#L3101

Parameters

handle: Pointer<"VerifierHandle">
url: Pointer<number>
username: Pointer<number>
password: Pointer<number>
token: Pointer<number>

/data/input/pact.h#L3120

Parameters

handle: Pointer<"VerifierHandle">
url: Pointer<number>
username: Pointer<number>
password: Pointer<number>
token: Pointer<number>

/data/input/pact.h#L3147

Parameters

handle: Pointer<"VerifierHandle">
url: Pointer<number>
username: Pointer<number>
password: Pointer<number>
token: Pointer<number>
enable_pending: number
include_wip_pacts_since: Pointer<number>
provider_tags: Pointer<Pointer<number>>
provider_tags_len: number
provider_branch: Pointer<number>
consumer_version_selectors: Pointer<Pointer<number>>
consumer_version_selectors_len: number
consumer_version_tags: Pointer<Pointer<number>>
consumer_version_tags_len: number

/data/input/pact.h#L3169

Parameters

handle: Pointer<"VerifierHandle">

Returns

number

/data/input/pact.h#L3220

Returns

Pointer<number>

/data/input/pact.h#L3229

Parameters

handle: Pointer<"VerifierHandle">

Returns

Pointer<number>

/data/input/pact.h#L3238

Parameters

provider_name: Pointer<number>

Returns

Pointer<number>

/data/input/pact.h#L3249

Parameters

handle: Pointer<"VerifierHandle">
strip_ansi: number

Returns

Pointer<number>

/data/input/pact.h#L3257

Parameters

handle: Pointer<"VerifierHandle">

Returns

Pointer<number>

/data/input/pact.h#L3285

Parameters

pact: PactFfi.PactHandle
plugin_name: Pointer<number>
plugin_version: Pointer<number>

Returns

number

/data/input/pact.h#L3293

Parameters

pact: PactFfi.PactHandle

/data/input/pact.h#L3323

Parameters

interaction: PactFfi.InteractionHandle
part: PactFfi.InteractionPart
content_type: Pointer<number>
contents: Pointer<number>

Returns

number
enum Pact.Pact
import { Pact } from "https://deno.land/x/pact@0.1.0/src/deps.dev.ts";
const { Pact } = Pact;

/data/input/pact.h#L22

Members

ExpressionValueType_Boolean = 5
ExpressionValueType_Decimal = 4
ExpressionValueType_Integer = 3
ExpressionValueType_Number = 2
ExpressionValueType_String = 1
ExpressionValueType_Unknown = 0

Members

InteractionPart_Request = 0
InteractionPart_Response = 1

Members

LevelFilter_Debug = 4
LevelFilter_Error = 1
LevelFilter_Info = 3
LevelFilter_Off = 0
LevelFilter_Trace = 5
LevelFilter_Warn = 2

Members

PactSpecification_Unknown = 0
PactSpecification_V1 = 1
PactSpecification_V1_1 = 2
PactSpecification_V2 = 3
PactSpecification_V3 = 4
PactSpecification_V4 = 5

Members

MatchingRuleResult_MatchingReference = 1
MatchingRuleResult_MatchingRule = 0

Members

StringResult_Failed = 1
StringResult_Ok = 0