MCPcopy Create free account

hub / github.com/hashicorp-forge/hermes / functions

Functions1,102 in github.com/hashicorp-forge/hermes

↓ 1 callersMethodUpdateKeepRevisionForever
KeepRevisionForever keeps a Google Drive file revision forever.
pkg/googleworkspace/drive_helpers.go:248
↓ 1 callersMethodValidateAccessToken
ValidateAccessToken validates a Google access token and returns the token info.
pkg/googleworkspace/oauth2_helpers.go:9
↓ 1 callersFunctionValidateFeatureFlags
ValidateFeatureFlags validates the feature flags defined in the config.
internal/config/helpers.go:8
↓ 1 callersFunctionWithAlgoliaClient
WithAlgoliaClient sets the Algolia client.
internal/indexer/indexer.go:119
↓ 1 callersFunctionWithBaseURL
WithBaseURL sets the base URL.
internal/indexer/indexer.go:126
↓ 1 callersFunctionWithDatabase
WithDatabase sets the database.
internal/indexer/indexer.go:133
↓ 1 callersFunctionWithDocumentTypes
WithDocumentTypes sets the document types.
internal/indexer/indexer.go:147
↓ 1 callersFunctionWithDocumentsFolderID
WithDocumentsFolderID sets the documents folder ID.
internal/indexer/indexer.go:140
↓ 1 callersFunctionWithDraftsFolderID
WithDraftsFolderID sets the drafts folder ID.
internal/indexer/indexer.go:154
↓ 1 callersFunctionWithGoogleWorkspaceService
WithGoogleWorkspaceService sets the Google Workspace service.
internal/indexer/indexer.go:161
↓ 1 callersFunctionWithLogger
WithLogger sets the logger.
internal/indexer/indexer.go:168
↓ 1 callersFunctionWithMaxParallelDocuments
WithMaxParallelDocuments sets the number of documents (per folder) to index in parallel.
internal/indexer/indexer.go:176
↓ 1 callersFunctionWithUpdateDocumentHeaders
WithUpdateDocumentHeaders sets the boolean to update draft document headers.
internal/indexer/indexer.go:183
↓ 1 callersFunctionWithUpdateDraftHeaders
WithUpdateDraftHeaders sets the boolean to update draft document headers.
internal/indexer/indexer.go:190
↓ 1 callersFunctionWithUseDatabaseForDocumentData
WithUseDatabaseForDocumentData sets the boolean to use the database for document data.
internal/indexer/indexer.go:198
↓ 1 callersMethodaddDocument
(resource: RelatedHermesDocument)
web/app/components/project/index.ts:401
↓ 1 callersMethodaddLink
(resource: RelatedExternalLink)
web/app/components/project/index.ts:416
↓ 1 callersFunctionconcatGroupSlicesAndRemoveDuplicates
concatGroupSlicesAndRemoveDuplicates concatenates two group slices and removes any duplicate elements from the result.
internal/api/v2/groups.go:162
↓ 1 callersFunctioncontainsSuggestionInHeader
containsSuggestionInHeader returns true if a Google Doc contains one or more suggestions in the document header.
pkg/hashicorpdocs/locked.go:79
↓ 1 callersMethodcreateClient
* Returns an Algolia SearchClient based on the environment.
web/app/services/algolia.ts:56
↓ 1 callersFunctioncreateDraftURLSearchParams
(options: { ownerEmail: string; hitsPerPage?: number; page?: number; facetFilters?: string[]; })
web/app/utils/create-draft-url-search-params.ts:3
↓ 1 callersFunctioncreateShortcut
createShortcut creates a shortcut in the hierarchical folder structure ("Shortcuts Folder/RFC/MyProduct/") under docsFolder.
internal/api/reviews.go:636
↓ 1 callersFunctioncreateShortcut
createShortcut creates a shortcut in the hierarchical folder structure ("Shortcuts Folder/RFC/MyProduct/") under docsFolder.
internal/api/v2/reviews.go:808
↓ 1 callersMethoddocType
(doc: HermesDocument)
web/app/routes/authenticated/document.ts:69
↓ 1 callersFunctiondraftsShareableHandler
( w http.ResponseWriter, r *http.Request, docID string, doc document.Document, cfg config.Config, l hclo
internal/api/drafts_shareable.go:24
↓ 1 callersFunctiondraftsShareableHandler
( w http.ResponseWriter, r *http.Request, docID string, doc document.Document, cfg config.Config, l hclo
internal/api/v2/drafts_shareable.go:24
↓ 1 callersMethodeditResource
(resource: RelatedExternalLink)
web/app/components/document/sidebar/related-resources.ts:135
↓ 1 callersFunctionfileSystem
()
internal/pub/pub.go:20
↓ 1 callersFunctionfileSystem
()
web/web.go:29
↓ 1 callersMethodfocusTypeToConfirmInput
()
web/app/components/document/sidebar.ts:648
↓ 1 callersMethodgetAssociations
getAssociations gets required associations, creating them where appropriate.
pkg/models/user.go:131
↓ 1 callersFunctiongetBooleanValue
(in map[string]any, key string)
internal/api/helpers.go:533
↓ 1 callersFunctiongetBooleanValue
(in map[string]any, key string)
internal/api/v2/helpers.go:555
↓ 1 callersFunctiongetClient
Retrieves a token, saves the token, then returns the generated client.
pkg/googleworkspace/service.go:163
↓ 1 callersFunctiongetDocTypeTemplate
getDocTypeTemplate returns the file ID of the template for a specified document type or an empty string if not found.
internal/api/drafts.go:1392
↓ 1 callersFunctiongetDocTypeTemplate
getDocTypeTemplate returns the file ID of the template for a specified document type or an empty string if not found.
internal/api/v2/drafts.go:1621
↓ 1 callersMethodgetFlightIcon
(type: string)
web/app/services/document-types.ts:20
↓ 1 callersFunctiongetJiraIssueIDFromPath
getJiraIssueIDFromPath returns the Jira issue ID from a request path and corresponding regular expression.
internal/api/v2/jira_issue.go:230
↓ 1 callersFunctiongetMapStringStringValue
(in map[string]any, key string)
internal/api/helpers.go:565
↓ 1 callersFunctiongetMapStringStringValue
(in map[string]any, key string)
internal/api/v2/helpers.go:587
↓ 1 callersFunctiongetProductsData
getProducts gets the product or area name and their associated data from Algolia
internal/api/products.go:47
↓ 1 callersFunctiongetProductsData
getProducts gets the product or area name and their associated data from Algolia
internal/api/v2/products.go:46
↓ 1 callersFunctiongetTokenFromWeb
Requests a token from the web, then returns the retrieved token.
pkg/googleworkspace/service.go:175
↓ 1 callersFunctionhealthHandler
healthHandler responds with the health of the service.
internal/cmd/commands/server/server.go:454
↓ 1 callersMethodhideModal
()
web/app/components/related-resources.ts:132
↓ 1 callersMethodhideModal
()
web/app/components/document/sidebar/related-resources/list-item.ts:109
↓ 1 callersFunctionhttpFileSystem
()
internal/pub/pub.go:16
↓ 1 callersFunctionhttpFileSystem
()
web/web.go:25
↓ 1 callersFunctioninitCommands
(log hclog.Logger, ui cli.Ui)
internal/cmd/commands.go:17
↓ 1 callersMethodinstall
()
web/types/ember-metrics/metrics-adapters/google-analytics-four.d.ts:3
↓ 1 callersFunctionmapKeys
(obj, mapper)
web/app/utils/facets.js:12
↓ 1 callersFunctionmatchStaticPathRedirects
matchStaticPathRedirects matches the URL path provided with string paths and returns the appropriate redirect URL
pkg/links/redirect.go:109
↓ 1 callersMethodmaybeAutofocus
()
web/app/modifiers/autofocus.ts:28
↓ 1 callersMethodmaybeEnableKeyboardNav
()
web/app/components/x/dropdown-list/index.ts:209
↓ 1 callersMethodmaybeForceHidden
()
web/app/modifiers/tooltip.ts:501
↓ 1 callersMethodmaybeSubmitForm
(event?: SubmitEvent)
web/app/components/new/project-form.ts:76
↓ 1 callersMethodmaybeUpdateTooltipText
()
web/app/modifiers/tooltip.ts:445
↓ 1 callersMethodmaybeUpdateValue
(eventOrValue: Event | any)
web/app/components/editable-field.ts:246
↓ 1 callersMethodmoveDown
()
web/app/components/project/resource-list-item.ts:165
↓ 1 callersMethodmoveToBottom
()
web/app/components/project/resource-list-item.ts:175
↓ 1 callersMethodmoveToTop
()
web/app/components/project/resource-list-item.ts:145
↓ 1 callersMethodmoveUp
()
web/app/components/project/resource-list-item.ts:155
↓ 1 callersMethodonChange
(value: string | string[])
web/app/components/editable-field.ts:113
↓ 1 callersMethodonChange
(newValue: any, attributes: ProductArea)
web/app/components/inputs/product-select.ts:52
↓ 1 callersMethodonItemClick
(_item: any, attrs: any)
web/app/components/related-resources/add.ts:331
↓ 1 callersMethodonTriggerKeydown
( contentIsShown: boolean, showContent: () => void, event: KeyboardEvent, )
web/app/components/x/dropdown-list/index.ts:292
↓ 1 callersFunctionparseAndValidatePath
parseAndValidatePath parses the short URL that is requested on "/l" route that has the format /l/doctype/product-docnumber and validates that the path
pkg/links/redirect.go:81
↓ 1 callersFunctionparseEmails
parseEmails parses email addresses from a string.
pkg/hashicorpdocs/rfc.go:374
↓ 1 callersMethodparseFRDContributors
parseFRDContributors parses the FRD Contributors from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:193
↓ 1 callersMethodparseFRDCreated
parseFRDCreated parses the FRD Created date from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:198
↓ 1 callersMethodparseFRDHeader
parseFRDHeader parses a HashiCorp FRD header for metadata.
pkg/hashicorpdocs/frd.go:154
↓ 1 callersMethodparseFRDOwners
parseFRDOwners parses FRD Owners from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:228
↓ 1 callersMethodparseFRDPRD
parseFRDRFC parses the FRD PRD from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:233
↓ 1 callersMethodparseFRDPRFAQ
parseFRDRFC parses the FRD PRFAQ from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:243
↓ 1 callersMethodparseFRDStatus
parseFRDStatus parses the FRD Status from a Google Docs paragraph.
pkg/hashicorpdocs/frd.go:253
↓ 1 callersMethodparseFRDSummary
parseFRDSummary parses the FRD Summary from a Google Docs Body.
pkg/hashicorpdocs/frd.go:273
↓ 1 callersMethodparseFRDTitle
parseFRDTitle parses FRD title and document number from a string (which should be the name of the Google Drive file).
pkg/hashicorpdocs/frd.go:301
↓ 1 callersMethodparsePRDContributors
parsePRDContributors parses the PRD Contributors from a Google Docs paragraph.
pkg/hashicorpdocs/prd.go:183
↓ 1 callersMethodparsePRDCreated
parsePRDCreated parses the PRD Created date from a Google Docs paragraph.
pkg/hashicorpdocs/prd.go:188
↓ 1 callersMethodparsePRDHeader
parsePRDHeader parses a HashiCorp PRD header for metadata.
pkg/hashicorpdocs/prd.go:147
↓ 1 callersMethodparsePRDOwners
parsePRDOwners parses PRD Owners from a Google Docs paragraph.
pkg/hashicorpdocs/prd.go:218
↓ 1 callersMethodparsePRDRFC
parsePRDRFC parses the PRD RFC from a Google Docs paragraph.
pkg/hashicorpdocs/prd.go:223
↓ 1 callersMethodparsePRDStatus
parsePRDStatus parses the PRD Status from a Google Docs paragraph.
pkg/hashicorpdocs/prd.go:233
↓ 1 callersMethodparsePRDSummary
parsePRDSummary parses the PRD Summary from a Google Docs Body.
pkg/hashicorpdocs/prd.go:253
↓ 1 callersMethodparsePRDTitle
parsePRDTitle parses PRD title and document number from a string (which should be the name of the Google Drive file).
pkg/hashicorpdocs/prd.go:281
↓ 1 callersMethodparseRFCApprovers
parseRFCApprovers parses RFC Approvers from a Google Doc paragraph.
pkg/hashicorpdocs/rfc.go:215
↓ 1 callersMethodparseRFCContributors
parseRFCContributors parses the RFC Contributors from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:220
↓ 1 callersMethodparseRFCCreated
parseRFCCreated parses the RFC Created date from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:225
↓ 1 callersMethodparseRFCCurrentVersion
parseRFCCurrentVersion parses the RFC Current Version from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:256
↓ 1 callersMethodparseRFCHeader
parseRFCHeader parses a HashiCorp RFC header for metadata.
pkg/hashicorpdocs/rfc.go:168
↓ 1 callersMethodparseRFCOwners
parseRFCOwners parses RFC Owners from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:261
↓ 1 callersMethodparseRFCPRD
parseRFCPRD parses the RFC PRD from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:266
↓ 1 callersMethodparseRFCStakeholders
parseRFCStakeholders parses RFC Stakeholders from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:276
↓ 1 callersMethodparseRFCStatus
parseRFCStatus parses the RFC Status from a Google Docs paragraph.
pkg/hashicorpdocs/rfc.go:281
↓ 1 callersMethodparseRFCSummary
parseRFCSummary parses the RFC Summary from a Google Docs Body.
pkg/hashicorpdocs/rfc.go:301
↓ 1 callersMethodparseRFCTitle
parseRFCTitle parses RFC title and document number from a string (which should be the name of the Google Drive file).
pkg/hashicorpdocs/rfc.go:331
↓ 1 callersMethodpreloadAssocations
preloadAssocations preloads assocations for a project.
pkg/models/project.go:290
↓ 1 callersMethodprocessQueryType
()
web/app/components/related-resources/add.ts:467
↓ 1 callersFunctionprojectsResourceRelatedResourcesHandler
( srv server.Server, w http.ResponseWriter, r *http.Request, projectID uint, )
internal/api/v2/projects_related_resources.go:55
↓ 1 callersMethodquery
* The query hash to use when clicking the filter. * I.e., the ActiveFiltersService index minus the current filter.
web/app/components/header/active-filter-list-item.ts:37
← previousnext →301–400 of 1,102, ranked by callers