MCPcopy Create free account

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

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

FunctionJiraIssuePickerHandler
JiraIssuePickerHandler proxies Jira issue picker API requests.
internal/api/v2/jira_issue_picker.go:27
FunctionMeHandler
(srv server.Server)
internal/api/v2/me.go:25
FunctionMeRecentlyViewedDocsHandler
(srv server.Server)
internal/api/v2/me_recently_viewed_docs.go:19
FunctionMeRecentlyViewedProjectsHandler
(srv server.Server)
internal/api/v2/me_recently_viewed_projects.go:16
FunctionMeSubscriptionsHandler
(srv server.Server)
internal/api/v2/me_subscriptions.go:15
MethodMissingFields
()
pkg/hashicorpdocs/common.go:38
MethodMissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/rfc.go:63
MethodMissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/frd.go:46
MethodMissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/prd.go:42
FunctionNOOP
()
web/tests/integration/components/document/modal-test.ts:32
FunctionNew
NOTE: the code below this line was largely copied from the Google Docs Go Quickstart (https://developers.google.com/docs/api/quickstart/go) and will b
pkg/googleworkspace/service.go:108
FunctionNewDB
NewDB returns a new migrated database.
internal/db/db.go:13
FunctionNewEmptyDoc
NewEmptyDoc returns an empty doc struct for the provided doc type.
pkg/hashicorpdocs/common.go:76
FunctionNewFromConfig
New returns a service with the required Google Workspace access for Hermes.
pkg/googleworkspace/service.go:50
FunctionParseDoc
ParseDoc parses and returns a known document type, associated product name, document number or returns an error if the type is unknown.
pkg/hashicorpdocs/common.go:91
FunctionPeopleDataHandler
PeopleDataHandler returns people related data from the Google API to the Hermes frontend.
internal/api/v2/people.go:21
FunctionProductsHandler
ProductsHandler returns the product mappings to the Hermes frontend.
internal/api/v2/products.go:13
FunctionProjectHandler
(srv server.Server)
internal/api/v2/projects.go:302
FunctionProjectsHandler
(srv server.Server)
internal/api/v2/projects.go:64
MethodReplaceHeader
ReplaceHeader replaces the PRD document header, which is the first table in the document. The resulting table looks like this: |--------------------
pkg/hashicorpdocs/frd_replace_header.go:43
MethodReplaceHeader
(fileID, baseURL string, isDraft bool, s *gw.Service)
pkg/hashicorpdocs/rfc_replace_header.go:50
MethodReplaceHeader
ReplaceHeader replaces the PRD document header, which is the first table in the document. The resulting table looks like this: |--------------------
pkg/hashicorpdocs/prd_replace_header.go:43
MethodReplaceText
ReplaceText replaces text in a Google Doc. Provide a map of replacement tags (denoted as "{{tag}}" in the doc) to replacement text as the second param
pkg/googleworkspace/docs_helpers.go:75
FunctionReviewsHandler
(srv server.Server)
internal/api/v2/reviews.go:23
MethodRun
(args []string)
internal/cmd/commands/indexer/indexer.go:53
MethodRun
(args []string)
internal/cmd/commands/operator/migrate_algolia_to_postgresql.go:80
MethodRun
(args []string)
internal/cmd/commands/operator/operator.go:22
MethodSetApprovedBy
Setters for fields common to all document types.
pkg/hashicorpdocs/common.go:42
MethodSetApprovedBy
(s []string)
pkg/hashicorpdocs/basedoc.go:160
MethodSetChangesRequestedBy
([]string)
pkg/hashicorpdocs/common.go:43
MethodSetChangesRequestedBy
(s []string)
pkg/hashicorpdocs/basedoc.go:164
MethodSetContent
(s string)
pkg/hashicorpdocs/common.go:44
MethodSetContent
(s string)
pkg/hashicorpdocs/basedoc.go:168
MethodSetCustomEditableFields
()
pkg/hashicorpdocs/common.go:52
MethodSetCustomEditableFields
()
pkg/hashicorpdocs/rfc.go:58
MethodSetCustomEditableFields
()
pkg/hashicorpdocs/frd.go:41
MethodSetCustomEditableFields
()
pkg/hashicorpdocs/prd.go:37
MethodSetDocNumber
(string)
pkg/hashicorpdocs/common.go:45
MethodSetDocNumber
(s string)
pkg/hashicorpdocs/basedoc.go:172
MethodSetFileRevision
(revisionID, revisionName string)
pkg/document/document.go:691
MethodSetFileRevision
(revisionID, revisionName string)
pkg/hashicorpdocs/basedoc.go:176
MethodSetLocked
(bool)
pkg/hashicorpdocs/common.go:47
MethodSetLocked
(l bool)
pkg/hashicorpdocs/basedoc.go:186
MethodSetModifiedTime
(int64)
pkg/hashicorpdocs/common.go:48
MethodSetModifiedTime
(i int64)
pkg/hashicorpdocs/basedoc.go:190
MethodSetStatus
(string)
pkg/hashicorpdocs/common.go:49
MethodSetStatus
(s string)
pkg/hashicorpdocs/basedoc.go:194
MethodSynopsis
()
internal/cmd/commands/indexer/indexer.go:27
MethodSynopsis
()
internal/cmd/commands/version/version.go:12
MethodSynopsis
()
internal/cmd/commands/operator/migrate_algolia_to_postgresql.go:46
MethodSynopsis
()
internal/cmd/commands/operator/operator.go:12
MethodSynopsis
()
internal/cmd/commands/server/server.go:53
FunctionTestAuthorizeDocumentPatchRequest
(t *testing.T)
internal/api/v2/documents_test.go:65
FunctionTestCompareAlgoliaAndDatabaseDocument
(t *testing.T)
internal/api/helpers_test.go:106
FunctionTestCompareAlgoliaAndDatabaseDocument
(t *testing.T)
internal/api/v2/helpers_test.go:106
FunctionTestCompareSlices
(t *testing.T)
internal/api/helpers_test.go:57
FunctionTestCompareSlices
(t *testing.T)
internal/api/v2/helpers_test.go:57
FunctionTestDocumentFileRevisionwModel
(t *testing.T)
pkg/models/document_file_revision_test.go:11
FunctionTestDocumentGetProjects
(t *testing.T)
pkg/models/document_test.go:1089
FunctionTestDocumentGroupReviewModel
(t *testing.T)
pkg/models/document_group_review_test.go:11
FunctionTestDocumentModel
(t *testing.T)
pkg/models/document_test.go:13
FunctionTestDocumentRelatedResource
(t *testing.T)
pkg/models/document_related_resource_test.go:12
FunctionTestDocumentReplaceRelatedResources
(t *testing.T)
pkg/models/document_test.go:1358
FunctionTestDocumentReviewModel
(t *testing.T)
pkg/models/document_review_test.go:11
FunctionTestDocumentType
(t *testing.T)
pkg/models/document_type_test.go:12
FunctionTestDocumentTypeCustomFieldModel
(t *testing.T)
pkg/models/document_type_custom_field_test.go:11
FunctionTestGetLatestProductNumber
(t *testing.T)
pkg/models/document_test.go:960
FunctionTestGroupModel
(t *testing.T)
pkg/models/group_test.go:11
FunctionTestIndexerFolder
(t *testing.T)
pkg/models/indexer_folder_test.go:13
FunctionTestIndexerMetadata
(t *testing.T)
pkg/models/indexer_metadata_test.go:13
FunctionTestParseDocumentIDFromURLPath
(t *testing.T)
internal/api/documents_test.go:9
FunctionTestParseDocumentIDFromURLPath
(t *testing.T)
internal/api/v2/documents_test.go:10
FunctionTestParseParagraphWithEmails
(t *testing.T)
pkg/hashicorpdocs/rfc_test.go:10
FunctionTestParseResourceIDFromURL
(t *testing.T)
internal/api/helpers_test.go:14
FunctionTestParseResourceIDFromURL
(t *testing.T)
internal/api/v2/helpers_test.go:14
FunctionTestProductLatestDocumentNumber
(t *testing.T)
pkg/models/product_latest_document_number_test.go:11
FunctionTestProductModel
(t *testing.T)
pkg/models/product_test.go:11
FunctionTestProject
(t *testing.T)
pkg/models/project_test.go:13
FunctionTestProjectRelatedResource
(t *testing.T)
pkg/models/project_related_resource_test.go:13
FunctionTestProjectReplaceRelatedResources
(t *testing.T)
pkg/models/project_test.go:274
FunctionTestRemoveStringSliceDuplicates
(t *testing.T)
internal/helpers/helpers_test.go:9
FunctionTestStringSliceContains
(t *testing.T)
internal/helpers/helpers_test.go:36
FunctionTestUpsertStringDocumentCustomField
(t *testing.T)
pkg/models/document_custom_field_test.go:10
FunctionTestUpsertStringSliceDocumentCustomField
(t *testing.T)
pkg/models/document_custom_field_test.go:297
FunctionTestUserModel
(t *testing.T)
pkg/models/user_test.go:11
FunctionTestVersion
(t *testing.T)
internal/cmd/commands/version/version_test.go:13
MethodUpdate
Update updates the document review in database db.
pkg/models/document_group_review.go:132
MethodUpsert
Upsert updates or inserts the receiver group into database db.
pkg/models/group.go:52
MethodUpsert
(db *gorm.DB)
pkg/models/document_custom_field.go:47
FunctionVisitAllTableParagraphs
VisitAllTableParagraphs visits all paragraphs in a Google Doc table, calling fn for each.
pkg/googleworkspace/docs_helpers.go:103
Method_activateAdapter
* We extend EmberMetricsService to resolve a bug in its `_activateAdapter` method. * https://github.com/adopted-ember-addons/ember-metrics/issues/5
web/app/services/_metrics.ts:15
MethodabbreviationIsShown
()
web/app/components/inputs/product-select/item.ts:13
MethodaddJiraIssue
(issue: JiraPickerResult)
web/app/components/project/index.ts:307
MethodaddResource
(resource: RelatedResource)
web/app/components/related-resources.ts:136
MethodaddResource
(resource: RelatedResource)
web/app/components/document/sidebar/related-resources.ts:168
MethodadditionalProductCount
* The number of additional products that are hidden for space. * Used to add a "+N" label next to the avatars. Applies to projects * with more t
web/app/components/dashboard/recently-viewed/item.ts:136
MethodadditionalProductsCount
* The number of additional products that are not shown in the product avatars. * Rendered if `additionalProductsLabelIsShown` is true.
web/app/components/project/tile.ts:78
MethodadditionalProductsLabelIsShown
* Whether the "+N" label is shown next to the product avatars. * True if the number of unique products is greater than the max.
web/app/components/project/tile.ts:69
FunctionafterCreate
* Associate the record with a project from the database. * Create one if it doesn't already exist.
web/mirage/factories/recently-viewed-project.ts:11
FunctionafterCreate
* Associate the record with a document from the database. * Create one if it doesn't already exist.
web/mirage/factories/recently-viewed-doc.ts:14
← previousnext →501–600 of 1,102, ranked by callers