tabletmanagerdata

package
v2.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-3-Clause Imports: 7 Imported by: 28

Documentation

Overview

Package tabletmanagerdata is a generated protocol buffer package.

It is generated from these files:

tabletmanagerdata.proto

It has these top-level messages:

TableDefinition
SchemaDefinition
SchemaChangeResult
UserPermission
DbPermission
Permissions
BlpPosition
PingRequest
PingResponse
SleepRequest
SleepResponse
ExecuteHookRequest
ExecuteHookResponse
GetSchemaRequest
GetSchemaResponse
GetPermissionsRequest
GetPermissionsResponse
SetReadOnlyRequest
SetReadOnlyResponse
SetReadWriteRequest
SetReadWriteResponse
ChangeTypeRequest
ChangeTypeResponse
RefreshStateRequest
RefreshStateResponse
RunHealthCheckRequest
RunHealthCheckResponse
IgnoreHealthErrorRequest
IgnoreHealthErrorResponse
ReloadSchemaRequest
ReloadSchemaResponse
PreflightSchemaRequest
PreflightSchemaResponse
ApplySchemaRequest
ApplySchemaResponse
ExecuteFetchAsDbaRequest
ExecuteFetchAsDbaResponse
ExecuteFetchAsAllPrivsRequest
ExecuteFetchAsAllPrivsResponse
ExecuteFetchAsAppRequest
ExecuteFetchAsAppResponse
SlaveStatusRequest
SlaveStatusResponse
MasterPositionRequest
MasterPositionResponse
StopSlaveRequest
StopSlaveResponse
StopSlaveMinimumRequest
StopSlaveMinimumResponse
StartSlaveRequest
StartSlaveResponse
TabletExternallyReparentedRequest
TabletExternallyReparentedResponse
TabletExternallyElectedRequest
TabletExternallyElectedResponse
GetSlavesRequest
GetSlavesResponse
WaitBlpPositionRequest
WaitBlpPositionResponse
StopBlpRequest
StopBlpResponse
StartBlpRequest
StartBlpResponse
RunBlpUntilRequest
RunBlpUntilResponse
ResetReplicationRequest
ResetReplicationResponse
InitMasterRequest
InitMasterResponse
PopulateReparentJournalRequest
PopulateReparentJournalResponse
InitSlaveRequest
InitSlaveResponse
DemoteMasterRequest
DemoteMasterResponse
PromoteSlaveWhenCaughtUpRequest
PromoteSlaveWhenCaughtUpResponse
SlaveWasPromotedRequest
SlaveWasPromotedResponse
SetMasterRequest
SetMasterResponse
SlaveWasRestartedRequest
SlaveWasRestartedResponse
StopReplicationAndGetStatusRequest
StopReplicationAndGetStatusResponse
PromoteSlaveRequest
PromoteSlaveResponse
BackupRequest
BackupResponse
RestoreFromBackupRequest
RestoreFromBackupResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplySchemaRequest

type ApplySchemaRequest struct {
	Sql              string            `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
	Force            bool              `protobuf:"varint,2,opt,name=force" json:"force,omitempty"`
	AllowReplication bool              `protobuf:"varint,3,opt,name=allow_replication,json=allowReplication" json:"allow_replication,omitempty"`
	BeforeSchema     *SchemaDefinition `protobuf:"bytes,4,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"`
	AfterSchema      *SchemaDefinition `protobuf:"bytes,5,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"`
}

func (*ApplySchemaRequest) Descriptor

func (*ApplySchemaRequest) Descriptor() ([]byte, []int)

func (*ApplySchemaRequest) GetAfterSchema

func (m *ApplySchemaRequest) GetAfterSchema() *SchemaDefinition

func (*ApplySchemaRequest) GetAllowReplication

func (m *ApplySchemaRequest) GetAllowReplication() bool

func (*ApplySchemaRequest) GetBeforeSchema

func (m *ApplySchemaRequest) GetBeforeSchema() *SchemaDefinition

func (*ApplySchemaRequest) GetForce

func (m *ApplySchemaRequest) GetForce() bool

func (*ApplySchemaRequest) GetSql

func (m *ApplySchemaRequest) GetSql() string

func (*ApplySchemaRequest) ProtoMessage

func (*ApplySchemaRequest) ProtoMessage()

func (*ApplySchemaRequest) Reset

func (m *ApplySchemaRequest) Reset()

func (*ApplySchemaRequest) String

func (m *ApplySchemaRequest) String() string

type ApplySchemaResponse

type ApplySchemaResponse struct {
	BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"`
	AfterSchema  *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"`
}

func (*ApplySchemaResponse) Descriptor

func (*ApplySchemaResponse) Descriptor() ([]byte, []int)

func (*ApplySchemaResponse) GetAfterSchema

func (m *ApplySchemaResponse) GetAfterSchema() *SchemaDefinition

func (*ApplySchemaResponse) GetBeforeSchema

func (m *ApplySchemaResponse) GetBeforeSchema() *SchemaDefinition

func (*ApplySchemaResponse) ProtoMessage

func (*ApplySchemaResponse) ProtoMessage()

func (*ApplySchemaResponse) Reset

func (m *ApplySchemaResponse) Reset()

func (*ApplySchemaResponse) String

func (m *ApplySchemaResponse) String() string

type BackupRequest

type BackupRequest struct {
	Concurrency int64 `protobuf:"varint,1,opt,name=concurrency" json:"concurrency,omitempty"`
}

func (*BackupRequest) Descriptor

func (*BackupRequest) Descriptor() ([]byte, []int)

func (*BackupRequest) GetConcurrency

func (m *BackupRequest) GetConcurrency() int64

func (*BackupRequest) ProtoMessage

func (*BackupRequest) ProtoMessage()

func (*BackupRequest) Reset

func (m *BackupRequest) Reset()

func (*BackupRequest) String

func (m *BackupRequest) String() string

type BackupResponse

type BackupResponse struct {
	Event *logutil.Event `protobuf:"bytes,1,opt,name=event" json:"event,omitempty"`
}

func (*BackupResponse) Descriptor

func (*BackupResponse) Descriptor() ([]byte, []int)

func (*BackupResponse) GetEvent

func (m *BackupResponse) GetEvent() *logutil.Event

func (*BackupResponse) ProtoMessage

func (*BackupResponse) ProtoMessage()

func (*BackupResponse) Reset

func (m *BackupResponse) Reset()

func (*BackupResponse) String

func (m *BackupResponse) String() string

type BlpPosition

type BlpPosition struct {
	Uid      uint32 `protobuf:"varint,1,opt,name=uid" json:"uid,omitempty"`
	Position string `protobuf:"bytes,2,opt,name=position" json:"position,omitempty"`
}

BlpPosition is a replication position for a given binlog player

func (*BlpPosition) Descriptor

func (*BlpPosition) Descriptor() ([]byte, []int)

func (*BlpPosition) GetPosition

func (m *BlpPosition) GetPosition() string

func (*BlpPosition) GetUid

func (m *BlpPosition) GetUid() uint32

func (*BlpPosition) ProtoMessage

func (*BlpPosition) ProtoMessage()

func (*BlpPosition) Reset

func (m *BlpPosition) Reset()

func (*BlpPosition) String

func (m *BlpPosition) String() string

type ChangeTypeRequest

type ChangeTypeRequest struct {
	TabletType topodata.TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,enum=topodata.TabletType" json:"tablet_type,omitempty"`
}

func (*ChangeTypeRequest) Descriptor

func (*ChangeTypeRequest) Descriptor() ([]byte, []int)

func (*ChangeTypeRequest) GetTabletType

func (m *ChangeTypeRequest) GetTabletType() topodata.TabletType

func (*ChangeTypeRequest) ProtoMessage

func (*ChangeTypeRequest) ProtoMessage()

func (*ChangeTypeRequest) Reset

func (m *ChangeTypeRequest) Reset()

func (*ChangeTypeRequest) String

func (m *ChangeTypeRequest) String() string

type ChangeTypeResponse

type ChangeTypeResponse struct {
}

func (*ChangeTypeResponse) Descriptor

func (*ChangeTypeResponse) Descriptor() ([]byte, []int)

func (*ChangeTypeResponse) ProtoMessage

func (*ChangeTypeResponse) ProtoMessage()

func (*ChangeTypeResponse) Reset

func (m *ChangeTypeResponse) Reset()

func (*ChangeTypeResponse) String

func (m *ChangeTypeResponse) String() string

type DbPermission

type DbPermission struct {
	Host       string            `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	Db         string            `protobuf:"bytes,2,opt,name=db" json:"db,omitempty"`
	User       string            `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
	Privileges map[string]string `` /* 140-byte string literal not displayed */
}

DbPermission describes a single row in the mysql.db table Primary key is Host+Db+User

func (*DbPermission) Descriptor

func (*DbPermission) Descriptor() ([]byte, []int)

func (*DbPermission) GetDb

func (m *DbPermission) GetDb() string

func (*DbPermission) GetHost

func (m *DbPermission) GetHost() string

func (*DbPermission) GetPrivileges

func (m *DbPermission) GetPrivileges() map[string]string

func (*DbPermission) GetUser

func (m *DbPermission) GetUser() string

func (*DbPermission) ProtoMessage

func (*DbPermission) ProtoMessage()

func (*DbPermission) Reset

func (m *DbPermission) Reset()

func (*DbPermission) String

func (m *DbPermission) String() string

type DemoteMasterRequest

type DemoteMasterRequest struct {
}

func (*DemoteMasterRequest) Descriptor

func (*DemoteMasterRequest) Descriptor() ([]byte, []int)

func (*DemoteMasterRequest) ProtoMessage

func (*DemoteMasterRequest) ProtoMessage()

func (*DemoteMasterRequest) Reset

func (m *DemoteMasterRequest) Reset()

func (*DemoteMasterRequest) String

func (m *DemoteMasterRequest) String() string

type DemoteMasterResponse

type DemoteMasterResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*DemoteMasterResponse) Descriptor

func (*DemoteMasterResponse) Descriptor() ([]byte, []int)

func (*DemoteMasterResponse) GetPosition

func (m *DemoteMasterResponse) GetPosition() string

func (*DemoteMasterResponse) ProtoMessage

func (*DemoteMasterResponse) ProtoMessage()

func (*DemoteMasterResponse) Reset

func (m *DemoteMasterResponse) Reset()

func (*DemoteMasterResponse) String

func (m *DemoteMasterResponse) String() string

type ExecuteFetchAsAllPrivsRequest

type ExecuteFetchAsAllPrivsRequest struct {
	Query        []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	DbName       string `protobuf:"bytes,2,opt,name=db_name,json=dbName" json:"db_name,omitempty"`
	MaxRows      uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows" json:"max_rows,omitempty"`
	ReloadSchema bool   `protobuf:"varint,4,opt,name=reload_schema,json=reloadSchema" json:"reload_schema,omitempty"`
}

func (*ExecuteFetchAsAllPrivsRequest) Descriptor

func (*ExecuteFetchAsAllPrivsRequest) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsAllPrivsRequest) GetDbName

func (m *ExecuteFetchAsAllPrivsRequest) GetDbName() string

func (*ExecuteFetchAsAllPrivsRequest) GetMaxRows

func (m *ExecuteFetchAsAllPrivsRequest) GetMaxRows() uint64

func (*ExecuteFetchAsAllPrivsRequest) GetQuery

func (m *ExecuteFetchAsAllPrivsRequest) GetQuery() []byte

func (*ExecuteFetchAsAllPrivsRequest) GetReloadSchema

func (m *ExecuteFetchAsAllPrivsRequest) GetReloadSchema() bool

func (*ExecuteFetchAsAllPrivsRequest) ProtoMessage

func (*ExecuteFetchAsAllPrivsRequest) ProtoMessage()

func (*ExecuteFetchAsAllPrivsRequest) Reset

func (m *ExecuteFetchAsAllPrivsRequest) Reset()

func (*ExecuteFetchAsAllPrivsRequest) String

type ExecuteFetchAsAllPrivsResponse

type ExecuteFetchAsAllPrivsResponse struct {
	Result *query.QueryResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ExecuteFetchAsAllPrivsResponse) Descriptor

func (*ExecuteFetchAsAllPrivsResponse) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsAllPrivsResponse) GetResult

func (*ExecuteFetchAsAllPrivsResponse) ProtoMessage

func (*ExecuteFetchAsAllPrivsResponse) ProtoMessage()

func (*ExecuteFetchAsAllPrivsResponse) Reset

func (m *ExecuteFetchAsAllPrivsResponse) Reset()

func (*ExecuteFetchAsAllPrivsResponse) String

type ExecuteFetchAsAppRequest

type ExecuteFetchAsAppRequest struct {
	Query   []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	MaxRows uint64 `protobuf:"varint,2,opt,name=max_rows,json=maxRows" json:"max_rows,omitempty"`
}

func (*ExecuteFetchAsAppRequest) Descriptor

func (*ExecuteFetchAsAppRequest) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsAppRequest) GetMaxRows

func (m *ExecuteFetchAsAppRequest) GetMaxRows() uint64

func (*ExecuteFetchAsAppRequest) GetQuery

func (m *ExecuteFetchAsAppRequest) GetQuery() []byte

func (*ExecuteFetchAsAppRequest) ProtoMessage

func (*ExecuteFetchAsAppRequest) ProtoMessage()

func (*ExecuteFetchAsAppRequest) Reset

func (m *ExecuteFetchAsAppRequest) Reset()

func (*ExecuteFetchAsAppRequest) String

func (m *ExecuteFetchAsAppRequest) String() string

type ExecuteFetchAsAppResponse

type ExecuteFetchAsAppResponse struct {
	Result *query.QueryResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ExecuteFetchAsAppResponse) Descriptor

func (*ExecuteFetchAsAppResponse) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsAppResponse) GetResult

func (*ExecuteFetchAsAppResponse) ProtoMessage

func (*ExecuteFetchAsAppResponse) ProtoMessage()

func (*ExecuteFetchAsAppResponse) Reset

func (m *ExecuteFetchAsAppResponse) Reset()

func (*ExecuteFetchAsAppResponse) String

func (m *ExecuteFetchAsAppResponse) String() string

type ExecuteFetchAsDbaRequest

type ExecuteFetchAsDbaRequest struct {
	Query          []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	DbName         string `protobuf:"bytes,2,opt,name=db_name,json=dbName" json:"db_name,omitempty"`
	MaxRows        uint64 `protobuf:"varint,3,opt,name=max_rows,json=maxRows" json:"max_rows,omitempty"`
	DisableBinlogs bool   `protobuf:"varint,4,opt,name=disable_binlogs,json=disableBinlogs" json:"disable_binlogs,omitempty"`
	ReloadSchema   bool   `protobuf:"varint,5,opt,name=reload_schema,json=reloadSchema" json:"reload_schema,omitempty"`
}

func (*ExecuteFetchAsDbaRequest) Descriptor

func (*ExecuteFetchAsDbaRequest) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsDbaRequest) GetDbName

func (m *ExecuteFetchAsDbaRequest) GetDbName() string

func (*ExecuteFetchAsDbaRequest) GetDisableBinlogs

func (m *ExecuteFetchAsDbaRequest) GetDisableBinlogs() bool

func (*ExecuteFetchAsDbaRequest) GetMaxRows

func (m *ExecuteFetchAsDbaRequest) GetMaxRows() uint64

func (*ExecuteFetchAsDbaRequest) GetQuery

func (m *ExecuteFetchAsDbaRequest) GetQuery() []byte

func (*ExecuteFetchAsDbaRequest) GetReloadSchema

func (m *ExecuteFetchAsDbaRequest) GetReloadSchema() bool

func (*ExecuteFetchAsDbaRequest) ProtoMessage

func (*ExecuteFetchAsDbaRequest) ProtoMessage()

func (*ExecuteFetchAsDbaRequest) Reset

func (m *ExecuteFetchAsDbaRequest) Reset()

func (*ExecuteFetchAsDbaRequest) String

func (m *ExecuteFetchAsDbaRequest) String() string

type ExecuteFetchAsDbaResponse

type ExecuteFetchAsDbaResponse struct {
	Result *query.QueryResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}

func (*ExecuteFetchAsDbaResponse) Descriptor

func (*ExecuteFetchAsDbaResponse) Descriptor() ([]byte, []int)

func (*ExecuteFetchAsDbaResponse) GetResult

func (*ExecuteFetchAsDbaResponse) ProtoMessage

func (*ExecuteFetchAsDbaResponse) ProtoMessage()

func (*ExecuteFetchAsDbaResponse) Reset

func (m *ExecuteFetchAsDbaResponse) Reset()

func (*ExecuteFetchAsDbaResponse) String

func (m *ExecuteFetchAsDbaResponse) String() string

type ExecuteHookRequest

type ExecuteHookRequest struct {
	Name       string            `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Parameters []string          `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"`
	ExtraEnv   map[string]string `` /* 152-byte string literal not displayed */
}

func (*ExecuteHookRequest) Descriptor

func (*ExecuteHookRequest) Descriptor() ([]byte, []int)

func (*ExecuteHookRequest) GetExtraEnv

func (m *ExecuteHookRequest) GetExtraEnv() map[string]string

func (*ExecuteHookRequest) GetName

func (m *ExecuteHookRequest) GetName() string

func (*ExecuteHookRequest) GetParameters

func (m *ExecuteHookRequest) GetParameters() []string

func (*ExecuteHookRequest) ProtoMessage

func (*ExecuteHookRequest) ProtoMessage()

func (*ExecuteHookRequest) Reset

func (m *ExecuteHookRequest) Reset()

func (*ExecuteHookRequest) String

func (m *ExecuteHookRequest) String() string

type ExecuteHookResponse

type ExecuteHookResponse struct {
	ExitStatus int64  `protobuf:"varint,1,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"`
	Stdout     string `protobuf:"bytes,2,opt,name=stdout" json:"stdout,omitempty"`
	Stderr     string `protobuf:"bytes,3,opt,name=stderr" json:"stderr,omitempty"`
}

func (*ExecuteHookResponse) Descriptor

func (*ExecuteHookResponse) Descriptor() ([]byte, []int)

func (*ExecuteHookResponse) GetExitStatus

func (m *ExecuteHookResponse) GetExitStatus() int64

func (*ExecuteHookResponse) GetStderr

func (m *ExecuteHookResponse) GetStderr() string

func (*ExecuteHookResponse) GetStdout

func (m *ExecuteHookResponse) GetStdout() string

func (*ExecuteHookResponse) ProtoMessage

func (*ExecuteHookResponse) ProtoMessage()

func (*ExecuteHookResponse) Reset

func (m *ExecuteHookResponse) Reset()

func (*ExecuteHookResponse) String

func (m *ExecuteHookResponse) String() string

type GetPermissionsRequest

type GetPermissionsRequest struct {
}

func (*GetPermissionsRequest) Descriptor

func (*GetPermissionsRequest) Descriptor() ([]byte, []int)

func (*GetPermissionsRequest) ProtoMessage

func (*GetPermissionsRequest) ProtoMessage()

func (*GetPermissionsRequest) Reset

func (m *GetPermissionsRequest) Reset()

func (*GetPermissionsRequest) String

func (m *GetPermissionsRequest) String() string

type GetPermissionsResponse

type GetPermissionsResponse struct {
	Permissions *Permissions `protobuf:"bytes,1,opt,name=permissions" json:"permissions,omitempty"`
}

func (*GetPermissionsResponse) Descriptor

func (*GetPermissionsResponse) Descriptor() ([]byte, []int)

func (*GetPermissionsResponse) GetPermissions

func (m *GetPermissionsResponse) GetPermissions() *Permissions

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) Reset

func (m *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) String

func (m *GetPermissionsResponse) String() string

type GetSchemaRequest

type GetSchemaRequest struct {
	Tables        []string `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	IncludeViews  bool     `protobuf:"varint,2,opt,name=include_views,json=includeViews" json:"include_views,omitempty"`
	ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables,json=excludeTables" json:"exclude_tables,omitempty"`
}

func (*GetSchemaRequest) Descriptor

func (*GetSchemaRequest) Descriptor() ([]byte, []int)

func (*GetSchemaRequest) GetExcludeTables

func (m *GetSchemaRequest) GetExcludeTables() []string

func (*GetSchemaRequest) GetIncludeViews

func (m *GetSchemaRequest) GetIncludeViews() bool

func (*GetSchemaRequest) GetTables

func (m *GetSchemaRequest) GetTables() []string

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) Reset

func (m *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (m *GetSchemaRequest) String() string

type GetSchemaResponse

type GetSchemaResponse struct {
	SchemaDefinition *SchemaDefinition `protobuf:"bytes,1,opt,name=schema_definition,json=schemaDefinition" json:"schema_definition,omitempty"`
}

func (*GetSchemaResponse) Descriptor

func (*GetSchemaResponse) Descriptor() ([]byte, []int)

func (*GetSchemaResponse) GetSchemaDefinition

func (m *GetSchemaResponse) GetSchemaDefinition() *SchemaDefinition

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) Reset

func (m *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (m *GetSchemaResponse) String() string

type GetSlavesRequest

type GetSlavesRequest struct {
}

func (*GetSlavesRequest) Descriptor

func (*GetSlavesRequest) Descriptor() ([]byte, []int)

func (*GetSlavesRequest) ProtoMessage

func (*GetSlavesRequest) ProtoMessage()

func (*GetSlavesRequest) Reset

func (m *GetSlavesRequest) Reset()

func (*GetSlavesRequest) String

func (m *GetSlavesRequest) String() string

type GetSlavesResponse

type GetSlavesResponse struct {
	Addrs []string `protobuf:"bytes,1,rep,name=addrs" json:"addrs,omitempty"`
}

func (*GetSlavesResponse) Descriptor

func (*GetSlavesResponse) Descriptor() ([]byte, []int)

func (*GetSlavesResponse) GetAddrs

func (m *GetSlavesResponse) GetAddrs() []string

func (*GetSlavesResponse) ProtoMessage

func (*GetSlavesResponse) ProtoMessage()

func (*GetSlavesResponse) Reset

func (m *GetSlavesResponse) Reset()

func (*GetSlavesResponse) String

func (m *GetSlavesResponse) String() string

type IgnoreHealthErrorRequest

type IgnoreHealthErrorRequest struct {
	Pattern string `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"`
}

func (*IgnoreHealthErrorRequest) Descriptor

func (*IgnoreHealthErrorRequest) Descriptor() ([]byte, []int)

func (*IgnoreHealthErrorRequest) GetPattern

func (m *IgnoreHealthErrorRequest) GetPattern() string

func (*IgnoreHealthErrorRequest) ProtoMessage

func (*IgnoreHealthErrorRequest) ProtoMessage()

func (*IgnoreHealthErrorRequest) Reset

func (m *IgnoreHealthErrorRequest) Reset()

func (*IgnoreHealthErrorRequest) String

func (m *IgnoreHealthErrorRequest) String() string

type IgnoreHealthErrorResponse

type IgnoreHealthErrorResponse struct {
}

func (*IgnoreHealthErrorResponse) Descriptor

func (*IgnoreHealthErrorResponse) Descriptor() ([]byte, []int)

func (*IgnoreHealthErrorResponse) ProtoMessage

func (*IgnoreHealthErrorResponse) ProtoMessage()

func (*IgnoreHealthErrorResponse) Reset

func (m *IgnoreHealthErrorResponse) Reset()

func (*IgnoreHealthErrorResponse) String

func (m *IgnoreHealthErrorResponse) String() string

type InitMasterRequest

type InitMasterRequest struct {
}

func (*InitMasterRequest) Descriptor

func (*InitMasterRequest) Descriptor() ([]byte, []int)

func (*InitMasterRequest) ProtoMessage

func (*InitMasterRequest) ProtoMessage()

func (*InitMasterRequest) Reset

func (m *InitMasterRequest) Reset()

func (*InitMasterRequest) String

func (m *InitMasterRequest) String() string

type InitMasterResponse

type InitMasterResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*InitMasterResponse) Descriptor

func (*InitMasterResponse) Descriptor() ([]byte, []int)

func (*InitMasterResponse) GetPosition

func (m *InitMasterResponse) GetPosition() string

func (*InitMasterResponse) ProtoMessage

func (*InitMasterResponse) ProtoMessage()

func (*InitMasterResponse) Reset

func (m *InitMasterResponse) Reset()

func (*InitMasterResponse) String

func (m *InitMasterResponse) String() string

type InitSlaveRequest

type InitSlaveRequest struct {
	Parent              *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
	ReplicationPosition string                `protobuf:"bytes,2,opt,name=replication_position,json=replicationPosition" json:"replication_position,omitempty"`
	TimeCreatedNs       int64                 `protobuf:"varint,3,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"`
}

func (*InitSlaveRequest) Descriptor

func (*InitSlaveRequest) Descriptor() ([]byte, []int)

func (*InitSlaveRequest) GetParent

func (m *InitSlaveRequest) GetParent() *topodata.TabletAlias

func (*InitSlaveRequest) GetReplicationPosition

func (m *InitSlaveRequest) GetReplicationPosition() string

func (*InitSlaveRequest) GetTimeCreatedNs

func (m *InitSlaveRequest) GetTimeCreatedNs() int64

func (*InitSlaveRequest) ProtoMessage

func (*InitSlaveRequest) ProtoMessage()

func (*InitSlaveRequest) Reset

func (m *InitSlaveRequest) Reset()

func (*InitSlaveRequest) String

func (m *InitSlaveRequest) String() string

type InitSlaveResponse

type InitSlaveResponse struct {
}

func (*InitSlaveResponse) Descriptor

func (*InitSlaveResponse) Descriptor() ([]byte, []int)

func (*InitSlaveResponse) ProtoMessage

func (*InitSlaveResponse) ProtoMessage()

func (*InitSlaveResponse) Reset

func (m *InitSlaveResponse) Reset()

func (*InitSlaveResponse) String

func (m *InitSlaveResponse) String() string

type MasterPositionRequest

type MasterPositionRequest struct {
}

func (*MasterPositionRequest) Descriptor

func (*MasterPositionRequest) Descriptor() ([]byte, []int)

func (*MasterPositionRequest) ProtoMessage

func (*MasterPositionRequest) ProtoMessage()

func (*MasterPositionRequest) Reset

func (m *MasterPositionRequest) Reset()

func (*MasterPositionRequest) String

func (m *MasterPositionRequest) String() string

type MasterPositionResponse

type MasterPositionResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*MasterPositionResponse) Descriptor

func (*MasterPositionResponse) Descriptor() ([]byte, []int)

func (*MasterPositionResponse) GetPosition

func (m *MasterPositionResponse) GetPosition() string

func (*MasterPositionResponse) ProtoMessage

func (*MasterPositionResponse) ProtoMessage()

func (*MasterPositionResponse) Reset

func (m *MasterPositionResponse) Reset()

func (*MasterPositionResponse) String

func (m *MasterPositionResponse) String() string

type Permissions

type Permissions struct {
	UserPermissions []*UserPermission `protobuf:"bytes,1,rep,name=user_permissions,json=userPermissions" json:"user_permissions,omitempty"`
	DbPermissions   []*DbPermission   `protobuf:"bytes,2,rep,name=db_permissions,json=dbPermissions" json:"db_permissions,omitempty"`
}

Permissions have all the rows in mysql.{user,db} tables, (all rows are sorted by primary key)

func (*Permissions) Descriptor

func (*Permissions) Descriptor() ([]byte, []int)

func (*Permissions) GetDbPermissions

func (m *Permissions) GetDbPermissions() []*DbPermission

func (*Permissions) GetUserPermissions

func (m *Permissions) GetUserPermissions() []*UserPermission

func (*Permissions) ProtoMessage

func (*Permissions) ProtoMessage()

func (*Permissions) Reset

func (m *Permissions) Reset()

func (*Permissions) String

func (m *Permissions) String() string

type PingRequest

type PingRequest struct {
	Payload string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*PingRequest) Descriptor

func (*PingRequest) Descriptor() ([]byte, []int)

func (*PingRequest) GetPayload

func (m *PingRequest) GetPayload() string

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

type PingResponse

type PingResponse struct {
	Payload string `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}

func (*PingResponse) Descriptor

func (*PingResponse) Descriptor() ([]byte, []int)

func (*PingResponse) GetPayload

func (m *PingResponse) GetPayload() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) String

func (m *PingResponse) String() string

type PopulateReparentJournalRequest

type PopulateReparentJournalRequest struct {
	TimeCreatedNs       int64                 `protobuf:"varint,1,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"`
	ActionName          string                `protobuf:"bytes,2,opt,name=action_name,json=actionName" json:"action_name,omitempty"`
	MasterAlias         *topodata.TabletAlias `protobuf:"bytes,3,opt,name=master_alias,json=masterAlias" json:"master_alias,omitempty"`
	ReplicationPosition string                `protobuf:"bytes,4,opt,name=replication_position,json=replicationPosition" json:"replication_position,omitempty"`
}

func (*PopulateReparentJournalRequest) Descriptor

func (*PopulateReparentJournalRequest) Descriptor() ([]byte, []int)

func (*PopulateReparentJournalRequest) GetActionName

func (m *PopulateReparentJournalRequest) GetActionName() string

func (*PopulateReparentJournalRequest) GetMasterAlias

func (*PopulateReparentJournalRequest) GetReplicationPosition

func (m *PopulateReparentJournalRequest) GetReplicationPosition() string

func (*PopulateReparentJournalRequest) GetTimeCreatedNs

func (m *PopulateReparentJournalRequest) GetTimeCreatedNs() int64

func (*PopulateReparentJournalRequest) ProtoMessage

func (*PopulateReparentJournalRequest) ProtoMessage()

func (*PopulateReparentJournalRequest) Reset

func (m *PopulateReparentJournalRequest) Reset()

func (*PopulateReparentJournalRequest) String

type PopulateReparentJournalResponse

type PopulateReparentJournalResponse struct {
}

func (*PopulateReparentJournalResponse) Descriptor

func (*PopulateReparentJournalResponse) Descriptor() ([]byte, []int)

func (*PopulateReparentJournalResponse) ProtoMessage

func (*PopulateReparentJournalResponse) ProtoMessage()

func (*PopulateReparentJournalResponse) Reset

func (*PopulateReparentJournalResponse) String

type PreflightSchemaRequest

type PreflightSchemaRequest struct {
	Changes []string `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
}

func (*PreflightSchemaRequest) Descriptor

func (*PreflightSchemaRequest) Descriptor() ([]byte, []int)

func (*PreflightSchemaRequest) GetChanges

func (m *PreflightSchemaRequest) GetChanges() []string

func (*PreflightSchemaRequest) ProtoMessage

func (*PreflightSchemaRequest) ProtoMessage()

func (*PreflightSchemaRequest) Reset

func (m *PreflightSchemaRequest) Reset()

func (*PreflightSchemaRequest) String

func (m *PreflightSchemaRequest) String() string

type PreflightSchemaResponse

type PreflightSchemaResponse struct {
	// change_results has for each change the schema before and after it.
	// The number of elements is identical to the length of "changes" in the request.
	ChangeResults []*SchemaChangeResult `protobuf:"bytes,1,rep,name=change_results,json=changeResults" json:"change_results,omitempty"`
}

func (*PreflightSchemaResponse) Descriptor

func (*PreflightSchemaResponse) Descriptor() ([]byte, []int)

func (*PreflightSchemaResponse) GetChangeResults

func (m *PreflightSchemaResponse) GetChangeResults() []*SchemaChangeResult

func (*PreflightSchemaResponse) ProtoMessage

func (*PreflightSchemaResponse) ProtoMessage()

func (*PreflightSchemaResponse) Reset

func (m *PreflightSchemaResponse) Reset()

func (*PreflightSchemaResponse) String

func (m *PreflightSchemaResponse) String() string

type PromoteSlaveRequest

type PromoteSlaveRequest struct {
}

func (*PromoteSlaveRequest) Descriptor

func (*PromoteSlaveRequest) Descriptor() ([]byte, []int)

func (*PromoteSlaveRequest) ProtoMessage

func (*PromoteSlaveRequest) ProtoMessage()

func (*PromoteSlaveRequest) Reset

func (m *PromoteSlaveRequest) Reset()

func (*PromoteSlaveRequest) String

func (m *PromoteSlaveRequest) String() string

type PromoteSlaveResponse

type PromoteSlaveResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*PromoteSlaveResponse) Descriptor

func (*PromoteSlaveResponse) Descriptor() ([]byte, []int)

func (*PromoteSlaveResponse) GetPosition

func (m *PromoteSlaveResponse) GetPosition() string

func (*PromoteSlaveResponse) ProtoMessage

func (*PromoteSlaveResponse) ProtoMessage()

func (*PromoteSlaveResponse) Reset

func (m *PromoteSlaveResponse) Reset()

func (*PromoteSlaveResponse) String

func (m *PromoteSlaveResponse) String() string

type PromoteSlaveWhenCaughtUpRequest

type PromoteSlaveWhenCaughtUpRequest struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*PromoteSlaveWhenCaughtUpRequest) Descriptor

func (*PromoteSlaveWhenCaughtUpRequest) Descriptor() ([]byte, []int)

func (*PromoteSlaveWhenCaughtUpRequest) GetPosition

func (m *PromoteSlaveWhenCaughtUpRequest) GetPosition() string

func (*PromoteSlaveWhenCaughtUpRequest) ProtoMessage

func (*PromoteSlaveWhenCaughtUpRequest) ProtoMessage()

func (*PromoteSlaveWhenCaughtUpRequest) Reset

func (*PromoteSlaveWhenCaughtUpRequest) String

type PromoteSlaveWhenCaughtUpResponse

type PromoteSlaveWhenCaughtUpResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*PromoteSlaveWhenCaughtUpResponse) Descriptor

func (*PromoteSlaveWhenCaughtUpResponse) Descriptor() ([]byte, []int)

func (*PromoteSlaveWhenCaughtUpResponse) GetPosition

func (m *PromoteSlaveWhenCaughtUpResponse) GetPosition() string

func (*PromoteSlaveWhenCaughtUpResponse) ProtoMessage

func (*PromoteSlaveWhenCaughtUpResponse) ProtoMessage()

func (*PromoteSlaveWhenCaughtUpResponse) Reset

func (*PromoteSlaveWhenCaughtUpResponse) String

type RefreshStateRequest

type RefreshStateRequest struct {
}

func (*RefreshStateRequest) Descriptor

func (*RefreshStateRequest) Descriptor() ([]byte, []int)

func (*RefreshStateRequest) ProtoMessage

func (*RefreshStateRequest) ProtoMessage()

func (*RefreshStateRequest) Reset

func (m *RefreshStateRequest) Reset()

func (*RefreshStateRequest) String

func (m *RefreshStateRequest) String() string

type RefreshStateResponse

type RefreshStateResponse struct {
}

func (*RefreshStateResponse) Descriptor

func (*RefreshStateResponse) Descriptor() ([]byte, []int)

func (*RefreshStateResponse) ProtoMessage

func (*RefreshStateResponse) ProtoMessage()

func (*RefreshStateResponse) Reset

func (m *RefreshStateResponse) Reset()

func (*RefreshStateResponse) String

func (m *RefreshStateResponse) String() string

type ReloadSchemaRequest

type ReloadSchemaRequest struct {
	// wait_position allows scheduling a schema reload to occur after a
	// given DDL has replicated to this slave, by specifying a replication
	// position to wait for. Leave empty to trigger the reload immediately.
	WaitPosition string `protobuf:"bytes,1,opt,name=wait_position,json=waitPosition" json:"wait_position,omitempty"`
}

func (*ReloadSchemaRequest) Descriptor

func (*ReloadSchemaRequest) Descriptor() ([]byte, []int)

func (*ReloadSchemaRequest) GetWaitPosition

func (m *ReloadSchemaRequest) GetWaitPosition() string

func (*ReloadSchemaRequest) ProtoMessage

func (*ReloadSchemaRequest) ProtoMessage()

func (*ReloadSchemaRequest) Reset

func (m *ReloadSchemaRequest) Reset()

func (*ReloadSchemaRequest) String

func (m *ReloadSchemaRequest) String() string

type ReloadSchemaResponse

type ReloadSchemaResponse struct {
}

func (*ReloadSchemaResponse) Descriptor

func (*ReloadSchemaResponse) Descriptor() ([]byte, []int)

func (*ReloadSchemaResponse) ProtoMessage

func (*ReloadSchemaResponse) ProtoMessage()

func (*ReloadSchemaResponse) Reset

func (m *ReloadSchemaResponse) Reset()

func (*ReloadSchemaResponse) String

func (m *ReloadSchemaResponse) String() string

type ResetReplicationRequest

type ResetReplicationRequest struct {
}

func (*ResetReplicationRequest) Descriptor

func (*ResetReplicationRequest) Descriptor() ([]byte, []int)

func (*ResetReplicationRequest) ProtoMessage

func (*ResetReplicationRequest) ProtoMessage()

func (*ResetReplicationRequest) Reset

func (m *ResetReplicationRequest) Reset()

func (*ResetReplicationRequest) String

func (m *ResetReplicationRequest) String() string

type ResetReplicationResponse

type ResetReplicationResponse struct {
}

func (*ResetReplicationResponse) Descriptor

func (*ResetReplicationResponse) Descriptor() ([]byte, []int)

func (*ResetReplicationResponse) ProtoMessage

func (*ResetReplicationResponse) ProtoMessage()

func (*ResetReplicationResponse) Reset

func (m *ResetReplicationResponse) Reset()

func (*ResetReplicationResponse) String

func (m *ResetReplicationResponse) String() string

type RestoreFromBackupRequest

type RestoreFromBackupRequest struct {
}

func (*RestoreFromBackupRequest) Descriptor

func (*RestoreFromBackupRequest) Descriptor() ([]byte, []int)

func (*RestoreFromBackupRequest) ProtoMessage

func (*RestoreFromBackupRequest) ProtoMessage()

func (*RestoreFromBackupRequest) Reset

func (m *RestoreFromBackupRequest) Reset()

func (*RestoreFromBackupRequest) String

func (m *RestoreFromBackupRequest) String() string

type RestoreFromBackupResponse

type RestoreFromBackupResponse struct {
	Event *logutil.Event `protobuf:"bytes,1,opt,name=event" json:"event,omitempty"`
}

func (*RestoreFromBackupResponse) Descriptor

func (*RestoreFromBackupResponse) Descriptor() ([]byte, []int)

func (*RestoreFromBackupResponse) GetEvent

func (m *RestoreFromBackupResponse) GetEvent() *logutil.Event

func (*RestoreFromBackupResponse) ProtoMessage

func (*RestoreFromBackupResponse) ProtoMessage()

func (*RestoreFromBackupResponse) Reset

func (m *RestoreFromBackupResponse) Reset()

func (*RestoreFromBackupResponse) String

func (m *RestoreFromBackupResponse) String() string

type RunBlpUntilRequest

type RunBlpUntilRequest struct {
	BlpPositions []*BlpPosition `protobuf:"bytes,1,rep,name=blp_positions,json=blpPositions" json:"blp_positions,omitempty"`
	WaitTimeout  int64          `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"`
}

func (*RunBlpUntilRequest) Descriptor

func (*RunBlpUntilRequest) Descriptor() ([]byte, []int)

func (*RunBlpUntilRequest) GetBlpPositions

func (m *RunBlpUntilRequest) GetBlpPositions() []*BlpPosition

func (*RunBlpUntilRequest) GetWaitTimeout

func (m *RunBlpUntilRequest) GetWaitTimeout() int64

func (*RunBlpUntilRequest) ProtoMessage

func (*RunBlpUntilRequest) ProtoMessage()

func (*RunBlpUntilRequest) Reset

func (m *RunBlpUntilRequest) Reset()

func (*RunBlpUntilRequest) String

func (m *RunBlpUntilRequest) String() string

type RunBlpUntilResponse

type RunBlpUntilResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*RunBlpUntilResponse) Descriptor

func (*RunBlpUntilResponse) Descriptor() ([]byte, []int)

func (*RunBlpUntilResponse) GetPosition

func (m *RunBlpUntilResponse) GetPosition() string

func (*RunBlpUntilResponse) ProtoMessage

func (*RunBlpUntilResponse) ProtoMessage()

func (*RunBlpUntilResponse) Reset

func (m *RunBlpUntilResponse) Reset()

func (*RunBlpUntilResponse) String

func (m *RunBlpUntilResponse) String() string

type RunHealthCheckRequest

type RunHealthCheckRequest struct {
}

func (*RunHealthCheckRequest) Descriptor

func (*RunHealthCheckRequest) Descriptor() ([]byte, []int)

func (*RunHealthCheckRequest) ProtoMessage

func (*RunHealthCheckRequest) ProtoMessage()

func (*RunHealthCheckRequest) Reset

func (m *RunHealthCheckRequest) Reset()

func (*RunHealthCheckRequest) String

func (m *RunHealthCheckRequest) String() string

type RunHealthCheckResponse

type RunHealthCheckResponse struct {
}

func (*RunHealthCheckResponse) Descriptor

func (*RunHealthCheckResponse) Descriptor() ([]byte, []int)

func (*RunHealthCheckResponse) ProtoMessage

func (*RunHealthCheckResponse) ProtoMessage()

func (*RunHealthCheckResponse) Reset

func (m *RunHealthCheckResponse) Reset()

func (*RunHealthCheckResponse) String

func (m *RunHealthCheckResponse) String() string

type SchemaChangeResult

type SchemaChangeResult struct {
	// before_schema holds the schema before each change.
	BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema,json=beforeSchema" json:"before_schema,omitempty"`
	// after_schema holds the schema after each change.
	AfterSchema *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema,json=afterSchema" json:"after_schema,omitempty"`
}

func (*SchemaChangeResult) Descriptor

func (*SchemaChangeResult) Descriptor() ([]byte, []int)

func (*SchemaChangeResult) GetAfterSchema

func (m *SchemaChangeResult) GetAfterSchema() *SchemaDefinition

func (*SchemaChangeResult) GetBeforeSchema

func (m *SchemaChangeResult) GetBeforeSchema() *SchemaDefinition

func (*SchemaChangeResult) ProtoMessage

func (*SchemaChangeResult) ProtoMessage()

func (*SchemaChangeResult) Reset

func (m *SchemaChangeResult) Reset()

func (*SchemaChangeResult) String

func (m *SchemaChangeResult) String() string

type SchemaDefinition

type SchemaDefinition struct {
	DatabaseSchema   string             `protobuf:"bytes,1,opt,name=database_schema,json=databaseSchema" json:"database_schema,omitempty"`
	TableDefinitions []*TableDefinition `protobuf:"bytes,2,rep,name=table_definitions,json=tableDefinitions" json:"table_definitions,omitempty"`
	Version          string             `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
}

func (*SchemaDefinition) Descriptor

func (*SchemaDefinition) Descriptor() ([]byte, []int)

func (*SchemaDefinition) GetDatabaseSchema

func (m *SchemaDefinition) GetDatabaseSchema() string

func (*SchemaDefinition) GetTableDefinitions

func (m *SchemaDefinition) GetTableDefinitions() []*TableDefinition

func (*SchemaDefinition) GetVersion

func (m *SchemaDefinition) GetVersion() string

func (*SchemaDefinition) ProtoMessage

func (*SchemaDefinition) ProtoMessage()

func (*SchemaDefinition) Reset

func (m *SchemaDefinition) Reset()

func (*SchemaDefinition) String

func (m *SchemaDefinition) String() string

type SetMasterRequest

type SetMasterRequest struct {
	Parent          *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
	TimeCreatedNs   int64                 `protobuf:"varint,2,opt,name=time_created_ns,json=timeCreatedNs" json:"time_created_ns,omitempty"`
	ForceStartSlave bool                  `protobuf:"varint,3,opt,name=force_start_slave,json=forceStartSlave" json:"force_start_slave,omitempty"`
}

func (*SetMasterRequest) Descriptor

func (*SetMasterRequest) Descriptor() ([]byte, []int)

func (*SetMasterRequest) GetForceStartSlave

func (m *SetMasterRequest) GetForceStartSlave() bool

func (*SetMasterRequest) GetParent

func (m *SetMasterRequest) GetParent() *topodata.TabletAlias

func (*SetMasterRequest) GetTimeCreatedNs

func (m *SetMasterRequest) GetTimeCreatedNs() int64

func (*SetMasterRequest) ProtoMessage

func (*SetMasterRequest) ProtoMessage()

func (*SetMasterRequest) Reset

func (m *SetMasterRequest) Reset()

func (*SetMasterRequest) String

func (m *SetMasterRequest) String() string

type SetMasterResponse

type SetMasterResponse struct {
}

func (*SetMasterResponse) Descriptor

func (*SetMasterResponse) Descriptor() ([]byte, []int)

func (*SetMasterResponse) ProtoMessage

func (*SetMasterResponse) ProtoMessage()

func (*SetMasterResponse) Reset

func (m *SetMasterResponse) Reset()

func (*SetMasterResponse) String

func (m *SetMasterResponse) String() string

type SetReadOnlyRequest

type SetReadOnlyRequest struct {
}

func (*SetReadOnlyRequest) Descriptor

func (*SetReadOnlyRequest) Descriptor() ([]byte, []int)

func (*SetReadOnlyRequest) ProtoMessage

func (*SetReadOnlyRequest) ProtoMessage()

func (*SetReadOnlyRequest) Reset

func (m *SetReadOnlyRequest) Reset()

func (*SetReadOnlyRequest) String

func (m *SetReadOnlyRequest) String() string

type SetReadOnlyResponse

type SetReadOnlyResponse struct {
}

func (*SetReadOnlyResponse) Descriptor

func (*SetReadOnlyResponse) Descriptor() ([]byte, []int)

func (*SetReadOnlyResponse) ProtoMessage

func (*SetReadOnlyResponse) ProtoMessage()

func (*SetReadOnlyResponse) Reset

func (m *SetReadOnlyResponse) Reset()

func (*SetReadOnlyResponse) String

func (m *SetReadOnlyResponse) String() string

type SetReadWriteRequest

type SetReadWriteRequest struct {
}

func (*SetReadWriteRequest) Descriptor

func (*SetReadWriteRequest) Descriptor() ([]byte, []int)

func (*SetReadWriteRequest) ProtoMessage

func (*SetReadWriteRequest) ProtoMessage()

func (*SetReadWriteRequest) Reset

func (m *SetReadWriteRequest) Reset()

func (*SetReadWriteRequest) String

func (m *SetReadWriteRequest) String() string

type SetReadWriteResponse

type SetReadWriteResponse struct {
}

func (*SetReadWriteResponse) Descriptor

func (*SetReadWriteResponse) Descriptor() ([]byte, []int)

func (*SetReadWriteResponse) ProtoMessage

func (*SetReadWriteResponse) ProtoMessage()

func (*SetReadWriteResponse) Reset

func (m *SetReadWriteResponse) Reset()

func (*SetReadWriteResponse) String

func (m *SetReadWriteResponse) String() string

type SlaveStatusRequest

type SlaveStatusRequest struct {
}

func (*SlaveStatusRequest) Descriptor

func (*SlaveStatusRequest) Descriptor() ([]byte, []int)

func (*SlaveStatusRequest) ProtoMessage

func (*SlaveStatusRequest) ProtoMessage()

func (*SlaveStatusRequest) Reset

func (m *SlaveStatusRequest) Reset()

func (*SlaveStatusRequest) String

func (m *SlaveStatusRequest) String() string

type SlaveStatusResponse

type SlaveStatusResponse struct {
	Status *replicationdata.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}

func (*SlaveStatusResponse) Descriptor

func (*SlaveStatusResponse) Descriptor() ([]byte, []int)

func (*SlaveStatusResponse) GetStatus

func (m *SlaveStatusResponse) GetStatus() *replicationdata.Status

func (*SlaveStatusResponse) ProtoMessage

func (*SlaveStatusResponse) ProtoMessage()

func (*SlaveStatusResponse) Reset

func (m *SlaveStatusResponse) Reset()

func (*SlaveStatusResponse) String

func (m *SlaveStatusResponse) String() string

type SlaveWasPromotedRequest

type SlaveWasPromotedRequest struct {
}

func (*SlaveWasPromotedRequest) Descriptor

func (*SlaveWasPromotedRequest) Descriptor() ([]byte, []int)

func (*SlaveWasPromotedRequest) ProtoMessage

func (*SlaveWasPromotedRequest) ProtoMessage()

func (*SlaveWasPromotedRequest) Reset

func (m *SlaveWasPromotedRequest) Reset()

func (*SlaveWasPromotedRequest) String

func (m *SlaveWasPromotedRequest) String() string

type SlaveWasPromotedResponse

type SlaveWasPromotedResponse struct {
}

func (*SlaveWasPromotedResponse) Descriptor

func (*SlaveWasPromotedResponse) Descriptor() ([]byte, []int)

func (*SlaveWasPromotedResponse) ProtoMessage

func (*SlaveWasPromotedResponse) ProtoMessage()

func (*SlaveWasPromotedResponse) Reset

func (m *SlaveWasPromotedResponse) Reset()

func (*SlaveWasPromotedResponse) String

func (m *SlaveWasPromotedResponse) String() string

type SlaveWasRestartedRequest

type SlaveWasRestartedRequest struct {
	// the parent alias the tablet should have
	Parent *topodata.TabletAlias `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
}

func (*SlaveWasRestartedRequest) Descriptor

func (*SlaveWasRestartedRequest) Descriptor() ([]byte, []int)

func (*SlaveWasRestartedRequest) GetParent

func (*SlaveWasRestartedRequest) ProtoMessage

func (*SlaveWasRestartedRequest) ProtoMessage()

func (*SlaveWasRestartedRequest) Reset

func (m *SlaveWasRestartedRequest) Reset()

func (*SlaveWasRestartedRequest) String

func (m *SlaveWasRestartedRequest) String() string

type SlaveWasRestartedResponse

type SlaveWasRestartedResponse struct {
}

func (*SlaveWasRestartedResponse) Descriptor

func (*SlaveWasRestartedResponse) Descriptor() ([]byte, []int)

func (*SlaveWasRestartedResponse) ProtoMessage

func (*SlaveWasRestartedResponse) ProtoMessage()

func (*SlaveWasRestartedResponse) Reset

func (m *SlaveWasRestartedResponse) Reset()

func (*SlaveWasRestartedResponse) String

func (m *SlaveWasRestartedResponse) String() string

type SleepRequest

type SleepRequest struct {
	// duration is in nanoseconds
	Duration int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
}

func (*SleepRequest) Descriptor

func (*SleepRequest) Descriptor() ([]byte, []int)

func (*SleepRequest) GetDuration

func (m *SleepRequest) GetDuration() int64

func (*SleepRequest) ProtoMessage

func (*SleepRequest) ProtoMessage()

func (*SleepRequest) Reset

func (m *SleepRequest) Reset()

func (*SleepRequest) String

func (m *SleepRequest) String() string

type SleepResponse

type SleepResponse struct {
}

func (*SleepResponse) Descriptor

func (*SleepResponse) Descriptor() ([]byte, []int)

func (*SleepResponse) ProtoMessage

func (*SleepResponse) ProtoMessage()

func (*SleepResponse) Reset

func (m *SleepResponse) Reset()

func (*SleepResponse) String

func (m *SleepResponse) String() string

type StartBlpRequest

type StartBlpRequest struct {
}

func (*StartBlpRequest) Descriptor

func (*StartBlpRequest) Descriptor() ([]byte, []int)

func (*StartBlpRequest) ProtoMessage

func (*StartBlpRequest) ProtoMessage()

func (*StartBlpRequest) Reset

func (m *StartBlpRequest) Reset()

func (*StartBlpRequest) String

func (m *StartBlpRequest) String() string

type StartBlpResponse

type StartBlpResponse struct {
}

func (*StartBlpResponse) Descriptor

func (*StartBlpResponse) Descriptor() ([]byte, []int)

func (*StartBlpResponse) ProtoMessage

func (*StartBlpResponse) ProtoMessage()

func (*StartBlpResponse) Reset

func (m *StartBlpResponse) Reset()

func (*StartBlpResponse) String

func (m *StartBlpResponse) String() string

type StartSlaveRequest

type StartSlaveRequest struct {
}

func (*StartSlaveRequest) Descriptor

func (*StartSlaveRequest) Descriptor() ([]byte, []int)

func (*StartSlaveRequest) ProtoMessage

func (*StartSlaveRequest) ProtoMessage()

func (*StartSlaveRequest) Reset

func (m *StartSlaveRequest) Reset()

func (*StartSlaveRequest) String

func (m *StartSlaveRequest) String() string

type StartSlaveResponse

type StartSlaveResponse struct {
}

func (*StartSlaveResponse) Descriptor

func (*StartSlaveResponse) Descriptor() ([]byte, []int)

func (*StartSlaveResponse) ProtoMessage

func (*StartSlaveResponse) ProtoMessage()

func (*StartSlaveResponse) Reset

func (m *StartSlaveResponse) Reset()

func (*StartSlaveResponse) String

func (m *StartSlaveResponse) String() string

type StopBlpRequest

type StopBlpRequest struct {
}

func (*StopBlpRequest) Descriptor

func (*StopBlpRequest) Descriptor() ([]byte, []int)

func (*StopBlpRequest) ProtoMessage

func (*StopBlpRequest) ProtoMessage()

func (*StopBlpRequest) Reset

func (m *StopBlpRequest) Reset()

func (*StopBlpRequest) String

func (m *StopBlpRequest) String() string

type StopBlpResponse

type StopBlpResponse struct {
	BlpPositions []*BlpPosition `protobuf:"bytes,1,rep,name=blp_positions,json=blpPositions" json:"blp_positions,omitempty"`
}

func (*StopBlpResponse) Descriptor

func (*StopBlpResponse) Descriptor() ([]byte, []int)

func (*StopBlpResponse) GetBlpPositions

func (m *StopBlpResponse) GetBlpPositions() []*BlpPosition

func (*StopBlpResponse) ProtoMessage

func (*StopBlpResponse) ProtoMessage()

func (*StopBlpResponse) Reset

func (m *StopBlpResponse) Reset()

func (*StopBlpResponse) String

func (m *StopBlpResponse) String() string

type StopReplicationAndGetStatusRequest

type StopReplicationAndGetStatusRequest struct {
}

func (*StopReplicationAndGetStatusRequest) Descriptor

func (*StopReplicationAndGetStatusRequest) Descriptor() ([]byte, []int)

func (*StopReplicationAndGetStatusRequest) ProtoMessage

func (*StopReplicationAndGetStatusRequest) ProtoMessage()

func (*StopReplicationAndGetStatusRequest) Reset

func (*StopReplicationAndGetStatusRequest) String

type StopReplicationAndGetStatusResponse

type StopReplicationAndGetStatusResponse struct {
	Status *replicationdata.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}

func (*StopReplicationAndGetStatusResponse) Descriptor

func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int)

func (*StopReplicationAndGetStatusResponse) GetStatus

func (*StopReplicationAndGetStatusResponse) ProtoMessage

func (*StopReplicationAndGetStatusResponse) ProtoMessage()

func (*StopReplicationAndGetStatusResponse) Reset

func (*StopReplicationAndGetStatusResponse) String

type StopSlaveMinimumRequest

type StopSlaveMinimumRequest struct {
	Position    string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
	WaitTimeout int64  `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"`
}

func (*StopSlaveMinimumRequest) Descriptor

func (*StopSlaveMinimumRequest) Descriptor() ([]byte, []int)

func (*StopSlaveMinimumRequest) GetPosition

func (m *StopSlaveMinimumRequest) GetPosition() string

func (*StopSlaveMinimumRequest) GetWaitTimeout

func (m *StopSlaveMinimumRequest) GetWaitTimeout() int64

func (*StopSlaveMinimumRequest) ProtoMessage

func (*StopSlaveMinimumRequest) ProtoMessage()

func (*StopSlaveMinimumRequest) Reset

func (m *StopSlaveMinimumRequest) Reset()

func (*StopSlaveMinimumRequest) String

func (m *StopSlaveMinimumRequest) String() string

type StopSlaveMinimumResponse

type StopSlaveMinimumResponse struct {
	Position string `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"`
}

func (*StopSlaveMinimumResponse) Descriptor

func (*StopSlaveMinimumResponse) Descriptor() ([]byte, []int)

func (*StopSlaveMinimumResponse) GetPosition

func (m *StopSlaveMinimumResponse) GetPosition() string

func (*StopSlaveMinimumResponse) ProtoMessage

func (*StopSlaveMinimumResponse) ProtoMessage()

func (*StopSlaveMinimumResponse) Reset

func (m *StopSlaveMinimumResponse) Reset()

func (*StopSlaveMinimumResponse) String

func (m *StopSlaveMinimumResponse) String() string

type StopSlaveRequest

type StopSlaveRequest struct {
}

func (*StopSlaveRequest) Descriptor

func (*StopSlaveRequest) Descriptor() ([]byte, []int)

func (*StopSlaveRequest) ProtoMessage

func (*StopSlaveRequest) ProtoMessage()

func (*StopSlaveRequest) Reset

func (m *StopSlaveRequest) Reset()

func (*StopSlaveRequest) String

func (m *StopSlaveRequest) String() string

type StopSlaveResponse

type StopSlaveResponse struct {
}

func (*StopSlaveResponse) Descriptor

func (*StopSlaveResponse) Descriptor() ([]byte, []int)

func (*StopSlaveResponse) ProtoMessage

func (*StopSlaveResponse) ProtoMessage()

func (*StopSlaveResponse) Reset

func (m *StopSlaveResponse) Reset()

func (*StopSlaveResponse) String

func (m *StopSlaveResponse) String() string

type TableDefinition

type TableDefinition struct {
	// the table name
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// the SQL to run to create the table
	Schema string `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"`
	// the columns in the order that will be used to dump and load the data
	Columns []string `protobuf:"bytes,3,rep,name=columns" json:"columns,omitempty"`
	// the primary key columns in the primary key order
	PrimaryKeyColumns []string `protobuf:"bytes,4,rep,name=primary_key_columns,json=primaryKeyColumns" json:"primary_key_columns,omitempty"`
	// type is either mysqlctl.TableBaseTable or mysqlctl.TableView
	Type string `protobuf:"bytes,5,opt,name=type" json:"type,omitempty"`
	// how much space the data file takes.
	DataLength uint64 `protobuf:"varint,6,opt,name=data_length,json=dataLength" json:"data_length,omitempty"`
	// approximate number of rows
	RowCount uint64 `protobuf:"varint,7,opt,name=row_count,json=rowCount" json:"row_count,omitempty"`
}

func (*TableDefinition) Descriptor

func (*TableDefinition) Descriptor() ([]byte, []int)

func (*TableDefinition) GetColumns

func (m *TableDefinition) GetColumns() []string

func (*TableDefinition) GetDataLength

func (m *TableDefinition) GetDataLength() uint64

func (*TableDefinition) GetName

func (m *TableDefinition) GetName() string

func (*TableDefinition) GetPrimaryKeyColumns

func (m *TableDefinition) GetPrimaryKeyColumns() []string

func (*TableDefinition) GetRowCount

func (m *TableDefinition) GetRowCount() uint64

func (*TableDefinition) GetSchema

func (m *TableDefinition) GetSchema() string

func (*TableDefinition) GetType

func (m *TableDefinition) GetType() string

func (*TableDefinition) ProtoMessage

func (*TableDefinition) ProtoMessage()

func (*TableDefinition) Reset

func (m *TableDefinition) Reset()

func (*TableDefinition) String

func (m *TableDefinition) String() string

type TabletExternallyElectedRequest

type TabletExternallyElectedRequest struct {
}

func (*TabletExternallyElectedRequest) Descriptor

func (*TabletExternallyElectedRequest) Descriptor() ([]byte, []int)

func (*TabletExternallyElectedRequest) ProtoMessage

func (*TabletExternallyElectedRequest) ProtoMessage()

func (*TabletExternallyElectedRequest) Reset

func (m *TabletExternallyElectedRequest) Reset()

func (*TabletExternallyElectedRequest) String

type TabletExternallyElectedResponse

type TabletExternallyElectedResponse struct {
}

func (*TabletExternallyElectedResponse) Descriptor

func (*TabletExternallyElectedResponse) Descriptor() ([]byte, []int)

func (*TabletExternallyElectedResponse) ProtoMessage

func (*TabletExternallyElectedResponse) ProtoMessage()

func (*TabletExternallyElectedResponse) Reset

func (*TabletExternallyElectedResponse) String

type TabletExternallyReparentedRequest

type TabletExternallyReparentedRequest struct {
	// external_id is an string value that may be provided by an external
	// agent for tracking purposes. The tablet will emit this string in
	// events triggered by TabletExternallyReparented, such as VitessReparent.
	ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId" json:"external_id,omitempty"`
}

func (*TabletExternallyReparentedRequest) Descriptor

func (*TabletExternallyReparentedRequest) Descriptor() ([]byte, []int)

func (*TabletExternallyReparentedRequest) GetExternalId

func (m *TabletExternallyReparentedRequest) GetExternalId() string

func (*TabletExternallyReparentedRequest) ProtoMessage

func (*TabletExternallyReparentedRequest) ProtoMessage()

func (*TabletExternallyReparentedRequest) Reset

func (*TabletExternallyReparentedRequest) String

type TabletExternallyReparentedResponse

type TabletExternallyReparentedResponse struct {
}

func (*TabletExternallyReparentedResponse) Descriptor

func (*TabletExternallyReparentedResponse) Descriptor() ([]byte, []int)

func (*TabletExternallyReparentedResponse) ProtoMessage

func (*TabletExternallyReparentedResponse) ProtoMessage()

func (*TabletExternallyReparentedResponse) Reset

func (*TabletExternallyReparentedResponse) String

type UserPermission

type UserPermission struct {
	Host             string            `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	User             string            `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	PasswordChecksum uint64            `protobuf:"varint,3,opt,name=password_checksum,json=passwordChecksum" json:"password_checksum,omitempty"`
	Privileges       map[string]string `` /* 140-byte string literal not displayed */
}

UserPermission describes a single row in the mysql.user table Primary key is Host+User PasswordChecksum is the crc64 of the password, for security reasons

func (*UserPermission) Descriptor

func (*UserPermission) Descriptor() ([]byte, []int)

func (*UserPermission) GetHost

func (m *UserPermission) GetHost() string

func (*UserPermission) GetPasswordChecksum

func (m *UserPermission) GetPasswordChecksum() uint64

func (*UserPermission) GetPrivileges

func (m *UserPermission) GetPrivileges() map[string]string

func (*UserPermission) GetUser

func (m *UserPermission) GetUser() string

func (*UserPermission) ProtoMessage

func (*UserPermission) ProtoMessage()

func (*UserPermission) Reset

func (m *UserPermission) Reset()

func (*UserPermission) String

func (m *UserPermission) String() string

type WaitBlpPositionRequest

type WaitBlpPositionRequest struct {
	BlpPosition *BlpPosition `protobuf:"bytes,1,opt,name=blp_position,json=blpPosition" json:"blp_position,omitempty"`
	WaitTimeout int64        `protobuf:"varint,2,opt,name=wait_timeout,json=waitTimeout" json:"wait_timeout,omitempty"`
}

func (*WaitBlpPositionRequest) Descriptor

func (*WaitBlpPositionRequest) Descriptor() ([]byte, []int)

func (*WaitBlpPositionRequest) GetBlpPosition

func (m *WaitBlpPositionRequest) GetBlpPosition() *BlpPosition

func (*WaitBlpPositionRequest) GetWaitTimeout

func (m *WaitBlpPositionRequest) GetWaitTimeout() int64

func (*WaitBlpPositionRequest) ProtoMessage

func (*WaitBlpPositionRequest) ProtoMessage()

func (*WaitBlpPositionRequest) Reset

func (m *WaitBlpPositionRequest) Reset()

func (*WaitBlpPositionRequest) String

func (m *WaitBlpPositionRequest) String() string

type WaitBlpPositionResponse

type WaitBlpPositionResponse struct {
}

func (*WaitBlpPositionResponse) Descriptor

func (*WaitBlpPositionResponse) Descriptor() ([]byte, []int)

func (*WaitBlpPositionResponse) ProtoMessage

func (*WaitBlpPositionResponse) ProtoMessage()

func (*WaitBlpPositionResponse) Reset

func (m *WaitBlpPositionResponse) Reset()

func (*WaitBlpPositionResponse) String

func (m *WaitBlpPositionResponse) String() string

Jump to

Keyboard shortcuts

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