Documentation
¶
Index ¶
- func Int64(i int64) *int64
- func String(s string) *string
- type ACL
- type ACLPerms
- type App
- type AppContent
- type AppListResponse
- type Entry
- type Index
- type IndexContent
- type IndexListRequest
- type IndexListResponse
- type ListRequest
- type Message
- type Paging
- type SearchJob
- type SearchJobContent
- type SearchJobListRequest
- type SearchJobListResponse
- type SearchJobResult
- type SearchJobResultListRequest
- type SearchJobResultListResponse
- type Token
- type TokenClaims
- type TokenContent
- type TokenListResponse
- type User
- type UserContent
- type UserListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
Entry
Content AppContent `json:"content"`
}
type AppContent ¶
type AppContent struct {
CheckForUpdates bool `json:"check_for_updates"`
Configured bool `json:"configured"`
Core bool `json:"core"`
Disabled bool `json:"disabled"`
Description string `json:"description"`
Details string `json:"details"`
Version string `json:"version"`
EAIACL ACL `json:"eai:acl"`
Label string `json:"label"`
ManagedByDeploymentClient bool `json:"managed_by_deployment_client"`
StateChangeRequiresRestart bool `json:"state_change_requires_restart"`
Visible bool `json:"visible"`
}
type AppListResponse ¶
type Index ¶
type Index struct {
Entry
Content IndexContent `json:"content"`
}
type IndexContent ¶
type IndexContent struct {
AssureUTF8 bool `json:"assureUTF8"`
BlockSignSize int `json:"blockSignSize"`
BlockSignatureDatabase string `json:"blockSignatureDatabase"`
ColdPath string `json:"coldPath"`
ColdPathExpanded string `json:"coldPath_expanded"`
ColdToFrozenDir string `json:"coldToFrozenDir"`
ColdToFrozenScript string `json:"coldToFrozenScript"`
CurrentDBSizeMB string `json:"currentDBSizeMB"`
DataType string `json:"dataType"`
DefaultDatabase string `json:"defaultDatabase"`
Disabled bool `json:"disabled"`
EnableRealtimeSearch bool `json:"enableRealtimeSearch"`
FrozenTimePeriodInSecs int `json:"frozenTimePeriodInSecs"`
HomePath string `json:"homePath"`
HomePathExpanded string `json:"homePath_expanded"`
IndexThreads string `json:"indexThreads"`
IsInternal bool `json:"isInternal"`
IsReady bool `json:"isReady"`
LastInitTime int `json:"lastInitTime"`
MaxConcurrentOptimizes int `json:"maxConcurrentOptimizes"`
MaxDataSize string `json:"maxDataSize"`
MaxHotBuckets string `json:"maxHotBuckets"`
MaxHotIdleSecs int `json:"maxHotIdleSecs"`
MaxHotSpanSecs int `json:"maxHotSpanSecs"`
MaxMemMB int `json:"maxMemMB"`
MaxMetaEntries int `json:"maxMetaEntries"`
MaxRunningProcessGroups int `json:"maxRunningProcessGroups"`
MaxTime string `json:"maxTime"`
MaxTotalDataSizeMB int `json:"maxTotalDataSizeMB"`
MaxWarmDBCount int `json:"maxWarmDBCount"`
MemPoolMB string `json:"memPoolMB"`
MinRawFileSyncSecs string `json:"minRawFileSyncSecs"`
MinTime string `json:"minTime"`
PartialServiceMetaPeriod int `json:"partialServiceMetaPeriod"`
QuarantineFutureSecs int `json:"quarantineFutureSecs"`
QuarantinePastSecs int `json:"quarantinePastSecs"`
RawChunkSizeBytes int `json:"rawChunkSizeBytes"`
RotatePeriodInSecs int `json:"rotatePeriodInSecs"`
ServiceMetaPeriod int `json:"serviceMetaPeriod"`
Summarize bool `json:"summarize"`
SuppressBannerList interface{} `json:"suppressBannerList"`
Sync int `json:"sync"`
SyncMeta bool `json:"syncMeta"`
ThawedPath string `json:"thawedPath"`
ThawedPathExpanded string `json:"thawedPath_expanded"`
ThrottleCheckPeriod int `json:"throttleCheckPeriod"`
TotalEventCount int `json:"totalEventCount"`
}
type IndexListRequest ¶
type IndexListRequest struct {
ListRequest
DataType *string `url:"datatype"`
}
type IndexListResponse ¶
type ListRequest ¶
type SearchJob ¶
type SearchJob struct {
Entry
Content SearchJobContent `json:"content"`
}
type SearchJobContent ¶
type SearchJobContent struct {
CursorTime string `json:"cursorTime"`
Custom interface{} `json:"custom"`
Delegate string `json:"delegate"`
DiskUsage int `json:"diskUsage"`
DispatchState string `json:"dispatchState"`
DoneProgress float64 `json:"doneProgress"`
DropCount int `json:"dropCount"`
EventAvailableCount int `json:"eventAvailableCount"`
EventCount int `json:"eventCount"`
EventFieldCount int `json:"eventFieldCount"`
EventIsStreaming bool `json:"eventIsStreaming"`
EventIsTruncated bool `json:"eventIsTruncated"`
EventPreviewableCount int `json:"eventPreviewableCount"`
EventSearch string `json:"eventSearch"`
EventSorting string `json:"eventSorting"`
IsDone bool `json:"isDone"`
IsEventPreviewEnabled bool `json:"isEventPreviewEnabled"`
IsFailed bool `json:"isFailed"`
IsFinalized bool `json:"isFinalized"`
IsPaused bool `json:"isPaused"`
IsPreviewEnabled bool `json:"isPreviewEnabled"`
IsRealTimeSearch bool `json:"isRealTimeSearch"`
IsRemoteTimeline bool `json:"isRemoteTimeline"`
IsSaved bool `json:"isSaved"`
IsSavedSearch bool `json:"isSavedSearch"`
IsZombie bool `json:"isZombie"`
Keywords string `json:"keywords"`
Label string `json:"label"`
LatestTime string `json:"latestTime"`
Messages interface{} `json:"messages"`
NumPreviews int `json:"numPreviews"`
Performance interface{} `json:"performance"`
Priority int `json:"priority"`
RemoteSearch string `json:"remoteSearch"`
ReportSearch string `json:"reportSearch"`
Request interface{} `json:"request"`
ResultCount int `json:"resultCount"`
ResultIsStreaming bool `json:"resultIsStreaming"`
ResultPreviewCount int `json:"resultPreviewCount"`
RunDuration float64 `json:"runDuration"`
ScanCount int `json:"scanCount"`
SearchEarliestTime float64 `json:"searchEarliestTime"`
SearchLatestTime float64 `json:"searchLatestTime"`
SearchProviders []string `json:"searchProviders"`
SID string `json:"sid"`
StatusBuckets int `json:"statusBuckets"`
TTL int `json:"ttl"`
}
type SearchJobListRequest ¶
type SearchJobListRequest struct {
ListRequest
}
type SearchJobListResponse ¶
type SearchJobResult ¶
type SearchJobResult struct {
Time string `json:"_time"`
Host string `json:"host"`
Source string `json:"source"`
SourceType string `json:"sourcetype"`
Action string `json:"action"`
Info string `json:"info"`
User string `json:"user"`
IsSearches string `json:"is_searches"`
IsNotSearches string `json:"is_not_searches"`
IsModify string `json:"is_modify"`
IsNotModify string `json:"is_not_modify"`
Result string `json:"_raw"`
}
type SearchJobResultListRequest ¶
type SearchJobResultListRequest struct {
ListRequest
Search *string `url:"search"`
}
type SearchJobResultListResponse ¶
type SearchJobResultListResponse struct {
InitOffset int `json:"init_offset"`
Messages []Message `json:"messages"`
Preview bool `json:"preview"`
Results []SearchJobResult `json:"results"`
}
type Token ¶
type Token struct {
Entry
Content TokenContent `json:"content"`
}
type TokenClaims ¶
type TokenClaims struct {
Audience string `json:"aud,omitempty"`
Subject string `json:"sub,omitempty"`
IssuedAt int64 `json:"iat,omitempty"`
NotBefore int64 `json:"nbr,omitempty"`
ExpirationTime int64 `json:"exp,omitempty"`
Issuer string `json:"iss,omitempty"`
IdentityProvider string `json:"idp,omitempty"`
Roles []string `json:"roles,omitempty"`
}
type TokenContent ¶
type TokenContent struct {
Claims TokenClaims `json:"claims"`
EAIACL ACL `json:"eai:acl"`
Headers interface{} `json:"headers"`
LastUsed int64 `json:"lastUsed"`
LastUsedIP string `json:"lastUsedIp"`
Status string `json:"status"`
}
type TokenListResponse ¶
type User ¶
type User struct {
Entry
Content UserContent `json:"content"`
}
type UserContent ¶
type UserContent struct {
Capabilities []string `json:"capabilities"`
DefaultApp string `json:"defaultApp"`
DefaultAppIsUserOverride bool `json:"defaultAppIsUserOverride"`
DefaultAppSourceRole string `json:"defaultAppSourceRole"`
EAIACL ACL `json:"eai:acl"`
Email string `json:"email"`
Lang string `json:"lang"`
LockedOut bool `json:"locked-out"`
RealName string `json:"realname"`
RestartBackgroundJobs bool `json:"restart_background_jobs"`
Roles []string `json:"roles"`
SearchAssistant string `json:"search_assistant"`
SearchAutoFormat bool `json:"search_auto_format"`
SearchLineNumbers bool `json:"search_line_numbers"`
SearchSyntaxHighlighting string `json:"search_syntax_highlighting"`
SearchUseAdvancedEditor bool `json:"search_use_advanced_editor"`
Type string `json:"type"`
TZ string `json:"tz"`
}
type UserListResponse ¶
Click to show internal directories.
Click to hide internal directories.