fakes/

directory
v0.1.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT

Directories

Path Synopsis
Package apollo is a fake of the Apollo API calls leadscore makes, served from the fixtures in testdata/vendors/apollo (provisional until real captured calls replace them).
Package apollo is a fake of the Apollo API calls leadscore makes, served from the fixtures in testdata/vendors/apollo (provisional until real captured calls replace them).
Package gcp is an in-memory fake of the Google Cloud calls internal/hosting makes, served under one base URL with each API under its own prefix (/secretmanager, /run, /cloudscheduler, /artifactregistry), as hosting.Connect expects with `base_url`.
Package gcp is an in-memory fake of the Google Cloud calls internal/hosting makes, served under one base URL with each API under its own prefix (/secretmanager, /run, /cloudscheduler, /artifactregistry), as hosting.Connect expects with `base_url`.
Package gcs is an in-memory fake of the Cloud Storage JSON API calls the Sheets store makes for its lease file: bucket get, object get (metadata or media), multipart and media upload, delete, and testIamPermissions on a bucket (the doctor's lease check).
Package gcs is an in-memory fake of the Cloud Storage JSON API calls the Sheets store makes for its lease file: bucket get, object get (metadata or media), multipart and media upload, delete, and testIamPermissions on a bucket (the doctor's lease check).
Package hubspot is a fake HubSpot portal for tests: the CRM calls the HubSpot adapter makes (contacts, deals, companies, v4 associations, pipelines, properties, the token-info call), backed by in-memory records.
Package hubspot is a fake HubSpot portal for tests: the CRM calls the HubSpot adapter makes (contacts, deals, companies, v4 associations, pipelines, properties, the token-info call), backed by in-memory records.
Package sheets is an in-memory fake of the parts of the Google Sheets v4 and Drive v3 APIs that leadscore uses: spreadsheet create and get, batchUpdate with the requests the Sheets store sends, values get and batchGet, and Drive permissions.
Package sheets is an in-memory fake of the parts of the Google Sheets v4 and Drive v3 APIs that leadscore uses: spreadsheet create and get, batchUpdate with the requests the Sheets store sends, values get and batchGet, and Drive permissions.
Package sink is an in-memory fake vendor for tests: a find-or-create Sink and a Lookup over one shared state, so the push loop, the pre-push lookups and the sinktest suite run with no vendor account.
Package sink is an in-memory fake vendor for tests: a find-or-create Sink and a Lookup over one shared state, so the push loop, the pre-push lookups and the sinktest suite run with no vendor account.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL