tabletmanagerdata

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

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

Go to latest
Published: Aug 25, 2015 License: BSD-3-Clause Imports: 5 Imported by: 0

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
UserPermission
DbPermission
HostPermission
Permissions
BlpPosition
PingRequest
PingResponse
SleepRequest
SleepResponse
ExecuteHookRequest
ExecuteHookResponse
GetSchemaRequest
GetSchemaResponse
GetPermissionsRequest
GetPermissionsResponse
SetReadOnlyRequest
SetReadOnlyResponse
SetReadWriteRequest
SetReadWriteResponse
ChangeTypeRequest
ChangeTypeResponse
ScrapRequest
ScrapResponse
RefreshStateRequest
RefreshStateResponse
RunHealthCheckRequest
RunHealthCheckResponse
ReloadSchemaRequest
ReloadSchemaResponse
PreflightSchemaRequest
PreflightSchemaResponse
ApplySchemaRequest
ApplySchemaResponse
ExecuteFetchAsDbaRequest
ExecuteFetchAsDbaResponse
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

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:"allow_replication,omitempty"`
	BeforeSchema     *SchemaDefinition `protobuf:"bytes,4,opt,name=before_schema" json:"before_schema,omitempty"`
	AfterSchema      *SchemaDefinition `protobuf:"bytes,5,opt,name=after_schema" json:"after_schema,omitempty"`
}

func (*ApplySchemaRequest) GetAfterSchema

func (m *ApplySchemaRequest) GetAfterSchema() *SchemaDefinition

func (*ApplySchemaRequest) GetBeforeSchema

func (m *ApplySchemaRequest) GetBeforeSchema() *SchemaDefinition

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:"before_schema,omitempty"`
	AfterSchema  *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema" json:"after_schema,omitempty"`
}

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) 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) 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) 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,enum=topodata.TabletType" json:"tablet_type,omitempty"`
}

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) 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) GetPrivileges

func (m *DbPermission) GetPrivileges() map[string]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) 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) ProtoMessage

func (*DemoteMasterResponse) ProtoMessage()

func (*DemoteMasterResponse) Reset

func (m *DemoteMasterResponse) Reset()

func (*DemoteMasterResponse) String

func (m *DemoteMasterResponse) String() string

type ExecuteFetchAsAppRequest

type ExecuteFetchAsAppRequest struct {
	Query      string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
	MaxRows    uint64 `protobuf:"varint,2,opt,name=max_rows" json:"max_rows,omitempty"`
	WantFields bool   `protobuf:"varint,3,opt,name=want_fields" json:"want_fields,omitempty"`
}

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) 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          string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
	DbName         string `protobuf:"bytes,2,opt,name=db_name" json:"db_name,omitempty"`
	MaxRows        uint64 `protobuf:"varint,3,opt,name=max_rows" json:"max_rows,omitempty"`
	WantFields     bool   `protobuf:"varint,4,opt,name=want_fields" json:"want_fields,omitempty"`
	DisableBinlogs bool   `protobuf:"varint,5,opt,name=disable_binlogs" json:"disable_binlogs,omitempty"`
	ReloadSchema   bool   `protobuf:"varint,6,opt,name=reload_schema" json:"reload_schema,omitempty"`
}

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) 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 `` /* 138-byte string literal not displayed */
}

func (*ExecuteHookRequest) GetExtraEnv

func (m *ExecuteHookRequest) GetExtraEnv() map[string]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:"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) 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) 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) 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:"include_views,omitempty"`
	ExcludeTables []string `protobuf:"bytes,3,rep,name=exclude_tables" json:"exclude_tables,omitempty"`
}

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:"schema_definition,omitempty"`
}

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) 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) ProtoMessage

func (*GetSlavesResponse) ProtoMessage()

func (*GetSlavesResponse) Reset

func (m *GetSlavesResponse) Reset()

func (*GetSlavesResponse) String

func (m *GetSlavesResponse) String() string

type HostPermission

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

HostPermission describes a single row in the mysql.host table Primary key is Host+Db

func (*HostPermission) GetPrivileges

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

func (*HostPermission) ProtoMessage

func (*HostPermission) ProtoMessage()

func (*HostPermission) Reset

func (m *HostPermission) Reset()

func (*HostPermission) String

func (m *HostPermission) String() string

type InitMasterRequest

type InitMasterRequest struct {
}

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) 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:"replication_position,omitempty"`
	TimeCreatedNs       int64                 `protobuf:"varint,3,opt,name=time_created_ns" json:"time_created_ns,omitempty"`
}

func (*InitSlaveRequest) GetParent

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

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) 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) 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) 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:"user_permissions,omitempty"`
	DbPermissions   []*DbPermission   `protobuf:"bytes,2,rep,name=db_permissions" json:"db_permissions,omitempty"`
	HostPermissions []*HostPermission `protobuf:"bytes,3,rep,name=host_permissions" json:"host_permissions,omitempty"`
}

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

func (*Permissions) GetDbPermissions

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

func (*Permissions) GetHostPermissions

func (m *Permissions) GetHostPermissions() []*HostPermission

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) 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) 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:"time_created_ns,omitempty"`
	ActionName          string                `protobuf:"bytes,2,opt,name=action_name" json:"action_name,omitempty"`
	MasterAlias         *topodata.TabletAlias `protobuf:"bytes,3,opt,name=master_alias" json:"master_alias,omitempty"`
	ReplicationPosition string                `protobuf:"bytes,4,opt,name=replication_position" json:"replication_position,omitempty"`
}

func (*PopulateReparentJournalRequest) GetMasterAlias

func (*PopulateReparentJournalRequest) ProtoMessage

func (*PopulateReparentJournalRequest) ProtoMessage()

func (*PopulateReparentJournalRequest) Reset

func (m *PopulateReparentJournalRequest) Reset()

func (*PopulateReparentJournalRequest) String

type PopulateReparentJournalResponse

type PopulateReparentJournalResponse struct {
}

func (*PopulateReparentJournalResponse) ProtoMessage

func (*PopulateReparentJournalResponse) ProtoMessage()

func (*PopulateReparentJournalResponse) Reset

func (*PopulateReparentJournalResponse) String

type PreflightSchemaRequest

type PreflightSchemaRequest struct {
	Change string `protobuf:"bytes,1,opt,name=change" json:"change,omitempty"`
}

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 {
	BeforeSchema *SchemaDefinition `protobuf:"bytes,1,opt,name=before_schema" json:"before_schema,omitempty"`
	AfterSchema  *SchemaDefinition `protobuf:"bytes,2,opt,name=after_schema" json:"after_schema,omitempty"`
}

func (*PreflightSchemaResponse) GetAfterSchema

func (m *PreflightSchemaResponse) GetAfterSchema() *SchemaDefinition

func (*PreflightSchemaResponse) GetBeforeSchema

func (m *PreflightSchemaResponse) GetBeforeSchema() *SchemaDefinition

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) 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) 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) 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) ProtoMessage

func (*PromoteSlaveWhenCaughtUpResponse) ProtoMessage()

func (*PromoteSlaveWhenCaughtUpResponse) Reset

func (*PromoteSlaveWhenCaughtUpResponse) String

type RefreshStateRequest

type RefreshStateRequest struct {
}

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) ProtoMessage

func (*RefreshStateResponse) ProtoMessage()

func (*RefreshStateResponse) Reset

func (m *RefreshStateResponse) Reset()

func (*RefreshStateResponse) String

func (m *RefreshStateResponse) String() string

type ReloadSchemaRequest

type ReloadSchemaRequest struct {
}

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) 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) 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) ProtoMessage

func (*ResetReplicationResponse) ProtoMessage()

func (*ResetReplicationResponse) Reset

func (m *ResetReplicationResponse) Reset()

func (*ResetReplicationResponse) String

func (m *ResetReplicationResponse) String() string

type RunBlpUntilRequest

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

func (*RunBlpUntilRequest) GetBlpPositions

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

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) ProtoMessage

func (*RunBlpUntilResponse) ProtoMessage()

func (*RunBlpUntilResponse) Reset

func (m *RunBlpUntilResponse) Reset()

func (*RunBlpUntilResponse) String

func (m *RunBlpUntilResponse) String() string

type RunHealthCheckRequest

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

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) ProtoMessage

func (*RunHealthCheckResponse) ProtoMessage()

func (*RunHealthCheckResponse) Reset

func (m *RunHealthCheckResponse) Reset()

func (*RunHealthCheckResponse) String

func (m *RunHealthCheckResponse) String() string

type SchemaDefinition

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

func (*SchemaDefinition) GetTableDefinitions

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

func (*SchemaDefinition) ProtoMessage

func (*SchemaDefinition) ProtoMessage()

func (*SchemaDefinition) Reset

func (m *SchemaDefinition) Reset()

func (*SchemaDefinition) String

func (m *SchemaDefinition) String() string

type ScrapRequest

type ScrapRequest struct {
}

func (*ScrapRequest) ProtoMessage

func (*ScrapRequest) ProtoMessage()

func (*ScrapRequest) Reset

func (m *ScrapRequest) Reset()

func (*ScrapRequest) String

func (m *ScrapRequest) String() string

type ScrapResponse

type ScrapResponse struct {
}

func (*ScrapResponse) ProtoMessage

func (*ScrapResponse) ProtoMessage()

func (*ScrapResponse) Reset

func (m *ScrapResponse) Reset()

func (*ScrapResponse) String

func (m *ScrapResponse) 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:"time_created_ns,omitempty"`
	ForceStartSlave bool                  `protobuf:"varint,3,opt,name=force_start_slave" json:"force_start_slave,omitempty"`
}

func (*SetMasterRequest) GetParent

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

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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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:"blp_positions,omitempty"`
}

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) 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) 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:"wait_timeout,omitempty"`
}

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) 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) 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) 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:"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:"data_length,omitempty"`
	// approximate number of rows
	RowCount uint64 `protobuf:"varint,7,opt,name=row_count" json:"row_count,omitempty"`
}

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) ProtoMessage

func (*TabletExternallyElectedRequest) ProtoMessage()

func (*TabletExternallyElectedRequest) Reset

func (m *TabletExternallyElectedRequest) Reset()

func (*TabletExternallyElectedRequest) String

type TabletExternallyElectedResponse

type TabletExternallyElectedResponse struct {
}

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:"external_id,omitempty"`
}

func (*TabletExternallyReparentedRequest) ProtoMessage

func (*TabletExternallyReparentedRequest) ProtoMessage()

func (*TabletExternallyReparentedRequest) Reset

func (*TabletExternallyReparentedRequest) String

type TabletExternallyReparentedResponse

type TabletExternallyReparentedResponse struct {
}

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:"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) GetPrivileges

func (m *UserPermission) GetPrivileges() map[string]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:"blp_position,omitempty"`
	WaitTimeout int64        `protobuf:"varint,2,opt,name=wait_timeout" json:"wait_timeout,omitempty"`
}

func (*WaitBlpPositionRequest) GetBlpPosition

func (m *WaitBlpPositionRequest) GetBlpPosition() *BlpPosition

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) 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