-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindexing.go
More file actions
37 lines (32 loc) · 1.21 KB
/
indexing.go
File metadata and controls
37 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package apiclientgo
import (
"github.com/gleanwork/api-client-go/internal/config"
"github.com/gleanwork/api-client-go/internal/hooks"
)
type Indexing struct {
Documents *IndexingDocuments
Permissions *Permissions
Datasource *Datasource
People *People
Datasources *IndexingDatasources
Authentication *IndexingAuthentication
Shortcuts *IndexingShortcuts
rootSDK *Glean
sdkConfiguration config.SDKConfiguration
hooks *hooks.Hooks
}
func newIndexing(rootSDK *Glean, sdkConfig config.SDKConfiguration, hooks *hooks.Hooks) *Indexing {
return &Indexing{
rootSDK: rootSDK,
sdkConfiguration: sdkConfig,
hooks: hooks,
Documents: newIndexingDocuments(rootSDK, sdkConfig, hooks),
Permissions: newPermissions(rootSDK, sdkConfig, hooks),
Datasource: newDatasource(rootSDK, sdkConfig, hooks),
People: newPeople(rootSDK, sdkConfig, hooks),
Datasources: newIndexingDatasources(rootSDK, sdkConfig, hooks),
Authentication: newIndexingAuthentication(rootSDK, sdkConfig, hooks),
Shortcuts: newIndexingShortcuts(rootSDK, sdkConfig, hooks),
}
}