Documentation
¶
Index ¶
- type BackupFilesInfo
- type BackupFilesInfoFilesItems0
- type BackupListItem
- type BackupProgress
- type BackupTarget
- type BackupUnit
- type Cluster
- type ClusterStatus
- type ClusterStatusItems0
- type ErrorResponse
- type ExtendedTask
- type HostProgress
- type KeyspaceProgress
- type RepairProgress
- type RepairProgressHostsItems0
- type RepairTarget
- type RepairUnit
- type Schedule
- type SnapshotInfo
- type TableProgress
- type TableRepairProgress
- type Task
- type TaskRun
- type TaskRunBackupProgress
- type TaskRunRepairProgress
- type TaskUpdate
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupFilesInfo ¶
type BackupFilesInfo struct { // files Files []*BackupFilesInfoFilesItems0 `json:"files"` // location Location string `json:"location,omitempty"` // schema Schema string `json:"schema,omitempty"` }
BackupFilesInfo backup files info swagger:model BackupFilesInfo
func (*BackupFilesInfo) MarshalBinary ¶
func (m *BackupFilesInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupFilesInfo) UnmarshalBinary ¶
func (m *BackupFilesInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupFilesInfoFilesItems0 ¶
type BackupFilesInfoFilesItems0 struct { // files Files []string `json:"files"` // keyspace Keyspace string `json:"keyspace,omitempty"` // path Path string `json:"path,omitempty"` // size Size int64 `json:"size,omitempty"` // table Table string `json:"table,omitempty"` // version Version string `json:"version,omitempty"` }
BackupFilesInfoFilesItems0 backup files info files items0 swagger:model BackupFilesInfoFilesItems0
func (*BackupFilesInfoFilesItems0) MarshalBinary ¶
func (m *BackupFilesInfoFilesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupFilesInfoFilesItems0) UnmarshalBinary ¶
func (m *BackupFilesInfoFilesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupListItem ¶
type BackupListItem struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // snapshot info SnapshotInfo []*SnapshotInfo `json:"snapshot_info"` // units Units []*BackupUnit `json:"units"` }
BackupListItem backup list item swagger:model BackupListItem
func (*BackupListItem) MarshalBinary ¶
func (m *BackupListItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupListItem) UnmarshalBinary ¶
func (m *BackupListItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupProgress ¶
type BackupProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // dcs Dcs []string `json:"dcs"` // failed Failed int64 `json:"failed,omitempty"` // hosts Hosts []*HostProgress `json:"hosts"` // size Size int64 `json:"size,omitempty"` // skipped Skipped int64 `json:"skipped,omitempty"` // snapshot tag SnapshotTag string `json:"snapshot_tag,omitempty"` // stage Stage string `json:"stage,omitempty"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // uploaded Uploaded int64 `json:"uploaded,omitempty"` }
BackupProgress backup progress swagger:model BackupProgress
func (*BackupProgress) MarshalBinary ¶
func (m *BackupProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupProgress) UnmarshalBinary ¶
func (m *BackupProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupTarget ¶
type BackupTarget struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // dc Dc []string `json:"dc"` // host Host string `json:"host,omitempty"` // location Location []string `json:"location"` // rate limit RateLimit []string `json:"rate_limit"` // retention Retention int64 `json:"retention,omitempty"` // size Size int64 `json:"size,omitempty"` // snapshot parallel SnapshotParallel []string `json:"snapshot_parallel"` // units Units []*BackupUnit `json:"units"` // upload parallel UploadParallel []string `json:"upload_parallel"` // with hosts WithHosts []string `json:"with_hosts"` }
BackupTarget backup target swagger:model BackupTarget
func (*BackupTarget) MarshalBinary ¶
func (m *BackupTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupTarget) UnmarshalBinary ¶
func (m *BackupTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupUnit ¶
type BackupUnit struct { // all tables AllTables bool `json:"all_tables,omitempty"` // keyspace Keyspace string `json:"keyspace,omitempty"` // tables Tables []string `json:"tables"` }
BackupUnit backup unit swagger:model BackupUnit
func (*BackupUnit) MarshalBinary ¶
func (m *BackupUnit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupUnit) UnmarshalBinary ¶
func (m *BackupUnit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cluster ¶
type Cluster struct { // auth token AuthToken string `json:"auth_token,omitempty"` // host Host string `json:"host,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // password Password string `json:"password,omitempty"` // ssl user cert file // Format: byte SslUserCertFile strfmt.Base64 `json:"ssl_user_cert_file,omitempty"` // ssl user key file // Format: byte SslUserKeyFile strfmt.Base64 `json:"ssl_user_key_file,omitempty"` // username Username string `json:"username,omitempty"` // without repair WithoutRepair bool `json:"without_repair,omitempty"` }
Cluster cluster swagger:model Cluster
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ClusterStatus ¶
type ClusterStatus []*ClusterStatusItems0
ClusterStatus cluster status swagger:model ClusterStatus
type ClusterStatusItems0 ¶
type ClusterStatusItems0 struct { // agent version AgentVersion string `json:"agent_version,omitempty"` // alternator rtt ms AlternatorRttMs float32 `json:"alternator_rtt_ms,omitempty"` // alternator status AlternatorStatus string `json:"alternator_status,omitempty"` // cpu count CPUCount int64 `json:"cpu_count,omitempty"` // cql rtt ms CqlRttMs float32 `json:"cql_rtt_ms,omitempty"` // cql status CqlStatus string `json:"cql_status,omitempty"` // dc Dc string `json:"dc,omitempty"` // host Host string `json:"host,omitempty"` // host id HostID string `json:"host_id,omitempty"` // rest rtt ms RestRttMs float32 `json:"rest_rtt_ms,omitempty"` // rest status RestStatus string `json:"rest_status,omitempty"` // scylla version ScyllaVersion string `json:"scylla_version,omitempty"` // ssl Ssl bool `json:"ssl,omitempty"` // status Status string `json:"status,omitempty"` // total ram TotalRAM int64 `json:"total_ram,omitempty"` // uptime Uptime int64 `json:"uptime,omitempty"` }
ClusterStatusItems0 cluster status items0 swagger:model ClusterStatusItems0
func (*ClusterStatusItems0) MarshalBinary ¶
func (m *ClusterStatusItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterStatusItems0) UnmarshalBinary ¶
func (m *ClusterStatusItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // Error description Message string `json:"message,omitempty"` // Request ID for tracing in logs TraceID string `json:"trace_id,omitempty"` }
ErrorResponse error response swagger:model ErrorResponse
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtendedTask ¶
type ExtendedTask struct { // cause Cause string `json:"cause,omitempty"` // cluster id ClusterID string `json:"cluster_id,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // end time // Format: date-time EndTime strfmt.DateTime `json:"end_time,omitempty"` // failures Failures int64 `json:"failures,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // next activation // Format: date-time NextActivation strfmt.DateTime `json:"next_activation,omitempty"` // properties Properties interface{} `json:"properties,omitempty"` // schedule Schedule *Schedule `json:"schedule,omitempty"` // start time // Format: date-time StartTime strfmt.DateTime `json:"start_time,omitempty"` // status Status string `json:"status,omitempty"` // tags Tags []string `json:"tags"` // type Type string `json:"type,omitempty"` }
ExtendedTask extended task swagger:model ExtendedTask
func (*ExtendedTask) MarshalBinary ¶
func (m *ExtendedTask) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtendedTask) UnmarshalBinary ¶
func (m *ExtendedTask) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostProgress ¶
type HostProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // failed Failed int64 `json:"failed,omitempty"` // host Host string `json:"host,omitempty"` // keyspaces Keyspaces []*KeyspaceProgress `json:"keyspaces"` // size Size int64 `json:"size,omitempty"` // skipped Skipped int64 `json:"skipped,omitempty"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // uploaded Uploaded int64 `json:"uploaded,omitempty"` }
HostProgress host progress swagger:model HostProgress
func (*HostProgress) MarshalBinary ¶
func (m *HostProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostProgress) UnmarshalBinary ¶
func (m *HostProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyspaceProgress ¶
type KeyspaceProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // failed Failed int64 `json:"failed,omitempty"` // keyspace Keyspace string `json:"keyspace,omitempty"` // size Size int64 `json:"size,omitempty"` // skipped Skipped int64 `json:"skipped,omitempty"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // tables Tables []*TableProgress `json:"tables"` // uploaded Uploaded int64 `json:"uploaded,omitempty"` }
KeyspaceProgress keyspace progress swagger:model KeyspaceProgress
func (*KeyspaceProgress) MarshalBinary ¶
func (m *KeyspaceProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyspaceProgress) UnmarshalBinary ¶
func (m *KeyspaceProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepairProgress ¶
type RepairProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // dcs Dcs []string `json:"dcs"` // error Error int64 `json:"error,omitempty"` // hosts Hosts []*RepairProgressHostsItems0 `json:"hosts"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // success Success int64 `json:"success,omitempty"` // tables Tables []*TableRepairProgress `json:"tables"` // token ranges TokenRanges int64 `json:"token_ranges,omitempty"` }
RepairProgress repair progress swagger:model RepairProgress
func (*RepairProgress) MarshalBinary ¶
func (m *RepairProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepairProgress) UnmarshalBinary ¶
func (m *RepairProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepairProgressHostsItems0 ¶
type RepairProgressHostsItems0 struct { // host Host string `json:"host,omitempty"` // intensity Intensity float64 `json:"intensity,omitempty"` // tables Tables []*TableRepairProgress `json:"tables"` }
RepairProgressHostsItems0 repair progress hosts items0 swagger:model RepairProgressHostsItems0
func (*RepairProgressHostsItems0) MarshalBinary ¶
func (m *RepairProgressHostsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepairProgressHostsItems0) UnmarshalBinary ¶
func (m *RepairProgressHostsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepairTarget ¶
type RepairTarget struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // dc Dc []string `json:"dc"` // host Host string `json:"host,omitempty"` // token ranges TokenRanges string `json:"token_ranges,omitempty"` // units Units []*RepairUnit `json:"units"` // with hosts WithHosts []string `json:"with_hosts"` }
RepairTarget repair target swagger:model RepairTarget
func (*RepairTarget) MarshalBinary ¶
func (m *RepairTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepairTarget) UnmarshalBinary ¶
func (m *RepairTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepairUnit ¶
type RepairUnit struct { // all tables AllTables bool `json:"all_tables,omitempty"` // keyspace Keyspace string `json:"keyspace,omitempty"` // tables Tables []string `json:"tables"` }
RepairUnit repair unit swagger:model RepairUnit
func (*RepairUnit) MarshalBinary ¶
func (m *RepairUnit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepairUnit) UnmarshalBinary ¶
func (m *RepairUnit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Schedule ¶
type Schedule struct { // interval Interval string `json:"interval,omitempty"` // num retries NumRetries int64 `json:"num_retries,omitempty"` // start date // Format: date-time StartDate strfmt.DateTime `json:"start_date,omitempty"` }
Schedule schedule swagger:model Schedule
func (*Schedule) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schedule) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SnapshotInfo ¶
type SnapshotInfo struct { // size Size int64 `json:"size,omitempty"` // snapshot tag SnapshotTag string `json:"snapshot_tag,omitempty"` }
SnapshotInfo snapshot info swagger:model SnapshotInfo
func (*SnapshotInfo) MarshalBinary ¶
func (m *SnapshotInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SnapshotInfo) UnmarshalBinary ¶
func (m *SnapshotInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TableProgress ¶
type TableProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // error Error string `json:"error,omitempty"` // failed Failed int64 `json:"failed,omitempty"` // size Size int64 `json:"size,omitempty"` // skipped Skipped int64 `json:"skipped,omitempty"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // table Table string `json:"table,omitempty"` // uploaded Uploaded int64 `json:"uploaded,omitempty"` }
TableProgress table progress swagger:model TableProgress
func (*TableProgress) MarshalBinary ¶
func (m *TableProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TableProgress) UnmarshalBinary ¶
func (m *TableProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TableRepairProgress ¶
type TableRepairProgress struct { // completed at // Format: date-time CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"` // error Error int64 `json:"error,omitempty"` // keyspace Keyspace string `json:"keyspace,omitempty"` // started at // Format: date-time StartedAt *strfmt.DateTime `json:"started_at,omitempty"` // success Success int64 `json:"success,omitempty"` // table Table string `json:"table,omitempty"` // token ranges TokenRanges int64 `json:"token_ranges,omitempty"` }
TableRepairProgress table repair progress swagger:model TableRepairProgress
func (*TableRepairProgress) MarshalBinary ¶
func (m *TableRepairProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TableRepairProgress) UnmarshalBinary ¶
func (m *TableRepairProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Task ¶
type Task struct { // cluster id ClusterID string `json:"cluster_id,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // properties Properties interface{} `json:"properties,omitempty"` // schedule Schedule *Schedule `json:"schedule,omitempty"` // tags Tags []string `json:"tags"` // type Type string `json:"type,omitempty"` }
Task task swagger:model Task
func (*Task) MarshalBinary ¶
MarshalBinary interface implementation
func (*Task) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskRun ¶
type TaskRun struct { // cause Cause string `json:"cause,omitempty"` // cluster id ClusterID string `json:"cluster_id,omitempty"` // end time // Format: date-time EndTime strfmt.DateTime `json:"end_time,omitempty"` // id ID string `json:"id,omitempty"` // start time // Format: date-time StartTime strfmt.DateTime `json:"start_time,omitempty"` // status Status string `json:"status,omitempty"` // task id TaskID string `json:"task_id,omitempty"` // type Type string `json:"type,omitempty"` }
TaskRun task run swagger:model TaskRun
func (*TaskRun) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaskRun) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskRunBackupProgress ¶
type TaskRunBackupProgress struct { // progress Progress *BackupProgress `json:"progress,omitempty"` // run Run *TaskRun `json:"run,omitempty"` }
TaskRunBackupProgress task run backup progress swagger:model TaskRunBackupProgress
func (*TaskRunBackupProgress) MarshalBinary ¶
func (m *TaskRunBackupProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskRunBackupProgress) UnmarshalBinary ¶
func (m *TaskRunBackupProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskRunRepairProgress ¶
type TaskRunRepairProgress struct { // progress Progress *RepairProgress `json:"progress,omitempty"` // run Run *TaskRun `json:"run,omitempty"` }
TaskRunRepairProgress task run repair progress swagger:model TaskRunRepairProgress
func (*TaskRunRepairProgress) MarshalBinary ¶
func (m *TaskRunRepairProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskRunRepairProgress) UnmarshalBinary ¶
func (m *TaskRunRepairProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskUpdate ¶
type TaskUpdate struct { // enabled Enabled bool `json:"enabled,omitempty"` // name Name string `json:"name,omitempty"` // properties Properties interface{} `json:"properties,omitempty"` // schedule Schedule *Schedule `json:"schedule,omitempty"` // tags Tags []string `json:"tags"` // type Type string `json:"type,omitempty"` }
TaskUpdate task update swagger:model TaskUpdate
func (*TaskUpdate) MarshalBinary ¶
func (m *TaskUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskUpdate) UnmarshalBinary ¶
func (m *TaskUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Version ¶
type Version struct { // version Version string `json:"version,omitempty"` }
Version version swagger:model Version
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- backup_files_info.go
- backup_list_item.go
- backup_progress.go
- backup_target.go
- backup_unit.go
- cluster.go
- cluster_status.go
- error_response.go
- extended_task.go
- host_progress.go
- keyspace_progress.go
- repair_progress.go
- repair_target.go
- repair_unit.go
- schedule.go
- snapshot_info.go
- table_progress.go
- table_repair_progress.go
- task.go
- task_run.go
- task_run_backup_progress.go
- task_run_repair_progress.go
- task_update.go
- version.go