gorpcproto

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2015 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupArgs

type BackupArgs struct {
	Concurrency int
}

BackupArgs has arguments for Backup

type ExecuteFetchArgs

type ExecuteFetchArgs struct {
	Query          string
	DbName         string
	MaxRows        int
	WantFields     bool
	DisableBinlogs bool
	ReloadSchema   bool
}

ExecuteFetchArgs has arguments for ExecuteFetch

type GetSchemaArgs

type GetSchemaArgs struct {
	Tables        []string
	ExcludeTables []string
	IncludeViews  bool
}

GetSchemaArgs has arguments for GetSchema

type GetSlavesReply

type GetSlavesReply struct {
	Addrs []string
}

GetSlavesReply has the reply for GetSlaves

type InitSlaveArgs

type InitSlaveArgs struct {
	Parent              *pb.TabletAlias
	ReplicationPosition myproto.ReplicationPosition
	TimeCreatedNS       int64
	WaitTimeout         time.Duration // pass in zero to wait indefinitely
}

InitSlaveArgs has arguments for InitSlave

type PopulateReparentJournalArgs

type PopulateReparentJournalArgs struct {
	TimeCreatedNS       int64
	ActionName          string
	MasterAlias         *pb.TabletAlias
	ReplicationPosition myproto.ReplicationPosition
}

PopulateReparentJournalArgs has arguments for PopulateReparentJournal

type RunBlpUntilArgs

type RunBlpUntilArgs struct {
	BlpPositionList *blproto.BlpPositionList
	WaitTimeout     time.Duration
}

RunBlpUntilArgs has arguments for RunBlpUntil

type SetMasterArgs

type SetMasterArgs struct {
	Parent          *pb.TabletAlias
	TimeCreatedNS   int64
	ForceStartSlave bool
	WaitTimeout     time.Duration // pass in zero to wait indefinitely
}

SetMasterArgs has arguments for SetMaster

type StopSlaveMinimumArgs

type StopSlaveMinimumArgs struct {
	Position myproto.ReplicationPosition
	WaitTime time.Duration
}

StopSlaveMinimumArgs has arguments for StopSlaveMinimum

type TabletExternallyReparentedArgs

type TabletExternallyReparentedArgs struct {
	ExternalID string
}

TabletExternallyReparentedArgs has arguments for TabletExternallyReparented

type WaitBlpPositionArgs

type WaitBlpPositionArgs struct {
	BlpPosition blproto.BlpPosition
	WaitTimeout time.Duration
}

WaitBlpPositionArgs has arguments for WaitBlpPosition

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL