Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdExecutor ¶
type CmdExecutor struct {
// contains filtered or unexported fields
}
func CreateExec ¶
func CreateExec(ctx context.Context, cfg Config) (*CmdExecutor, error)
func (*CmdExecutor) Read ¶
func (exec *CmdExecutor) Read(ctx context.Context) (ShowResult, error)
type Config ¶
type Config struct { Storage string BackendCfg storage.BackendOptions Cipher backuppb.CipherInfo }
type ShowResult ¶
type ShowResult struct { ClusterID uint64 `json:"cluster-id"` ClusterVersion string `json:"cluster-version"` BRVersion string `json:"br-version"` Version int32 `json:"version"` StartVersion TimeStamp `json:"start-version"` EndVersion TimeStamp `json:"end-version"` IsRawKV bool `json:"is-raw-kv"` RawRanges []RawRange `json:"raw-ranges"` Tables []Table `json:"tables"` }
Click to show internal directories.
Click to hide internal directories.