Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupMetadata ¶
type BackupMetadata struct { BackupName string `json:"backup_name"` Disks map[string]string `json:"disks"` // "default": "/var/lib/clickhouse" DiskTypes map[string]string `json:"disk_types"` // "default": "local" ClickhouseBackupVersion string `json:"version"` CreationDate time.Time `json:"creation_date"` Tags string `json:"tags,omitempty"` // "regular,embedded" ClickHouseVersion string `json:"clickhouse_version,omitempty"` DataSize uint64 `json:"data_size,omitempty"` ObjectDiskSize uint64 `json:"object_disk_size,omitempty"` MetadataSize uint64 `json:"metadata_size"` RBACSize uint64 `json:"rbac_size,omitempty"` ConfigSize uint64 `json:"config_size,omitempty"` CompressedSize uint64 `json:"compressed_size,omitempty"` Databases []DatabasesMeta `json:"databases,omitempty"` Tables []TableTitle `json:"tables"` Functions []FunctionsMeta `json:"functions"` DataFormat string `json:"data_format"` RequiredBackup string `json:"required_backup,omitempty"` }
func (*BackupMetadata) GetFullSize ¶ added in v2.5.12
func (b *BackupMetadata) GetFullSize() uint64
func (*BackupMetadata) Save ¶
func (b *BackupMetadata) Save(location string) error
type DatabasesMeta ¶
type FunctionsMeta ¶
type MutationMetadata ¶
type SplitPartFiles ¶
type TableMetadata ¶
type TableMetadata struct { Files map[string][]string `json:"files,omitempty"` RebalancedFiles map[string]string `json:"rebalanced_files,omitempty"` Table string `json:"table"` Database string `json:"database"` Parts map[string][]Part `json:"parts"` Query string `json:"query"` Size map[string]int64 `json:"size"` // how much size on each disk TotalBytes uint64 `json:"total_bytes,omitempty"` // total table size DependenciesTable string `json:"dependencies_table,omitempty"` DependenciesDatabase string `json:"dependencies_database,omitempty"` Mutations []MutationMetadata `json:"mutations,omitempty"` MetadataOnly bool `json:"metadata_only"` LocalFile string `json:"local_file,omitempty"` }
type TableTitle ¶
Click to show internal directories.
Click to hide internal directories.