Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashicorp-forge/hermes
/ functions
Functions
1,102 in github.com/hashicorp-forge/hermes
⨍
Functions
1,102
◇
Types & classes
995
Function
JiraIssuePickerHandler
JiraIssuePickerHandler proxies Jira issue picker API requests.
internal/api/v2/jira_issue_picker.go:27
Function
MeHandler
(srv server.Server)
internal/api/v2/me.go:25
Function
MeRecentlyViewedDocsHandler
(srv server.Server)
internal/api/v2/me_recently_viewed_docs.go:19
Function
MeRecentlyViewedProjectsHandler
(srv server.Server)
internal/api/v2/me_recently_viewed_projects.go:16
Function
MeSubscriptionsHandler
(srv server.Server)
internal/api/v2/me_subscriptions.go:15
Method
MissingFields
()
pkg/hashicorpdocs/common.go:38
Method
MissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/rfc.go:63
Method
MissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/frd.go:46
Method
MissingFields
MissingFields returns the missing fields of the doc struct.
pkg/hashicorpdocs/prd.go:42
Function
NOOP
()
web/tests/integration/components/document/modal-test.ts:32
Function
New
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
Function
NewDB
NewDB returns a new migrated database.
internal/db/db.go:13
Function
NewEmptyDoc
NewEmptyDoc returns an empty doc struct for the provided doc type.
pkg/hashicorpdocs/common.go:76
Function
NewFromConfig
New returns a service with the required Google Workspace access for Hermes.
pkg/googleworkspace/service.go:50
Function
ParseDoc
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
Function
PeopleDataHandler
PeopleDataHandler returns people related data from the Google API to the Hermes frontend.
internal/api/v2/people.go:21
Function
ProductsHandler
ProductsHandler returns the product mappings to the Hermes frontend.
internal/api/v2/products.go:13
Function
ProjectHandler
(srv server.Server)
internal/api/v2/projects.go:302
Function
ProjectsHandler
(srv server.Server)
internal/api/v2/projects.go:64
Method
ReplaceHeader
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
Method
ReplaceHeader
(fileID, baseURL string, isDraft bool, s *gw.Service)
pkg/hashicorpdocs/rfc_replace_header.go:50
Method
ReplaceHeader
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
Method
ReplaceText
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
Function
ReviewsHandler
(srv server.Server)
internal/api/v2/reviews.go:23
Method
Run
(args []string)
internal/cmd/commands/indexer/indexer.go:53
Method
Run
(args []string)
internal/cmd/commands/operator/migrate_algolia_to_postgresql.go:80
Method
Run
(args []string)
internal/cmd/commands/operator/operator.go:22
Method
SetApprovedBy
Setters for fields common to all document types.
pkg/hashicorpdocs/common.go:42
Method
SetApprovedBy
(s []string)
pkg/hashicorpdocs/basedoc.go:160
Method
SetChangesRequestedBy
([]string)
pkg/hashicorpdocs/common.go:43
Method
SetChangesRequestedBy
(s []string)
pkg/hashicorpdocs/basedoc.go:164
Method
SetContent
(s string)
pkg/hashicorpdocs/common.go:44
Method
SetContent
(s string)
pkg/hashicorpdocs/basedoc.go:168
Method
SetCustomEditableFields
()
pkg/hashicorpdocs/common.go:52
Method
SetCustomEditableFields
()
pkg/hashicorpdocs/rfc.go:58
Method
SetCustomEditableFields
()
pkg/hashicorpdocs/frd.go:41
Method
SetCustomEditableFields
()
pkg/hashicorpdocs/prd.go:37
Method
SetDocNumber
(string)
pkg/hashicorpdocs/common.go:45
Method
SetDocNumber
(s string)
pkg/hashicorpdocs/basedoc.go:172
Method
SetFileRevision
(revisionID, revisionName string)
pkg/document/document.go:691
Method
SetFileRevision
(revisionID, revisionName string)
pkg/hashicorpdocs/basedoc.go:176
Method
SetLocked
(bool)
pkg/hashicorpdocs/common.go:47
Method
SetLocked
(l bool)
pkg/hashicorpdocs/basedoc.go:186
Method
SetModifiedTime
(int64)
pkg/hashicorpdocs/common.go:48
Method
SetModifiedTime
(i int64)
pkg/hashicorpdocs/basedoc.go:190
Method
SetStatus
(string)
pkg/hashicorpdocs/common.go:49
Method
SetStatus
(s string)
pkg/hashicorpdocs/basedoc.go:194
Method
Synopsis
()
internal/cmd/commands/indexer/indexer.go:27
Method
Synopsis
()
internal/cmd/commands/version/version.go:12
Method
Synopsis
()
internal/cmd/commands/operator/migrate_algolia_to_postgresql.go:46
Method
Synopsis
()
internal/cmd/commands/operator/operator.go:12
Method
Synopsis
()
internal/cmd/commands/server/server.go:53
Function
TestAuthorizeDocumentPatchRequest
(t *testing.T)
internal/api/v2/documents_test.go:65
Function
TestCompareAlgoliaAndDatabaseDocument
(t *testing.T)
internal/api/helpers_test.go:106
Function
TestCompareAlgoliaAndDatabaseDocument
(t *testing.T)
internal/api/v2/helpers_test.go:106
Function
TestCompareSlices
(t *testing.T)
internal/api/helpers_test.go:57
Function
TestCompareSlices
(t *testing.T)
internal/api/v2/helpers_test.go:57
Function
TestDocumentFileRevisionwModel
(t *testing.T)
pkg/models/document_file_revision_test.go:11
Function
TestDocumentGetProjects
(t *testing.T)
pkg/models/document_test.go:1089
Function
TestDocumentGroupReviewModel
(t *testing.T)
pkg/models/document_group_review_test.go:11
Function
TestDocumentModel
(t *testing.T)
pkg/models/document_test.go:13
Function
TestDocumentRelatedResource
(t *testing.T)
pkg/models/document_related_resource_test.go:12
Function
TestDocumentReplaceRelatedResources
(t *testing.T)
pkg/models/document_test.go:1358
Function
TestDocumentReviewModel
(t *testing.T)
pkg/models/document_review_test.go:11
Function
TestDocumentType
(t *testing.T)
pkg/models/document_type_test.go:12
Function
TestDocumentTypeCustomFieldModel
(t *testing.T)
pkg/models/document_type_custom_field_test.go:11
Function
TestGetLatestProductNumber
(t *testing.T)
pkg/models/document_test.go:960
Function
TestGroupModel
(t *testing.T)
pkg/models/group_test.go:11
Function
TestIndexerFolder
(t *testing.T)
pkg/models/indexer_folder_test.go:13
Function
TestIndexerMetadata
(t *testing.T)
pkg/models/indexer_metadata_test.go:13
Function
TestParseDocumentIDFromURLPath
(t *testing.T)
internal/api/documents_test.go:9
Function
TestParseDocumentIDFromURLPath
(t *testing.T)
internal/api/v2/documents_test.go:10
Function
TestParseParagraphWithEmails
(t *testing.T)
pkg/hashicorpdocs/rfc_test.go:10
Function
TestParseResourceIDFromURL
(t *testing.T)
internal/api/helpers_test.go:14
Function
TestParseResourceIDFromURL
(t *testing.T)
internal/api/v2/helpers_test.go:14
Function
TestProductLatestDocumentNumber
(t *testing.T)
pkg/models/product_latest_document_number_test.go:11
Function
TestProductModel
(t *testing.T)
pkg/models/product_test.go:11
Function
TestProject
(t *testing.T)
pkg/models/project_test.go:13
Function
TestProjectRelatedResource
(t *testing.T)
pkg/models/project_related_resource_test.go:13
Function
TestProjectReplaceRelatedResources
(t *testing.T)
pkg/models/project_test.go:274
Function
TestRemoveStringSliceDuplicates
(t *testing.T)
internal/helpers/helpers_test.go:9
Function
TestStringSliceContains
(t *testing.T)
internal/helpers/helpers_test.go:36
Function
TestUpsertStringDocumentCustomField
(t *testing.T)
pkg/models/document_custom_field_test.go:10
Function
TestUpsertStringSliceDocumentCustomField
(t *testing.T)
pkg/models/document_custom_field_test.go:297
Function
TestUserModel
(t *testing.T)
pkg/models/user_test.go:11
Function
TestVersion
(t *testing.T)
internal/cmd/commands/version/version_test.go:13
Method
Update
Update updates the document review in database db.
pkg/models/document_group_review.go:132
Method
Upsert
Upsert updates or inserts the receiver group into database db.
pkg/models/group.go:52
Method
Upsert
(db *gorm.DB)
pkg/models/document_custom_field.go:47
Function
VisitAllTableParagraphs
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
Method
abbreviationIsShown
()
web/app/components/inputs/product-select/item.ts:13
Method
addJiraIssue
(issue: JiraPickerResult)
web/app/components/project/index.ts:307
Method
addResource
(resource: RelatedResource)
web/app/components/related-resources.ts:136
Method
addResource
(resource: RelatedResource)
web/app/components/document/sidebar/related-resources.ts:168
Method
additionalProductCount
* 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
Method
additionalProductsCount
* 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
Method
additionalProductsLabelIsShown
* 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
Function
afterCreate
* 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
Function
afterCreate
* 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
← previous
next →
501–600 of 1,102, ranked by callers