Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amp-labs/connectors
/ functions
Functions
8,532 in github.com/amp-labs/connectors
⨍
Functions
8,532
◇
Types & classes
1,636
↓ 10 callers
Method
getURL
getURL returns the base prefixed URL.
common/http.go:137
↓ 10 callers
Function
helperCreateJSON
(t *testing.T, text string)
internal/jsonquery/queries_test.go:1145
↓ 10 callers
Method
modulePath
modulePath returns the module's URL prefix (e.g. "/api/v2") from schemas.json root.path. Used by URL builders here that compose paths with dynamic rec
providers/acculynx/write.go:268
↓ 10 callers
Method
rootURL
(paths ...string)
providers/hubspot/url.go:161
↓ 9 callers
Method
AddEncodingExceptions
(exceptions map[string]string)
common/urlbuilder/url.go:122
↓ 9 callers
Function
ComparatorSubscriptionWithResult
ComparatorSubscriptionWithResult returns a comparator for subscription results that first compares the common SubscriptionResult fields and then compa
test/utils/testconn/comparator.go:293
↓ 9 callers
Method
Complete
Complete fulfills the promise with a value and error pair. This is a convenience method that matches Go's standard (value, error) return pattern. It
internal/future/promise.go:165
↓ 9 callers
Function
ConstructApexTrigger
ConstructApexTrigger builds the zip deployment package containing three Apex artifacts: 1. The trigger itself (triggers/<TriggerName>.trigger) — a th
providers/salesforce/internal/crm/metadata/apextrigger.go:119
↓ 9 callers
Method
FilterBy
FilterBy returns a new SearchFilter with an additional FieldFilter appended. The receiver is treated as immutable: FilterBy does not modify the origi
common/typemethods.go:15
↓ 9 callers
Method
FindOne
(expr string)
common/xquery/queries.go:45
↓ 9 callers
Function
GetFirefliesConnector
(ctx context.Context)
test/fireflies/connector.go:13
↓ 9 callers
Method
GetIdFields
GetIdFields returns a mapping of object names to their ID field names. The ID field is the field within each record that serves as its unique identif
memstore/storage.go:154
↓ 9 callers
Function
GetPanicRecoveryError
GetPanicRecoveryError converts a recovered panic value and optional stack trace into a standard error. If the panic value is nil, it returns nil. If t
common/utils/panic.go:15
↓ 9 callers
Function
GetResponseHeaders
(response *http.Response)
common/http.go:710
↓ 9 callers
Function
GetShopifyConnector
(ctx context.Context)
test/shopify/connector.go:14
↓ 9 callers
Method
HTTPClient
()
providers/instantly/client.go:10
↓ 9 callers
Method
Intersection
(other Set[V])
internal/datautils/set.go:77
↓ 9 callers
Method
IsSuccess
IsSuccess returns true if the Try contains a successful value (Error is nil).
common/try/try.go:13
↓ 9 callers
Function
NewAllowPathStrategy
NewAllowPathStrategy produces a path matching strategy that will accept only those paths that matched the list. Others will be denied. You can use sta
tools/fileconv/api3/strategy.go:29
↓ 9 callers
Method
Run
(t *testing.T, builder testconn.ConnectorBuilder[*Strategy])
providers/hubspot/internal/associations/create_test.go:207
↓ 9 callers
Function
SelectFields
SelectFields returns a new map containing only the whitelisted fields.
common/readhelper/selector.go:80
↓ 9 callers
Method
SetBaseURL
SetBaseURL TODO use components.Connector to inherit this method.
providers/salesforce/connector.go:153
↓ 9 callers
Method
Subscribe
Subscribe registers a new subscription to receive notifications for storage events. The subscription context contains the callback function, event fil
memstore/storage.go:205
↓ 9 callers
Method
UpdateSubscription
UpdateSubscription applies detected changes to an existing provider-side subscription. This method is called only after the framework detects changes
connectors.go:278
↓ 9 callers
Function
addTriggerToZip
(zw *zip.Writer, name string, content []byte)
providers/salesforce/internal/crm/metadata/apextrigger.go:713
↓ 9 callers
Function
createError
(baseErr error, sfErr jsonError, res *http.Response, body []byte)
providers/salesforce/internal/crm/core/errors.go:27
↓ 9 callers
Method
getFullyQualifiedName
getFullyQualifiedName returns the fully qualified name for an object. Only the database, schema, and object names are uppercased (FQN components).
providers/snowflake/utils.go:43
↓ 9 callers
Method
handleError
This is the main gateway method that handles errors produced - by http clients JSON, XML, etc.; - by underlying oauth2 library; Otherwise if the conn
common/error.go:61
↓ 9 callers
Function
makeSOQL
makeSOQL returns the SOQL query for the desired read operation. The timestampColumn parameter specifies which field to use for Since/Until filtering (
providers/salesforce/read.go:70
↓ 9 callers
Function
printWithField
(header string, key string, v interface{})
test/salesforce/event-flow/main.go:195
↓ 9 callers
Function
resolveTopics
resolveTopics returns the deduplicated, sorted AccuLynx topic-name slice for the given events. Objects must be in objectEventTopics; pass-through even
providers/acculynx/subscribe.go:339
↓ 9 callers
Method
sendRequest
sendRequest sends the given request and returns the response & response body.
common/http.go:577
↓ 8 callers
Method
EventTimeStampNano
()
common/types.go:831
↓ 8 callers
Function
FlattenNestedFields
FlattenNestedFields returns a procedure which copies fields of a nested object to the top level. Ex: Every object has special field "attributes" whic
common/parse.go:348
↓ 8 callers
Method
Float64Ptr
Float64Ptr adds a float64 pointer to the hash. Nil pointers are represented as byte 0, non-nil pointers as byte 1 followed by the 8-byte IEEE 754 repr
memstore/hashing.go:172
↓ 8 callers
Function
FormatCommand
(serviceName string, command string)
providers/aws/internal/core/commands.go:5
↓ 8 callers
Function
GetMarshaledData
GetMarshaledData converts records into ReadResultRow slices without populating the Id field. Deprecated: For new connectors, prefer readhelper.MakeGe
common/parse.go:204
↓ 8 callers
Method
GetRecord
()
common/types.go:514
↓ 8 callers
Function
Header
(headerName, headerValue string)
test/utils/mockutils/mockserver/handlers.go:40
↓ 8 callers
Function
HeaderLink
HeaderLink extracts and parses Link Header of HTTP response. nolint:lll Example: given the header below we want to return one of the URLs based on th
internal/httpkit/response.go:19
↓ 8 callers
Function
IsContextAlive
IsContextAlive returns true if the context is not done.
common/contexts/contexts.go:6
↓ 8 callers
Method
IsFailure
IsFailure returns true if the Try contains an error (Error is not nil).
common/try/try.go:18
↓ 8 callers
Method
ListObjectMetadata
( ctx context.Context, objectNames []string, )
mock/connector.go:158
↓ 8 callers
Function
NewBasicAuthHTTPClient
NewBasicAuthHTTPClient returns a new http client, with automatic Basic authentication. Specifically this means that the client will automatically add
common/basic.go:12
↓ 8 callers
Method
NodeFromMap
(mapping map[string]any)
internal/jsonquery/converters.go:71
↓ 8 callers
Function
Operation
Operation loads and renders a GraphQL query or mutation from a template file. It reads a .graphql template from the embedded filesystem and executes
internal/graphql/operation.go:28
↓ 8 callers
Method
RawEventName
RawEventName returns AccuLynx's topicName verbatim (e.g. "job_created").
providers/acculynx/subscriptionEvent.go:107
↓ 8 callers
Method
RecordId
RecordId returns the affected contact/job id from event.<object>.id. Returns errParentRecordIDUnavailable for topics where AccuLynx omits the parent i
providers/acculynx/subscriptionEvent.go:169
↓ 8 callers
Method
Register
Register performs a provider-specific registration required to enable webhook subscriptions. This is typically a one-time operation per installation
connectors.go:321
↓ 8 callers
Method
Since
(objectName string, timestamp time.Time)
providers/microsoft/filter.go:293
↓ 8 callers
Method
Validate
Validate finalizes the comparison and fails the test if any mismatches were recorded. If the CompareResult is successful (OK == true), Validate is a
test/utils/testutils/comparison.go:201
↓ 8 callers
Function
capture
---- helpers ---- capture prints a successful WriteResult and extracts uuid + version from the data payload so the caller can use them in subsequent u
test/gusto/write/main.go:451
↓ 8 callers
Function
cleanup
( ctx context.Context, conn *salesforce.Connector, subscriptionResult *common.SubscriptionResult, registra
test/salesforce/subscribe/patch-kept-member/main.go:172
↓ 8 callers
Function
constructTestConnector
(serverURL string)
providers/housecallPro/metadata_test.go:206
↓ 8 callers
Function
logRequestWithoutBody
(logger *slog.Logger, req *http.Request, method, id, fullURL string)
common/printable.go:52
↓ 8 callers
Function
newXML
(node *xq.Node)
common/xquery/queries.go:36
↓ 8 callers
Function
printError
printError prints error and returns true if error is not nil.
test/utils/testscenario/crud.go:307
↓ 7 callers
Method
AsInt
AsInt is a helper function that extracts an integer from the map. This function will convert number values such as int, uint, and float to int64. By d
common/stringMap.go:91
↓ 7 callers
Method
BatchWrite
(ctx context.Context, params *common.BatchWriteParam)
test/utils/testconn/connector.go:80
↓ 7 callers
Method
Before
(params common.ReadParams, timestamp time.Time)
common/readhelper/time.go:101
↓ 7 callers
Method
Bool
Bool adds a boolean value to the hash. True is represented as byte 1, false as byte 0.
memstore/hashing.go:108
↓ 7 callers
Function
CamelCaseToSpaceSeparated
CamelCaseToSpaceSeparated converts camel case into lower case space separated string.
tools/fileconv/api3/parameters.go:68
↓ 7 callers
Function
ClassOf
ClassOf returns the ErrorClass for an error, walking the error chain. Resolution order: 1. Any error in the chain implementing Classifier wins (senti
common/errorclass.go:105
↓ 7 callers
Function
ContentXML
ContentXML is a setup handler, which configures server to use XML.
test/utils/mockutils/mockserver/handlers.go:13
↓ 7 callers
Method
DeleteSubscription
DeleteSubscription removes an existing provider-side subscription. This method is called when the framework determines that no subscription lookups r
connectors.go:295
↓ 7 callers
Function
FlatMap
FlatMap transforms a Try[A] into a Try[B] by applying function f to the value if successful. Unlike Map, f returns a Try[B] directly, avoiding nested
common/try/try.go:62
↓ 7 callers
Function
GetAdsConnector
(ctx context.Context)
test/linkedin/connector.go:25
↓ 7 callers
Function
GetApolloConnector
(ctx context.Context)
test/apollo/connector.go:13
↓ 7 callers
Function
GetBlackbaudConnector
(ctx context.Context)
test/blackbaud/connector.go:20
↓ 7 callers
Function
GetBreakcoldConnector
(ctx context.Context)
test/breakcold/connector.go:13
↓ 7 callers
Function
GetConnector
(ctx context.Context)
test/pinterest/connector.go:15
↓ 7 callers
Function
GetInstantlyAIConnector
(ctx context.Context)
test/instantlyai/connector.go:13
↓ 7 callers
Method
HTTPClient
()
providers/constantcontact/client.go:12
↓ 7 callers
Function
HeaderContentURLFormEncoded
()
test/utils/mockutils/mockcond/header.go:7
↓ 7 callers
Method
IsCancelled
IsCancelled returns true if the promise has been canceled. This is a thread-safe check that can be called from any goroutine. Once a promise is cance
internal/future/promise.go:31
↓ 7 callers
Method
JSONHTTPClient
JSONHTTPClient returns the underlying JSON HTTP client.
providers/attio/client.go:6
↓ 7 callers
Function
NewRecordLocation
(id string, zoom ...string)
providers/aws/internal/core/object.go:95
↓ 7 callers
Method
ReadModuleInfo
ReadModuleInfo finds information about the module. If module is not found fallbacks to the default.
providers/utils.go:186
↓ 7 callers
Function
SetInfo
(provider Provider, info ProviderInfo)
tools/linters/modulelinter/testdata/src/testdata/test.go:140
↓ 7 callers
Method
Singular
()
common/naming/plural.go:23
↓ 7 callers
Method
Subtract
Subtract will return objects from current set that didn't occur in the input.
internal/datautils/set.go:65
↓ 7 callers
Method
ToURL
ToURL relies on String method.
common/urlbuilder/url.go:127
↓ 7 callers
Method
UpsertMetadata
(ctx context.Context, params *common.UpsertMetadataParams)
test/utils/testconn/connector.go:39
↓ 7 callers
Function
WithHeaderClient
WithHeaderClient sets the http client to use for the connector. Its usage is optional.
common/header.go:36
↓ 7 callers
Method
WithMetadata
(metadata map[string]string, requiredKeys []string)
common/paramsbuilder/metadata.go:44
↓ 7 callers
Function
WithModule
(module common.ModuleID)
providers/salesforce/params.go:89
↓ 7 callers
Method
WithWorkspace
(workspaceRef string)
common/paramsbuilder/workspace.go:24
↓ 7 callers
Method
Workspace
()
common/types.go:829
↓ 7 callers
Function
Write
(ctx context.Context, conn *ap.Connector, payload common.WriteParams)
test/attio/write/main.go:273
↓ 7 callers
Function
addAcceptJSONHeader
addAcceptJSONHeader adds the Accept: application/json header to the given headers.
common/json.go:209
↓ 7 callers
Function
addHeaders
addHeaders adds the given headers to the request.
common/http.go:644
↓ 7 callers
Function
cleanup
( ctx context.Context, conn *salesforce.Connector, subscriptionResult *common.SubscriptionResult, registra
test/salesforce/subscribe/new-object-trigger-filter/main.go:179
↓ 7 callers
Function
constructResponse
unmarshal the write response.
test/attio/write/main.go:283
↓ 7 callers
Function
constructTestCalendarConnector
(serverURL string)
providers/google/metadata_test.go:213
↓ 7 callers
Function
create
(ctx context.Context, conn *zoho.Connector, objectName string, data map[string]any)
test/zoho/mail/write/write.go:79
↓ 7 callers
Function
createCatalogVars
(pairs ...string)
providers/utils_test.go:530
↓ 7 callers
Function
getClient
(client *http.Client)
providers/utils.go:430
↓ 7 callers
Function
getRequestModifier
(ctx context.Context)
common/request.go:27
↓ 7 callers
Function
handleNullNode
(key string, optional bool)
internal/jsonquery/errors.go:20
↓ 7 callers
Function
moduleIdentifier
In case an empty ModuleID is provided we fall back to the default root module id.
internal/staticschema/core.go:359
← previous
next →
301–400 of 8,532, ranked by callers