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
↓ 1 callers
Method
query
* The Query method for the group model. * Returns an array of groups that match the query. * Also used by the `queryRecord` method.
web/app/adapters/group.ts:11
↓ 1 callers
Function
refreshDocumentHeader
refreshDocumentHeader refreshes the header for a published document. TODO: improve error handling.
internal/indexer/refresh_headers.go:152
↓ 1 callers
Method
registerAnchor
(e: HTMLElement)
web/app/components/floating-u-i/index.ts:52
↓ 1 callers
Function
registerDocumentTypes
registerDocumentTypes registers all products configured in the application config in the database.
internal/cmd/commands/server/server.go:475
↓ 1 callers
Function
registerProducts
registerProducts registers all products configured in the application config in the database and Algolia. TODO: products are currently needed in Algol
internal/cmd/commands/server/server.go:539
↓ 1 callers
Function
removeEmptyStrings
removeEmptyStrings removes any empty string elements from a slice of strings.
pkg/hashicorpdocs/rfc.go:459
↓ 1 callers
Method
removeResource
(resource: RelatedResource)
web/app/components/document/sidebar/related-resources.ts:192
↓ 1 callers
Function
removeSharing
removeSharing lists permissions for a document and then deletes the permission for the supplied user email
internal/api/drafts.go:1425
↓ 1 callers
Function
removeSharing
removeSharing lists permissions for a document and then deletes the permission for the supplied user email
internal/api/v2/drafts.go:1654
↓ 1 callers
Method
resetErrors
()
web/app/components/document/modal.ts:62
↓ 1 callers
Method
resetOwnersQuery
()
web/app/components/header/toolbar.ts:203
↓ 1 callers
Function
respondError
respondError responds to an HTTP request and logs an error.
internal/api/helpers.go:104
↓ 1 callers
Function
saveDocInAlgolia
saveDoc saves a document struct and its redirect details in Algolia.
internal/indexer/indexer.go:550
↓ 1 callers
Function
saveToken
Saves a token to a file path.
pkg/googleworkspace/service.go:217
↓ 1 callers
Method
scrollIntoView
* Checks whether the focused item is completely visible, * and, if necessary, scrolls the dropdown to make it visible. * Used by the setFocusedI
web/app/components/x/dropdown-list/index.ts:390
↓ 1 callers
Method
setConfig
(param: HermesConfig)
web/app/services/config.ts:24
↓ 1 callers
Function
setWebConfig
( mirageContext: MirageTestContext, key: string, value: any, )
web/mirage/utils.ts:147
↓ 1 callers
Method
showError
(title: string, description: unknown | string)
web/app/components/document/modal.ts:36
↓ 1 callers
Method
showErrorMessage
(err: Error)
web/app/routes/authenticated/document.ts:62
↓ 1 callers
Method
showModal
()
web/app/components/document/sidebar/related-resources/list-item.ts:102
↓ 1 callers
Function
startFactories
(mirage: MirageTestContext)
web/tests/mirage-helpers/utils.ts:4
↓ 1 callers
Method
submit
(event?: SubmitEvent)
web/app/components/new/doc-form.ts:181
↓ 1 callers
Method
targetIsRelated
* Whether the target is related to the dismissible element. * Used to prevent dismissing when targeting on a related element * that isn't a chil
web/app/modifiers/dismissible.ts:59
↓ 1 callers
Function
toggleFlagEmail
toggleFlagEmail toggles a feature flag using user email
internal/pkg/featureflags/flags.go:98
↓ 1 callers
Function
toggleFlagPercentage
toggleFlagPercentage toggles a feature flag using an id string and percentage value using the built-in hash functions This function is based on: https
internal/pkg/featureflags/flags.go:89
↓ 1 callers
Function
tokenFromFile
Retrieves a token from a local file.
pkg/googleworkspace/service.go:228
↓ 1 callers
Method
updateAffordances
()
web/app/components/dashboard/recently-viewed.ts:54
↓ 1 callers
Function
updateRecentlyViewedProjects
updateRecentlyViewedProjects updates the recently viewed projects for a user with the provided email address, using the project ID and viewed-at time
internal/api/v2/projects.go:634
↓ 1 callers
Method
upsertAssocations
upsertAssocations creates required assocations.
pkg/models/document_type.go:111
↓ 1 callers
Function
validate
validate validates the service configuration.
internal/jira/service.go:50
↓ 1 callers
Method
validate
validate validates the indexer configuration.
internal/indexer/indexer.go:106
↓ 1 callers
Function
validateDocType
validateDocType returns true if the name (docType) is contained in the a slice of configured document types.
internal/api/drafts.go:1410
↓ 1 callers
Function
validateDocType
validateDocType returns true if the name (docType) is contained in the a slice of configured document types.
internal/api/v2/drafts.go:1639
↓ 1 callers
Method
verifyOIDCToken
verifyOIDCToken checks if the request is authorized and returns the user identity.
internal/auth/oktaalb/oktaalb.go:77
↓ 1 callers
Method
viewAllResults
(dd?: XDropdownListAnchorAPI)
web/app/components/header/search.ts:204
↓ 1 callers
Function
webHandler
webHandler is middleware for serving our single-page application.
web/web.go:39
Function
AnalyticsHandler
Analytics handles user events for analytics
internal/api/v2/analytics.go:20
Function
ApprovalsHandler
(srv server.Server)
internal/api/v2/approvals.go:16
Method
BeforeSave
BeforeSave is a hook to find or create associations before saving.
pkg/models/document_review.go:36
Method
BeforeSave
BeforeSave is a hook to find or create associations before saving.
pkg/models/document_group_review.go:27
Method
BeforeSave
BeforeSave is a hook used to find associations before saving.
pkg/models/document.go:100
Method
BeforeSave
BeforeSave is a hook to find or create associations before saving.
pkg/models/document_custom_field.go:21
Method
BeforeSave
BeforeSave is a hook to find or create associations before saving.
pkg/models/product_latest_document_number.go:28
Method
BeforeSave
BeforeSave is a hook to find or create associations before saving.
pkg/models/user.go:43
Method
Create
(db *gorm.DB)
pkg/models/document_custom_field.go:40
Method
DeleteFileRevision
(revisionID string)
pkg/document/document.go:687
Method
DeleteFileRevision
(revisionID string)
pkg/hashicorpdocs/basedoc.go:96
Function
DocumentHandler
(srv server.Server)
internal/api/v2/documents.go:44
Function
DocumentTypesHandler
(srv server.Server)
internal/api/v2/document_types.go:10
Function
DraftsDocumentHandler
(srv server.Server)
internal/api/v2/drafts.go:607
Function
DraftsHandler
(srv server.Server)
internal/api/v2/drafts.go:57
Function
DropTestDatabase
(dsn, dbName string)
internal/test/database.go:46
Function
Get
Get returns a document type for a provided (case-insensitive) name or an error if it is not registered.
internal/pkg/doctypes/doc_types.go:47
Method
Get
(db *gorm.DB)
pkg/models/document_related_resource_external_link.go:40
Method
Get
Get gets a group from database db by email address, and assigns it to the receiver.
pkg/models/group.go:44
Method
Get
(db *gorm.DB)
pkg/models/project_related_resource_external_link.go:59
Method
GetApprovedBy
Getters for fields common to all document types.
pkg/hashicorpdocs/common.go:22
Method
GetApprovedBy
()
pkg/hashicorpdocs/basedoc.go:100
Method
GetApprovers
()
pkg/hashicorpdocs/common.go:23
Method
GetApprovers
()
pkg/hashicorpdocs/basedoc.go:104
Method
GetChangesRequestedBy
()
pkg/hashicorpdocs/common.go:24
Method
GetChangesRequestedBy
()
pkg/hashicorpdocs/basedoc.go:108
Method
GetContributors
()
pkg/hashicorpdocs/common.go:25
Method
GetContributors
()
pkg/hashicorpdocs/basedoc.go:112
Method
GetCreatedTime
()
pkg/hashicorpdocs/common.go:26
Method
GetCreatedTime
()
pkg/hashicorpdocs/basedoc.go:116
Method
GetDocNumber
()
pkg/hashicorpdocs/common.go:27
Method
GetDocNumber
()
pkg/hashicorpdocs/basedoc.go:120
Method
GetDocType
()
pkg/hashicorpdocs/basedoc.go:124
Method
GetDocs
GetDocs returns all docs in a Google Drive folder.
pkg/googleworkspace/drive_helpers.go:102
Method
GetFoldersRecursive
GetDocs returns all folders and recursively all subfolders in a Google Drive folder.
pkg/googleworkspace/drive_helpers.go:149
Function
GetLinkURLs
GetLinkURLs returns all link URLs in a Google Doc Body.
pkg/googleworkspace/docs_helpers.go:35
Method
GetMetaTags
()
pkg/hashicorpdocs/common.go:29
Method
GetMetaTags
()
pkg/hashicorpdocs/basedoc.go:128
Method
GetModifiedTime
()
pkg/hashicorpdocs/common.go:30
Method
GetModifiedTime
()
pkg/hashicorpdocs/basedoc.go:140
Method
GetObjectID
()
pkg/hashicorpdocs/common.go:31
Method
GetObjectID
()
pkg/hashicorpdocs/basedoc.go:132
Method
GetOwners
()
pkg/hashicorpdocs/common.go:32
Method
GetOwners
()
pkg/hashicorpdocs/basedoc.go:136
Method
GetProduct
()
pkg/hashicorpdocs/basedoc.go:144
Method
GetStatus
()
pkg/hashicorpdocs/common.go:34
Method
GetStatus
()
pkg/hashicorpdocs/basedoc.go:148
Function
GetStringSliceValue
(in map[string]any, key string)
pkg/document/document.go:713
Function
GetStringValue
(in map[string]any, key string)
pkg/document/document.go:701
Method
GetSummary
()
pkg/hashicorpdocs/common.go:35
Method
GetSummary
()
pkg/hashicorpdocs/basedoc.go:152
Function
GetTables
GetTables returns all tables in a Google Doc Body.
pkg/googleworkspace/docs_helpers.go:59
Method
GetTitle
()
pkg/hashicorpdocs/common.go:36
Method
GetTitle
()
pkg/hashicorpdocs/basedoc.go:156
Method
GetUpdatedDocs
GetUpdatedDocs returns all docs in a Google Drive folder that have been modified after a provided timestamp.
pkg/googleworkspace/drive_helpers.go:200
Function
GroupsHandler
GroupsHandler returns information about Google Groups.
internal/api/v2/groups.go:34
Method
Help
()
internal/cmd/commands/indexer/indexer.go:31
Method
Help
()
internal/cmd/commands/version/version.go:16
Method
Help
()
internal/cmd/commands/operator/migrate_algolia_to_postgresql.go:50
Method
Help
()
internal/cmd/commands/operator/operator.go:16
Method
Help
()
internal/cmd/commands/server/server.go:57
Method
Help
Help generates usage text for a flag set.
internal/cmd/base/base.go:117
Function
IsLocked
IsLocked checks if a document contains one or more suggestions in the header, locks/unlocks the document accordingly, and returns the lock status.
pkg/hashicorpdocs/locked.go:15
Function
JiraIssueHandler
JiraIssueHandler proxies Jira issue API requests.
internal/api/v2/jira_issue.go:33
← previous
next →
401–500 of 1,102, ranked by callers