Documentation
¶
Index ¶
- Variables
- func GeneratePlanReplayerFile(ctx context.Context, storage storeapi.Storage, ...) (io.WriteCloser, string, error)
- func GeneratePlanReplayerFileName(isCapture, isContinuesCapture, enableHistoricalStatsForCapture bool) (string, error)
- func GetPlanReplayerDirName() string
- func NewFileWriter(ctx context.Context, writer objectio.Writer) io.WriteCloser
- type PlanReplayerTaskKey
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PlanReplayerPath is plan replayer directory path PlanReplayerPath string // PlanReplayerPathOnce ensures PlanReplayerPath is initialized only once PlanReplayerPathOnce sync.Once )
Functions ¶
func GeneratePlanReplayerFile ¶
func GeneratePlanReplayerFile(ctx context.Context, storage storeapi.Storage, isCapture, isContinuesCapture, enableHistoricalStatsForCapture bool) (io.WriteCloser, string, error)
GeneratePlanReplayerFile generates plan replayer file
func GeneratePlanReplayerFileName ¶
func GeneratePlanReplayerFileName(isCapture, isContinuesCapture, enableHistoricalStatsForCapture bool) (string, error)
GeneratePlanReplayerFileName generates plan replayer capture task name
func GetPlanReplayerDirName ¶
func GetPlanReplayerDirName() string
GetPlanReplayerDirName returns plan replayer directory path. The path is a relative path for external storage.
func NewFileWriter ¶
NewFileWriter creates a new io.WriteCloser from objectio.Writer.
Types ¶
type PlanReplayerTaskKey ¶
PlanReplayerTaskKey indicates key of a plan replayer task
Click to show internal directories.
Click to hide internal directories.