Documentation
¶
Index ¶
Constants ¶
View Source
const SchemaVersion = "crawlkit.control.v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
ID string `json:"id"`
Label string `json:"label"`
Kind string `json:"kind"`
Role string `json:"role"`
Path string `json:"path"`
IsPrimary bool `json:"is_primary"`
Bytes int64 `json:"bytes"`
ModifiedAt string `json:"modified_at,omitempty"`
Counts []Count `json:"counts,omitempty"`
}
type Manifest ¶
type Manifest struct {
SchemaVersion string `json:"schema_version"`
ID string `json:"id"`
DisplayName string `json:"display_name"`
Description string `json:"description,omitempty"`
Binary Binary `json:"binary"`
Branding Branding `json:"branding"`
Paths Paths `json:"paths"`
Commands map[string]Command `json:"commands"`
Capabilities []string `json:"capabilities,omitempty"`
Privacy Privacy `json:"privacy"`
}
func NewManifest ¶
type Status ¶
type Status struct {
SchemaVersion string `json:"schema_version"`
AppID string `json:"app_id"`
GeneratedAt string `json:"generated_at"`
State string `json:"state"`
Summary string `json:"summary"`
ConfigPath string `json:"config_path,omitempty"`
DatabasePath string `json:"database_path,omitempty"`
DatabaseBytes int64 `json:"database_bytes,omitempty"`
WALBytes int64 `json:"wal_bytes,omitempty"`
LastSyncAt string `json:"last_sync_at,omitempty"`
LastImportAt string `json:"last_import_at,omitempty"`
LastExportAt string `json:"last_export_at,omitempty"`
Counts []Count `json:"counts,omitempty"`
Freshness *Freshness `json:"freshness,omitempty"`
Databases []Database `json:"databases,omitempty"`
Warnings []string `json:"warnings,omitempty"`
Errors []string `json:"errors,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.