MCPcopy Create free account

hub / github.com/amp-labs/connectors / functions

Functions8,532 in github.com/amp-labs/connectors

↓ 10 callersMethodgetURL
getURL returns the base prefixed URL.
common/http.go:137
↓ 10 callersFunctionhelperCreateJSON
(t *testing.T, text string)
internal/jsonquery/queries_test.go:1145
↓ 10 callersMethodmodulePath
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 callersMethodrootURL
(paths ...string)
providers/hubspot/url.go:161
↓ 9 callersMethodAddEncodingExceptions
(exceptions map[string]string)
common/urlbuilder/url.go:122
↓ 9 callersFunctionComparatorSubscriptionWithResult
ComparatorSubscriptionWithResult returns a comparator for subscription results that first compares the common SubscriptionResult fields and then compa
test/utils/testconn/comparator.go:293
↓ 9 callersMethodComplete
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 callersFunctionConstructApexTrigger
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 callersMethodFilterBy
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 callersMethodFindOne
(expr string)
common/xquery/queries.go:45
↓ 9 callersFunctionGetFirefliesConnector
(ctx context.Context)
test/fireflies/connector.go:13
↓ 9 callersMethodGetIdFields
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 callersFunctionGetPanicRecoveryError
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 callersFunctionGetResponseHeaders
(response *http.Response)
common/http.go:710
↓ 9 callersFunctionGetShopifyConnector
(ctx context.Context)
test/shopify/connector.go:14
↓ 9 callersMethodHTTPClient
()
providers/instantly/client.go:10
↓ 9 callersMethodIntersection
(other Set[V])
internal/datautils/set.go:77
↓ 9 callersMethodIsSuccess
IsSuccess returns true if the Try contains a successful value (Error is nil).
common/try/try.go:13
↓ 9 callersFunctionNewAllowPathStrategy
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 callersMethodRun
(t *testing.T, builder testconn.ConnectorBuilder[*Strategy])
providers/hubspot/internal/associations/create_test.go:207
↓ 9 callersFunctionSelectFields
SelectFields returns a new map containing only the whitelisted fields.
common/readhelper/selector.go:80
↓ 9 callersMethodSetBaseURL
SetBaseURL TODO use components.Connector to inherit this method.
providers/salesforce/connector.go:153
↓ 9 callersMethodSubscribe
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 callersMethodUpdateSubscription
UpdateSubscription applies detected changes to an existing provider-side subscription. This method is called only after the framework detects changes
connectors.go:278
↓ 9 callersFunctionaddTriggerToZip
(zw *zip.Writer, name string, content []byte)
providers/salesforce/internal/crm/metadata/apextrigger.go:713
↓ 9 callersFunctioncreateError
(baseErr error, sfErr jsonError, res *http.Response, body []byte)
providers/salesforce/internal/crm/core/errors.go:27
↓ 9 callersMethodgetFullyQualifiedName
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 callersMethodhandleError
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 callersFunctionmakeSOQL
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 callersFunctionprintWithField
(header string, key string, v interface{})
test/salesforce/event-flow/main.go:195
↓ 9 callersFunctionresolveTopics
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 callersMethodsendRequest
sendRequest sends the given request and returns the response & response body.
common/http.go:577
↓ 8 callersMethodEventTimeStampNano
()
common/types.go:831
↓ 8 callersFunctionFlattenNestedFields
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 callersMethodFloat64Ptr
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 callersFunctionFormatCommand
(serviceName string, command string)
providers/aws/internal/core/commands.go:5
↓ 8 callersFunctionGetMarshaledData
GetMarshaledData converts records into ReadResultRow slices without populating the Id field. Deprecated: For new connectors, prefer readhelper.MakeGe
common/parse.go:204
↓ 8 callersMethodGetRecord
()
common/types.go:514
↓ 8 callersFunctionHeader
(headerName, headerValue string)
test/utils/mockutils/mockserver/handlers.go:40
↓ 8 callersFunctionHeaderLink
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 callersFunctionIsContextAlive
IsContextAlive returns true if the context is not done.
common/contexts/contexts.go:6
↓ 8 callersMethodIsFailure
IsFailure returns true if the Try contains an error (Error is not nil).
common/try/try.go:18
↓ 8 callersMethodListObjectMetadata
( ctx context.Context, objectNames []string, )
mock/connector.go:158
↓ 8 callersFunctionNewBasicAuthHTTPClient
NewBasicAuthHTTPClient returns a new http client, with automatic Basic authentication. Specifically this means that the client will automatically add
common/basic.go:12
↓ 8 callersMethodNodeFromMap
(mapping map[string]any)
internal/jsonquery/converters.go:71
↓ 8 callersFunctionOperation
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 callersMethodRawEventName
RawEventName returns AccuLynx's topicName verbatim (e.g. "job_created").
providers/acculynx/subscriptionEvent.go:107
↓ 8 callersMethodRecordId
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 callersMethodRegister
Register performs a provider-specific registration required to enable webhook subscriptions. This is typically a one-time operation per installation
connectors.go:321
↓ 8 callersMethodSince
(objectName string, timestamp time.Time)
providers/microsoft/filter.go:293
↓ 8 callersMethodValidate
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 callersFunctioncapture
---- 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 callersFunctioncleanup
( ctx context.Context, conn *salesforce.Connector, subscriptionResult *common.SubscriptionResult, registra
test/salesforce/subscribe/patch-kept-member/main.go:172
↓ 8 callersFunctionconstructTestConnector
(serverURL string)
providers/housecallPro/metadata_test.go:206
↓ 8 callersFunctionlogRequestWithoutBody
(logger *slog.Logger, req *http.Request, method, id, fullURL string)
common/printable.go:52
↓ 8 callersFunctionnewXML
(node *xq.Node)
common/xquery/queries.go:36
↓ 8 callersFunctionprintError
printError prints error and returns true if error is not nil.
test/utils/testscenario/crud.go:307
↓ 7 callersMethodAsInt
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 callersMethodBatchWrite
(ctx context.Context, params *common.BatchWriteParam)
test/utils/testconn/connector.go:80
↓ 7 callersMethodBefore
(params common.ReadParams, timestamp time.Time)
common/readhelper/time.go:101
↓ 7 callersMethodBool
Bool adds a boolean value to the hash. True is represented as byte 1, false as byte 0.
memstore/hashing.go:108
↓ 7 callersFunctionCamelCaseToSpaceSeparated
CamelCaseToSpaceSeparated converts camel case into lower case space separated string.
tools/fileconv/api3/parameters.go:68
↓ 7 callersFunctionClassOf
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 callersFunctionContentXML
ContentXML is a setup handler, which configures server to use XML.
test/utils/mockutils/mockserver/handlers.go:13
↓ 7 callersMethodDeleteSubscription
DeleteSubscription removes an existing provider-side subscription. This method is called when the framework determines that no subscription lookups r
connectors.go:295
↓ 7 callersFunctionFlatMap
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 callersFunctionGetAdsConnector
(ctx context.Context)
test/linkedin/connector.go:25
↓ 7 callersFunctionGetApolloConnector
(ctx context.Context)
test/apollo/connector.go:13
↓ 7 callersFunctionGetBlackbaudConnector
(ctx context.Context)
test/blackbaud/connector.go:20
↓ 7 callersFunctionGetBreakcoldConnector
(ctx context.Context)
test/breakcold/connector.go:13
↓ 7 callersFunctionGetConnector
(ctx context.Context)
test/pinterest/connector.go:15
↓ 7 callersFunctionGetInstantlyAIConnector
(ctx context.Context)
test/instantlyai/connector.go:13
↓ 7 callersMethodHTTPClient
()
providers/constantcontact/client.go:12
↓ 7 callersFunctionHeaderContentURLFormEncoded
()
test/utils/mockutils/mockcond/header.go:7
↓ 7 callersMethodIsCancelled
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 callersMethodJSONHTTPClient
JSONHTTPClient returns the underlying JSON HTTP client.
providers/attio/client.go:6
↓ 7 callersFunctionNewRecordLocation
(id string, zoom ...string)
providers/aws/internal/core/object.go:95
↓ 7 callersMethodReadModuleInfo
ReadModuleInfo finds information about the module. If module is not found fallbacks to the default.
providers/utils.go:186
↓ 7 callersFunctionSetInfo
(provider Provider, info ProviderInfo)
tools/linters/modulelinter/testdata/src/testdata/test.go:140
↓ 7 callersMethodSingular
()
common/naming/plural.go:23
↓ 7 callersMethodSubtract
Subtract will return objects from current set that didn't occur in the input.
internal/datautils/set.go:65
↓ 7 callersMethodToURL
ToURL relies on String method.
common/urlbuilder/url.go:127
↓ 7 callersMethodUpsertMetadata
(ctx context.Context, params *common.UpsertMetadataParams)
test/utils/testconn/connector.go:39
↓ 7 callersFunctionWithHeaderClient
WithHeaderClient sets the http client to use for the connector. Its usage is optional.
common/header.go:36
↓ 7 callersMethodWithMetadata
(metadata map[string]string, requiredKeys []string)
common/paramsbuilder/metadata.go:44
↓ 7 callersFunctionWithModule
(module common.ModuleID)
providers/salesforce/params.go:89
↓ 7 callersMethodWithWorkspace
(workspaceRef string)
common/paramsbuilder/workspace.go:24
↓ 7 callersMethodWorkspace
()
common/types.go:829
↓ 7 callersFunctionWrite
(ctx context.Context, conn *ap.Connector, payload common.WriteParams)
test/attio/write/main.go:273
↓ 7 callersFunctionaddAcceptJSONHeader
addAcceptJSONHeader adds the Accept: application/json header to the given headers.
common/json.go:209
↓ 7 callersFunctionaddHeaders
addHeaders adds the given headers to the request.
common/http.go:644
↓ 7 callersFunctioncleanup
( ctx context.Context, conn *salesforce.Connector, subscriptionResult *common.SubscriptionResult, registra
test/salesforce/subscribe/new-object-trigger-filter/main.go:179
↓ 7 callersFunctionconstructResponse
unmarshal the write response.
test/attio/write/main.go:283
↓ 7 callersFunctionconstructTestCalendarConnector
(serverURL string)
providers/google/metadata_test.go:213
↓ 7 callersFunctioncreate
(ctx context.Context, conn *zoho.Connector, objectName string, data map[string]any)
test/zoho/mail/write/write.go:79
↓ 7 callersFunctioncreateCatalogVars
(pairs ...string)
providers/utils_test.go:530
↓ 7 callersFunctiongetClient
(client *http.Client)
providers/utils.go:430
↓ 7 callersFunctiongetRequestModifier
(ctx context.Context)
common/request.go:27
↓ 7 callersFunctionhandleNullNode
(key string, optional bool)
internal/jsonquery/errors.go:20
↓ 7 callersFunctionmoduleIdentifier
In case an empty ModuleID is provided we fall back to the default root module id.
internal/staticschema/core.go:359
← previousnext →301–400 of 8,532, ranked by callers