Documentation ¶
Index ¶
- Variables
- type CellInfo
- func (*CellInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CellInfo) GetRoot() string
- func (x *CellInfo) GetServerAddress() string
- func (m *CellInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CellInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *CellInfo) MarshalVT() (dAtA []byte, err error)
- func (*CellInfo) ProtoMessage()
- func (x *CellInfo) ProtoReflect() protoreflect.Message
- func (x *CellInfo) Reset()
- func (m *CellInfo) SizeVT() (n int)
- func (x *CellInfo) String() string
- func (m *CellInfo) UnmarshalVT(dAtA []byte) error
- type CellsAlias
- func (*CellsAlias) Descriptor() ([]byte, []int)deprecated
- func (x *CellsAlias) GetCells() []string
- func (m *CellsAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CellsAlias) MarshalToVT(dAtA []byte) (int, error)
- func (m *CellsAlias) MarshalVT() (dAtA []byte, err error)
- func (*CellsAlias) ProtoMessage()
- func (x *CellsAlias) ProtoReflect() protoreflect.Message
- func (x *CellsAlias) Reset()
- func (m *CellsAlias) SizeVT() (n int)
- func (x *CellsAlias) String() string
- func (m *CellsAlias) UnmarshalVT(dAtA []byte) error
- type ExternalClusters
- func (*ExternalClusters) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalClusters) GetVitessCluster() []*ExternalVitessCluster
- func (m *ExternalClusters) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExternalClusters) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExternalClusters) MarshalVT() (dAtA []byte, err error)
- func (*ExternalClusters) ProtoMessage()
- func (x *ExternalClusters) ProtoReflect() protoreflect.Message
- func (x *ExternalClusters) Reset()
- func (m *ExternalClusters) SizeVT() (n int)
- func (x *ExternalClusters) String() string
- func (m *ExternalClusters) UnmarshalVT(dAtA []byte) error
- type ExternalVitessCluster
- func (*ExternalVitessCluster) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVitessCluster) GetTopoConfig() *TopoConfig
- func (m *ExternalVitessCluster) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExternalVitessCluster) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExternalVitessCluster) MarshalVT() (dAtA []byte, err error)
- func (*ExternalVitessCluster) ProtoMessage()
- func (x *ExternalVitessCluster) ProtoReflect() protoreflect.Message
- func (x *ExternalVitessCluster) Reset()
- func (m *ExternalVitessCluster) SizeVT() (n int)
- func (x *ExternalVitessCluster) String() string
- func (m *ExternalVitessCluster) UnmarshalVT(dAtA []byte) error
- type KeyRange
- func (cached *KeyRange) CachedSize(alloc bool) int64
- func (*KeyRange) Descriptor() ([]byte, []int)deprecated
- func (x *KeyRange) GetEnd() []byte
- func (x *KeyRange) GetStart() []byte
- func (m *KeyRange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyRange) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyRange) MarshalVT() (dAtA []byte, err error)
- func (*KeyRange) ProtoMessage()
- func (x *KeyRange) ProtoReflect() protoreflect.Message
- func (x *KeyRange) Reset()
- func (m *KeyRange) SizeVT() (n int)
- func (x *KeyRange) String() string
- func (m *KeyRange) UnmarshalVT(dAtA []byte) error
- type Keyspace
- func (*Keyspace) Descriptor() ([]byte, []int)deprecated
- func (x *Keyspace) GetBaseKeyspace() string
- func (x *Keyspace) GetDurabilityPolicy() string
- func (x *Keyspace) GetKeyspaceType() KeyspaceType
- func (x *Keyspace) GetServedFroms() []*Keyspace_ServedFrom
- func (x *Keyspace) GetSnapshotTime() *vttime.Time
- func (m *Keyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Keyspace) MarshalToVT(dAtA []byte) (int, error)
- func (m *Keyspace) MarshalVT() (dAtA []byte, err error)
- func (*Keyspace) ProtoMessage()
- func (x *Keyspace) ProtoReflect() protoreflect.Message
- func (x *Keyspace) Reset()
- func (m *Keyspace) SizeVT() (n int)
- func (x *Keyspace) String() string
- func (m *Keyspace) UnmarshalVT(dAtA []byte) error
- type KeyspaceType
- func (KeyspaceType) Descriptor() protoreflect.EnumDescriptor
- func (x KeyspaceType) Enum() *KeyspaceType
- func (KeyspaceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeyspaceType) Number() protoreflect.EnumNumber
- func (x KeyspaceType) String() string
- func (KeyspaceType) Type() protoreflect.EnumType
- type Keyspace_ServedFrom
- func (*Keyspace_ServedFrom) Descriptor() ([]byte, []int)deprecated
- func (x *Keyspace_ServedFrom) GetCells() []string
- func (x *Keyspace_ServedFrom) GetKeyspace() string
- func (x *Keyspace_ServedFrom) GetTabletType() TabletType
- func (m *Keyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Keyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error)
- func (m *Keyspace_ServedFrom) MarshalVT() (dAtA []byte, err error)
- func (*Keyspace_ServedFrom) ProtoMessage()
- func (x *Keyspace_ServedFrom) ProtoReflect() protoreflect.Message
- func (x *Keyspace_ServedFrom) Reset()
- func (m *Keyspace_ServedFrom) SizeVT() (n int)
- func (x *Keyspace_ServedFrom) String() string
- func (m *Keyspace_ServedFrom) UnmarshalVT(dAtA []byte) error
- type Shard
- func (*Shard) Descriptor() ([]byte, []int)deprecated
- func (x *Shard) GetIsPrimaryServing() bool
- func (x *Shard) GetKeyRange() *KeyRange
- func (x *Shard) GetPrimaryAlias() *TabletAlias
- func (x *Shard) GetPrimaryTermStartTime() *vttime.Time
- func (x *Shard) GetSourceShards() []*Shard_SourceShard
- func (x *Shard) GetTabletControls() []*Shard_TabletControl
- func (m *Shard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Shard) MarshalToVT(dAtA []byte) (int, error)
- func (m *Shard) MarshalVT() (dAtA []byte, err error)
- func (*Shard) ProtoMessage()
- func (x *Shard) ProtoReflect() protoreflect.Message
- func (x *Shard) Reset()
- func (m *Shard) SizeVT() (n int)
- func (x *Shard) String() string
- func (m *Shard) UnmarshalVT(dAtA []byte) error
- type ShardReference
- func (*ShardReference) Descriptor() ([]byte, []int)deprecated
- func (x *ShardReference) GetKeyRange() *KeyRange
- func (x *ShardReference) GetName() string
- func (m *ShardReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardReference) MarshalVT() (dAtA []byte, err error)
- func (*ShardReference) ProtoMessage()
- func (x *ShardReference) ProtoReflect() protoreflect.Message
- func (x *ShardReference) Reset()
- func (m *ShardReference) SizeVT() (n int)
- func (x *ShardReference) String() string
- func (m *ShardReference) UnmarshalVT(dAtA []byte) error
- type ShardReplication
- func (*ShardReplication) Descriptor() ([]byte, []int)deprecated
- func (x *ShardReplication) GetNodes() []*ShardReplication_Node
- func (m *ShardReplication) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardReplication) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardReplication) MarshalVT() (dAtA []byte, err error)
- func (*ShardReplication) ProtoMessage()
- func (x *ShardReplication) ProtoReflect() protoreflect.Message
- func (x *ShardReplication) Reset()
- func (m *ShardReplication) SizeVT() (n int)
- func (x *ShardReplication) String() string
- func (m *ShardReplication) UnmarshalVT(dAtA []byte) error
- type ShardReplicationError
- func (*ShardReplicationError) Descriptor() ([]byte, []int)deprecated
- func (x *ShardReplicationError) GetTabletAlias() *TabletAlias
- func (x *ShardReplicationError) GetType() ShardReplicationError_Type
- func (m *ShardReplicationError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardReplicationError) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardReplicationError) MarshalVT() (dAtA []byte, err error)
- func (*ShardReplicationError) ProtoMessage()
- func (x *ShardReplicationError) ProtoReflect() protoreflect.Message
- func (x *ShardReplicationError) Reset()
- func (m *ShardReplicationError) SizeVT() (n int)
- func (x *ShardReplicationError) String() string
- func (m *ShardReplicationError) UnmarshalVT(dAtA []byte) error
- type ShardReplicationError_Type
- func (ShardReplicationError_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ShardReplicationError_Type) Enum() *ShardReplicationError_Type
- func (ShardReplicationError_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ShardReplicationError_Type) Number() protoreflect.EnumNumber
- func (x ShardReplicationError_Type) String() string
- func (ShardReplicationError_Type) Type() protoreflect.EnumType
- type ShardReplication_Node
- func (*ShardReplication_Node) Descriptor() ([]byte, []int)deprecated
- func (x *ShardReplication_Node) GetTabletAlias() *TabletAlias
- func (m *ShardReplication_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardReplication_Node) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardReplication_Node) MarshalVT() (dAtA []byte, err error)
- func (*ShardReplication_Node) ProtoMessage()
- func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message
- func (x *ShardReplication_Node) Reset()
- func (m *ShardReplication_Node) SizeVT() (n int)
- func (x *ShardReplication_Node) String() string
- func (m *ShardReplication_Node) UnmarshalVT(dAtA []byte) error
- type ShardTabletControl
- func (*ShardTabletControl) Descriptor() ([]byte, []int)deprecated
- func (x *ShardTabletControl) GetKeyRange() *KeyRange
- func (x *ShardTabletControl) GetName() string
- func (x *ShardTabletControl) GetQueryServiceDisabled() bool
- func (m *ShardTabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardTabletControl) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardTabletControl) MarshalVT() (dAtA []byte, err error)
- func (*ShardTabletControl) ProtoMessage()
- func (x *ShardTabletControl) ProtoReflect() protoreflect.Message
- func (x *ShardTabletControl) Reset()
- func (m *ShardTabletControl) SizeVT() (n int)
- func (x *ShardTabletControl) String() string
- func (m *ShardTabletControl) UnmarshalVT(dAtA []byte) error
- type Shard_SourceShard
- func (*Shard_SourceShard) Descriptor() ([]byte, []int)deprecated
- func (x *Shard_SourceShard) GetKeyRange() *KeyRange
- func (x *Shard_SourceShard) GetKeyspace() string
- func (x *Shard_SourceShard) GetShard() string
- func (x *Shard_SourceShard) GetTables() []string
- func (x *Shard_SourceShard) GetUid() uint32
- func (m *Shard_SourceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Shard_SourceShard) MarshalToVT(dAtA []byte) (int, error)
- func (m *Shard_SourceShard) MarshalVT() (dAtA []byte, err error)
- func (*Shard_SourceShard) ProtoMessage()
- func (x *Shard_SourceShard) ProtoReflect() protoreflect.Message
- func (x *Shard_SourceShard) Reset()
- func (m *Shard_SourceShard) SizeVT() (n int)
- func (x *Shard_SourceShard) String() string
- func (m *Shard_SourceShard) UnmarshalVT(dAtA []byte) error
- type Shard_TabletControl
- func (*Shard_TabletControl) Descriptor() ([]byte, []int)deprecated
- func (x *Shard_TabletControl) GetCells() []string
- func (x *Shard_TabletControl) GetDeniedTables() []string
- func (x *Shard_TabletControl) GetFrozen() bool
- func (x *Shard_TabletControl) GetTabletType() TabletType
- func (m *Shard_TabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Shard_TabletControl) MarshalToVT(dAtA []byte) (int, error)
- func (m *Shard_TabletControl) MarshalVT() (dAtA []byte, err error)
- func (*Shard_TabletControl) ProtoMessage()
- func (x *Shard_TabletControl) ProtoReflect() protoreflect.Message
- func (x *Shard_TabletControl) Reset()
- func (m *Shard_TabletControl) SizeVT() (n int)
- func (x *Shard_TabletControl) String() string
- func (m *Shard_TabletControl) UnmarshalVT(dAtA []byte) error
- type SrvKeyspace
- func (*SrvKeyspace) Descriptor() ([]byte, []int)deprecated
- func (x *SrvKeyspace) GetPartitions() []*SrvKeyspace_KeyspacePartition
- func (x *SrvKeyspace) GetServedFrom() []*SrvKeyspace_ServedFrom
- func (m *SrvKeyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace) MarshalToVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace) MarshalVT() (dAtA []byte, err error)
- func (*SrvKeyspace) ProtoMessage()
- func (x *SrvKeyspace) ProtoReflect() protoreflect.Message
- func (x *SrvKeyspace) Reset()
- func (m *SrvKeyspace) SizeVT() (n int)
- func (x *SrvKeyspace) String() string
- func (m *SrvKeyspace) UnmarshalVT(dAtA []byte) error
- type SrvKeyspace_KeyspacePartition
- func (*SrvKeyspace_KeyspacePartition) Descriptor() ([]byte, []int)deprecated
- func (x *SrvKeyspace_KeyspacePartition) GetServedType() TabletType
- func (x *SrvKeyspace_KeyspacePartition) GetShardReferences() []*ShardReference
- func (x *SrvKeyspace_KeyspacePartition) GetShardTabletControls() []*ShardTabletControl
- func (m *SrvKeyspace_KeyspacePartition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace_KeyspacePartition) MarshalToVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace_KeyspacePartition) MarshalVT() (dAtA []byte, err error)
- func (*SrvKeyspace_KeyspacePartition) ProtoMessage()
- func (x *SrvKeyspace_KeyspacePartition) ProtoReflect() protoreflect.Message
- func (x *SrvKeyspace_KeyspacePartition) Reset()
- func (m *SrvKeyspace_KeyspacePartition) SizeVT() (n int)
- func (x *SrvKeyspace_KeyspacePartition) String() string
- func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error
- type SrvKeyspace_ServedFrom
- func (*SrvKeyspace_ServedFrom) Descriptor() ([]byte, []int)deprecated
- func (x *SrvKeyspace_ServedFrom) GetKeyspace() string
- func (x *SrvKeyspace_ServedFrom) GetTabletType() TabletType
- func (m *SrvKeyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error)
- func (m *SrvKeyspace_ServedFrom) MarshalVT() (dAtA []byte, err error)
- func (*SrvKeyspace_ServedFrom) ProtoMessage()
- func (x *SrvKeyspace_ServedFrom) ProtoReflect() protoreflect.Message
- func (x *SrvKeyspace_ServedFrom) Reset()
- func (m *SrvKeyspace_ServedFrom) SizeVT() (n int)
- func (x *SrvKeyspace_ServedFrom) String() string
- func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error
- type Tablet
- func (*Tablet) Descriptor() ([]byte, []int)deprecated
- func (x *Tablet) GetAlias() *TabletAlias
- func (x *Tablet) GetDbNameOverride() string
- func (x *Tablet) GetDbServerVersion() string
- func (x *Tablet) GetDefaultConnCollation() uint32
- func (x *Tablet) GetHostname() string
- func (x *Tablet) GetKeyRange() *KeyRange
- func (x *Tablet) GetKeyspace() string
- func (x *Tablet) GetMysqlHostname() string
- func (x *Tablet) GetMysqlPort() int32
- func (x *Tablet) GetPortMap() map[string]int32
- func (x *Tablet) GetPrimaryTermStartTime() *vttime.Time
- func (x *Tablet) GetShard() string
- func (x *Tablet) GetTags() map[string]string
- func (x *Tablet) GetType() TabletType
- func (m *Tablet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tablet) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tablet) MarshalVT() (dAtA []byte, err error)
- func (*Tablet) ProtoMessage()
- func (x *Tablet) ProtoReflect() protoreflect.Message
- func (x *Tablet) Reset()
- func (m *Tablet) SizeVT() (n int)
- func (x *Tablet) String() string
- func (m *Tablet) UnmarshalVT(dAtA []byte) error
- type TabletAlias
- func (*TabletAlias) Descriptor() ([]byte, []int)deprecated
- func (x *TabletAlias) GetCell() string
- func (x *TabletAlias) GetUid() uint32
- func (m *TabletAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TabletAlias) MarshalToVT(dAtA []byte) (int, error)
- func (m *TabletAlias) MarshalVT() (dAtA []byte, err error)
- func (*TabletAlias) ProtoMessage()
- func (x *TabletAlias) ProtoReflect() protoreflect.Message
- func (x *TabletAlias) Reset()
- func (m *TabletAlias) SizeVT() (n int)
- func (x *TabletAlias) String() string
- func (m *TabletAlias) UnmarshalVT(dAtA []byte) error
- type TabletType
- type TopoConfig
- func (*TopoConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TopoConfig) GetRoot() string
- func (x *TopoConfig) GetServer() string
- func (x *TopoConfig) GetTopoType() string
- func (m *TopoConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TopoConfig) MarshalToVT(dAtA []byte) (int, error)
- func (m *TopoConfig) MarshalVT() (dAtA []byte, err error)
- func (*TopoConfig) ProtoMessage()
- func (x *TopoConfig) ProtoReflect() protoreflect.Message
- func (x *TopoConfig) Reset()
- func (m *TopoConfig) SizeVT() (n int)
- func (x *TopoConfig) String() string
- func (m *TopoConfig) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( KeyspaceType_name = map[int32]string{ 0: "NORMAL", 1: "SNAPSHOT", } KeyspaceType_value = map[string]int32{ "NORMAL": 0, "SNAPSHOT": 1, } )
Enum value maps for KeyspaceType.
var ( TabletType_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIMARY", 2: "REPLICA", 3: "RDONLY", 4: "SPARE", 5: "EXPERIMENTAL", 6: "BACKUP", 7: "RESTORE", 8: "DRAINED", } TabletType_value = map[string]int32{ "UNKNOWN": 0, "PRIMARY": 1, "MASTER": 1, "REPLICA": 2, "RDONLY": 3, "BATCH": 3, "SPARE": 4, "EXPERIMENTAL": 5, "BACKUP": 6, "RESTORE": 7, "DRAINED": 8, } )
Enum value maps for TabletType.
var ( ShardReplicationError_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "NOT_FOUND", 2: "TOPOLOGY_MISMATCH", } ShardReplicationError_Type_value = map[string]int32{ "UNKNOWN": 0, "NOT_FOUND": 1, "TOPOLOGY_MISMATCH": 2, } )
Enum value maps for ShardReplicationError_Type.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_topodata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CellInfo ¶
type CellInfo struct { // ServerAddress contains the address of the server for the cell. // The syntax of this field is topology implementation specific. // For instance, for Zookeeper, it is a comma-separated list of // server addresses. ServerAddress string `protobuf:"bytes,1,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"` // Root is the path to store data in. It is only used when talking // to server_address. Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
CellInfo contains information about a cell. CellInfo objects are stored in the global topology server, and describe how to reach local topology servers.
func (*CellInfo) Descriptor
deprecated
func (*CellInfo) GetServerAddress ¶
func (*CellInfo) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*CellInfo) MarshalToVT ¶ added in v0.11.0
func (*CellInfo) ProtoMessage ¶
func (*CellInfo) ProtoMessage()
func (*CellInfo) ProtoReflect ¶ added in v0.11.0
func (x *CellInfo) ProtoReflect() protoreflect.Message
func (*CellInfo) UnmarshalVT ¶ added in v0.11.0
type CellsAlias ¶
type CellsAlias struct { // Cells that map to this alias Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` // contains filtered or unexported fields }
CellsAlias
func (*CellsAlias) Descriptor
deprecated
func (*CellsAlias) Descriptor() ([]byte, []int)
Deprecated: Use CellsAlias.ProtoReflect.Descriptor instead.
func (*CellsAlias) GetCells ¶
func (x *CellsAlias) GetCells() []string
func (*CellsAlias) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CellsAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CellsAlias) MarshalToVT ¶ added in v0.11.0
func (m *CellsAlias) MarshalToVT(dAtA []byte) (int, error)
func (*CellsAlias) MarshalVT ¶ added in v0.11.0
func (m *CellsAlias) MarshalVT() (dAtA []byte, err error)
func (*CellsAlias) ProtoMessage ¶
func (*CellsAlias) ProtoMessage()
func (*CellsAlias) ProtoReflect ¶ added in v0.11.0
func (x *CellsAlias) ProtoReflect() protoreflect.Message
func (*CellsAlias) Reset ¶
func (x *CellsAlias) Reset()
func (*CellsAlias) SizeVT ¶ added in v0.11.0
func (m *CellsAlias) SizeVT() (n int)
func (*CellsAlias) String ¶
func (x *CellsAlias) String() string
func (*CellsAlias) UnmarshalVT ¶ added in v0.11.0
func (m *CellsAlias) UnmarshalVT(dAtA []byte) error
type ExternalClusters ¶ added in v0.10.0
type ExternalClusters struct { VitessCluster []*ExternalVitessCluster `protobuf:"bytes,1,rep,name=vitess_cluster,json=vitessCluster,proto3" json:"vitess_cluster,omitempty"` // contains filtered or unexported fields }
ExternalClusters
func (*ExternalClusters) Descriptor
deprecated
added in
v0.10.0
func (*ExternalClusters) Descriptor() ([]byte, []int)
Deprecated: Use ExternalClusters.ProtoReflect.Descriptor instead.
func (*ExternalClusters) GetVitessCluster ¶ added in v0.10.0
func (x *ExternalClusters) GetVitessCluster() []*ExternalVitessCluster
func (*ExternalClusters) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ExternalClusters) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExternalClusters) MarshalToVT ¶ added in v0.11.0
func (m *ExternalClusters) MarshalToVT(dAtA []byte) (int, error)
func (*ExternalClusters) MarshalVT ¶ added in v0.11.0
func (m *ExternalClusters) MarshalVT() (dAtA []byte, err error)
func (*ExternalClusters) ProtoMessage ¶ added in v0.10.0
func (*ExternalClusters) ProtoMessage()
func (*ExternalClusters) ProtoReflect ¶ added in v0.11.0
func (x *ExternalClusters) ProtoReflect() protoreflect.Message
func (*ExternalClusters) Reset ¶ added in v0.10.0
func (x *ExternalClusters) Reset()
func (*ExternalClusters) SizeVT ¶ added in v0.11.0
func (m *ExternalClusters) SizeVT() (n int)
func (*ExternalClusters) String ¶ added in v0.10.0
func (x *ExternalClusters) String() string
func (*ExternalClusters) UnmarshalVT ¶ added in v0.11.0
func (m *ExternalClusters) UnmarshalVT(dAtA []byte) error
type ExternalVitessCluster ¶ added in v0.10.0
type ExternalVitessCluster struct { TopoConfig *TopoConfig `protobuf:"bytes,1,opt,name=topo_config,json=topoConfig,proto3" json:"topo_config,omitempty"` // contains filtered or unexported fields }
func (*ExternalVitessCluster) Descriptor
deprecated
added in
v0.10.0
func (*ExternalVitessCluster) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVitessCluster.ProtoReflect.Descriptor instead.
func (*ExternalVitessCluster) GetTopoConfig ¶ added in v0.10.0
func (x *ExternalVitessCluster) GetTopoConfig() *TopoConfig
func (*ExternalVitessCluster) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ExternalVitessCluster) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExternalVitessCluster) MarshalToVT ¶ added in v0.11.0
func (m *ExternalVitessCluster) MarshalToVT(dAtA []byte) (int, error)
func (*ExternalVitessCluster) MarshalVT ¶ added in v0.11.0
func (m *ExternalVitessCluster) MarshalVT() (dAtA []byte, err error)
func (*ExternalVitessCluster) ProtoMessage ¶ added in v0.10.0
func (*ExternalVitessCluster) ProtoMessage()
func (*ExternalVitessCluster) ProtoReflect ¶ added in v0.11.0
func (x *ExternalVitessCluster) ProtoReflect() protoreflect.Message
func (*ExternalVitessCluster) Reset ¶ added in v0.10.0
func (x *ExternalVitessCluster) Reset()
func (*ExternalVitessCluster) SizeVT ¶ added in v0.11.0
func (m *ExternalVitessCluster) SizeVT() (n int)
func (*ExternalVitessCluster) String ¶ added in v0.10.0
func (x *ExternalVitessCluster) String() string
func (*ExternalVitessCluster) UnmarshalVT ¶ added in v0.11.0
func (m *ExternalVitessCluster) UnmarshalVT(dAtA []byte) error
type KeyRange ¶
type KeyRange struct { Start []byte `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End []byte `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
KeyRange describes a range of sharding keys, when range-based sharding is used.
func (*KeyRange) CachedSize ¶ added in v0.10.0
func (*KeyRange) Descriptor
deprecated
func (*KeyRange) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*KeyRange) MarshalToVT ¶ added in v0.11.0
func (*KeyRange) ProtoMessage ¶
func (*KeyRange) ProtoMessage()
func (*KeyRange) ProtoReflect ¶ added in v0.11.0
func (x *KeyRange) ProtoReflect() protoreflect.Message
func (*KeyRange) UnmarshalVT ¶ added in v0.11.0
type Keyspace ¶
type Keyspace struct { // ServedFrom will redirect the appropriate traffic to // another keyspace. ServedFroms []*Keyspace_ServedFrom `protobuf:"bytes,4,rep,name=served_froms,json=servedFroms,proto3" json:"served_froms,omitempty"` // keyspace_type will determine how this keyspace is treated by // vtgate / vschema. Normal keyspaces are routable by // any query. Snapshot keyspaces are only accessible // by explicit addresssing or by calling "use keyspace" first KeyspaceType KeyspaceType `protobuf:"varint,5,opt,name=keyspace_type,json=keyspaceType,proto3,enum=topodata.KeyspaceType" json:"keyspace_type,omitempty"` // base_keyspace is the base keyspace from which a snapshot // keyspace is created. empty for normal keyspaces BaseKeyspace string `protobuf:"bytes,6,opt,name=base_keyspace,json=baseKeyspace,proto3" json:"base_keyspace,omitempty"` // snapshot_time (in UTC) is a property of snapshot // keyspaces which tells us what point in time // the snapshot is of SnapshotTime *vttime.Time `protobuf:"bytes,7,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // DurabilityPolicy is the durability policy to be // used for the keyspace. DurabilityPolicy string `protobuf:"bytes,8,opt,name=durability_policy,json=durabilityPolicy,proto3" json:"durability_policy,omitempty"` // contains filtered or unexported fields }
A Keyspace contains data about a keyspace.
func (*Keyspace) Descriptor
deprecated
func (*Keyspace) GetBaseKeyspace ¶
func (*Keyspace) GetDurabilityPolicy ¶ added in v0.14.0
func (*Keyspace) GetKeyspaceType ¶
func (x *Keyspace) GetKeyspaceType() KeyspaceType
func (*Keyspace) GetServedFroms ¶
func (x *Keyspace) GetServedFroms() []*Keyspace_ServedFrom
func (*Keyspace) GetSnapshotTime ¶
func (*Keyspace) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Keyspace) MarshalToVT ¶ added in v0.11.0
func (*Keyspace) ProtoMessage ¶
func (*Keyspace) ProtoMessage()
func (*Keyspace) ProtoReflect ¶ added in v0.11.0
func (x *Keyspace) ProtoReflect() protoreflect.Message
func (*Keyspace) UnmarshalVT ¶ added in v0.11.0
type KeyspaceType ¶
type KeyspaceType int32
KeyspaceType describes the type of the keyspace
const ( // NORMAL is the default value KeyspaceType_NORMAL KeyspaceType = 0 // SNAPSHOT is when we are creating a snapshot keyspace KeyspaceType_SNAPSHOT KeyspaceType = 1 )
func (KeyspaceType) Descriptor ¶ added in v0.11.0
func (KeyspaceType) Descriptor() protoreflect.EnumDescriptor
func (KeyspaceType) Enum ¶ added in v0.11.0
func (x KeyspaceType) Enum() *KeyspaceType
func (KeyspaceType) EnumDescriptor
deprecated
func (KeyspaceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeyspaceType.Descriptor instead.
func (KeyspaceType) Number ¶ added in v0.11.0
func (x KeyspaceType) Number() protoreflect.EnumNumber
func (KeyspaceType) String ¶
func (x KeyspaceType) String() string
func (KeyspaceType) Type ¶ added in v0.11.0
func (KeyspaceType) Type() protoreflect.EnumType
type Keyspace_ServedFrom ¶
type Keyspace_ServedFrom struct { // the tablet type (key for the map) TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"` // the cells to limit this to Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` // the keyspace name that's serving it Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // contains filtered or unexported fields }
ServedFrom indicates a relationship between a TabletType and the keyspace name that's serving it.
func (*Keyspace_ServedFrom) Descriptor
deprecated
func (*Keyspace_ServedFrom) Descriptor() ([]byte, []int)
Deprecated: Use Keyspace_ServedFrom.ProtoReflect.Descriptor instead.
func (*Keyspace_ServedFrom) GetCells ¶
func (x *Keyspace_ServedFrom) GetCells() []string
func (*Keyspace_ServedFrom) GetKeyspace ¶
func (x *Keyspace_ServedFrom) GetKeyspace() string
func (*Keyspace_ServedFrom) GetTabletType ¶
func (x *Keyspace_ServedFrom) GetTabletType() TabletType
func (*Keyspace_ServedFrom) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *Keyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Keyspace_ServedFrom) MarshalToVT ¶ added in v0.11.0
func (m *Keyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error)
func (*Keyspace_ServedFrom) MarshalVT ¶ added in v0.11.0
func (m *Keyspace_ServedFrom) MarshalVT() (dAtA []byte, err error)
func (*Keyspace_ServedFrom) ProtoMessage ¶
func (*Keyspace_ServedFrom) ProtoMessage()
func (*Keyspace_ServedFrom) ProtoReflect ¶ added in v0.11.0
func (x *Keyspace_ServedFrom) ProtoReflect() protoreflect.Message
func (*Keyspace_ServedFrom) Reset ¶
func (x *Keyspace_ServedFrom) Reset()
func (*Keyspace_ServedFrom) SizeVT ¶ added in v0.11.0
func (m *Keyspace_ServedFrom) SizeVT() (n int)
func (*Keyspace_ServedFrom) String ¶
func (x *Keyspace_ServedFrom) String() string
func (*Keyspace_ServedFrom) UnmarshalVT ¶ added in v0.11.0
func (m *Keyspace_ServedFrom) UnmarshalVT(dAtA []byte) error
type Shard ¶
type Shard struct { // primary_alias is the tablet alias of the primary for the shard. // If it is unset, then there is no primary in this shard yet. // No lock is necessary to update this field, when for instance // TabletExternallyReparented updates this. However, we lock the // shard for reparenting operations (InitShardPrimary, // PlannedReparentShard,EmergencyReparentShard), to guarantee // exclusive operation. PrimaryAlias *TabletAlias `protobuf:"bytes,1,opt,name=primary_alias,json=primaryAlias,proto3" json:"primary_alias,omitempty"` // primary_term_start_time is the time (in UTC) at which the current term of // the primary specified in primary_alias began. // // A new primary term begins any time an authoritative decision is communicated // about which tablet should be the primary, such as via Vitess // replication-management commands like PlannedReparentShard, // EmergencyReparentShard, and TabletExternallyReparented. // // The primary_alias should only ever be changed if the new primary's term began // at a later time than this. Note that a new term can start for the tablet // that is already the primary. In that case, the primary_term_start_time would // be increased without changing the primary_alias. PrimaryTermStartTime *vttime.Time `protobuf:"bytes,8,opt,name=primary_term_start_time,json=primaryTermStartTime,proto3" json:"primary_term_start_time,omitempty"` // key_range is the KeyRange for this shard. It can be unset if: // - we are not using range-based sharding in this shard. // - the shard covers the entire keyrange. // This must match the shard name based on our other conventions, but // helpful to have it decomposed here. // Once set at creation time, it is never changed. KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // SourceShards is the list of shards we're replicating from, // using filtered replication. // The keyspace lock is always taken when changing this. SourceShards []*Shard_SourceShard `protobuf:"bytes,4,rep,name=source_shards,json=sourceShards,proto3" json:"source_shards,omitempty"` // tablet_controls has at most one entry per TabletType. // The keyspace lock is always taken when changing this. TabletControls []*Shard_TabletControl `protobuf:"bytes,6,rep,name=tablet_controls,json=tabletControls,proto3" json:"tablet_controls,omitempty"` // is_primary_serving sets whether this shard primary is serving traffic or not. // The keyspace lock is always taken when changing this. IsPrimaryServing bool `protobuf:"varint,7,opt,name=is_primary_serving,json=isPrimaryServing,proto3" json:"is_primary_serving,omitempty"` // contains filtered or unexported fields }
A Shard contains data about a subset of the data whithin a keyspace.
func (*Shard) Descriptor
deprecated
func (*Shard) GetIsPrimaryServing ¶ added in v0.12.0
func (*Shard) GetKeyRange ¶
func (*Shard) GetPrimaryAlias ¶ added in v0.12.0
func (x *Shard) GetPrimaryAlias() *TabletAlias
func (*Shard) GetPrimaryTermStartTime ¶ added in v0.12.0
func (*Shard) GetSourceShards ¶
func (x *Shard) GetSourceShards() []*Shard_SourceShard
func (*Shard) GetTabletControls ¶
func (x *Shard) GetTabletControls() []*Shard_TabletControl
func (*Shard) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Shard) ProtoMessage ¶
func (*Shard) ProtoMessage()
func (*Shard) ProtoReflect ¶ added in v0.11.0
func (x *Shard) ProtoReflect() protoreflect.Message
func (*Shard) UnmarshalVT ¶ added in v0.11.0
type ShardReference ¶
type ShardReference struct { // Copied from Shard. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // Disable query serving in this shard // contains filtered or unexported fields }
ShardReference is used as a pointer from a SrvKeyspace to a Shard
func (*ShardReference) Descriptor
deprecated
func (*ShardReference) Descriptor() ([]byte, []int)
Deprecated: Use ShardReference.ProtoReflect.Descriptor instead.
func (*ShardReference) GetKeyRange ¶
func (x *ShardReference) GetKeyRange() *KeyRange
func (*ShardReference) GetName ¶
func (x *ShardReference) GetName() string
func (*ShardReference) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ShardReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShardReference) MarshalToVT ¶ added in v0.11.0
func (m *ShardReference) MarshalToVT(dAtA []byte) (int, error)
func (*ShardReference) MarshalVT ¶ added in v0.11.0
func (m *ShardReference) MarshalVT() (dAtA []byte, err error)
func (*ShardReference) ProtoMessage ¶
func (*ShardReference) ProtoMessage()
func (*ShardReference) ProtoReflect ¶ added in v0.11.0
func (x *ShardReference) ProtoReflect() protoreflect.Message
func (*ShardReference) Reset ¶
func (x *ShardReference) Reset()
func (*ShardReference) SizeVT ¶ added in v0.11.0
func (m *ShardReference) SizeVT() (n int)
func (*ShardReference) String ¶
func (x *ShardReference) String() string
func (*ShardReference) UnmarshalVT ¶ added in v0.11.0
func (m *ShardReference) UnmarshalVT(dAtA []byte) error
type ShardReplication ¶
type ShardReplication struct { // Note there can be only one Node in this array // for a given tablet. Nodes []*ShardReplication_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
ShardReplication describes the MySQL replication relationships whithin a cell.
func (*ShardReplication) Descriptor
deprecated
func (*ShardReplication) Descriptor() ([]byte, []int)
Deprecated: Use ShardReplication.ProtoReflect.Descriptor instead.
func (*ShardReplication) GetNodes ¶
func (x *ShardReplication) GetNodes() []*ShardReplication_Node
func (*ShardReplication) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ShardReplication) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShardReplication) MarshalToVT ¶ added in v0.11.0
func (m *ShardReplication) MarshalToVT(dAtA []byte) (int, error)
func (*ShardReplication) MarshalVT ¶ added in v0.11.0
func (m *ShardReplication) MarshalVT() (dAtA []byte, err error)
func (*ShardReplication) ProtoMessage ¶
func (*ShardReplication) ProtoMessage()
func (*ShardReplication) ProtoReflect ¶ added in v0.11.0
func (x *ShardReplication) ProtoReflect() protoreflect.Message
func (*ShardReplication) Reset ¶
func (x *ShardReplication) Reset()
func (*ShardReplication) SizeVT ¶ added in v0.11.0
func (m *ShardReplication) SizeVT() (n int)
func (*ShardReplication) String ¶
func (x *ShardReplication) String() string
func (*ShardReplication) UnmarshalVT ¶ added in v0.11.0
func (m *ShardReplication) UnmarshalVT(dAtA []byte) error
type ShardReplicationError ¶ added in v0.14.0
type ShardReplicationError struct { // Type is the category of problem being fixed. Type ShardReplicationError_Type `protobuf:"varint,1,opt,name=type,proto3,enum=topodata.ShardReplicationError_Type" json:"type,omitempty"` // TabletAlias is the tablet record that has the problem. TabletAlias *TabletAlias `protobuf:"bytes,2,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // contains filtered or unexported fields }
ShardReplicationError describes the error being fixed by ShardReplicationFix.
func (*ShardReplicationError) Descriptor
deprecated
added in
v0.14.0
func (*ShardReplicationError) Descriptor() ([]byte, []int)
Deprecated: Use ShardReplicationError.ProtoReflect.Descriptor instead.
func (*ShardReplicationError) GetTabletAlias ¶ added in v0.14.0
func (x *ShardReplicationError) GetTabletAlias() *TabletAlias
func (*ShardReplicationError) GetType ¶ added in v0.14.0
func (x *ShardReplicationError) GetType() ShardReplicationError_Type
func (*ShardReplicationError) MarshalToSizedBufferVT ¶ added in v0.14.0
func (m *ShardReplicationError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShardReplicationError) MarshalToVT ¶ added in v0.14.0
func (m *ShardReplicationError) MarshalToVT(dAtA []byte) (int, error)
func (*ShardReplicationError) MarshalVT ¶ added in v0.14.0
func (m *ShardReplicationError) MarshalVT() (dAtA []byte, err error)
func (*ShardReplicationError) ProtoMessage ¶ added in v0.14.0
func (*ShardReplicationError) ProtoMessage()
func (*ShardReplicationError) ProtoReflect ¶ added in v0.14.0
func (x *ShardReplicationError) ProtoReflect() protoreflect.Message
func (*ShardReplicationError) Reset ¶ added in v0.14.0
func (x *ShardReplicationError) Reset()
func (*ShardReplicationError) SizeVT ¶ added in v0.14.0
func (m *ShardReplicationError) SizeVT() (n int)
func (*ShardReplicationError) String ¶ added in v0.14.0
func (x *ShardReplicationError) String() string
func (*ShardReplicationError) UnmarshalVT ¶ added in v0.14.0
func (m *ShardReplicationError) UnmarshalVT(dAtA []byte) error
type ShardReplicationError_Type ¶ added in v0.14.0
type ShardReplicationError_Type int32
const ( // UNKNOWN is not a valid value. ShardReplicationError_UNKNOWN ShardReplicationError_Type = 0 // NOT_FOUND occurs when a tablet is in the ShardReplication record // but does not exist in the topology. ShardReplicationError_NOT_FOUND ShardReplicationError_Type = 1 // TOPOLOGY_MISMATCH occurs when a tablet is in the replication graph and // exists in the topology, but at least one of the Keyspace, Shard, or Cell // fields for that tablet does not match the ShardReplication record. ShardReplicationError_TOPOLOGY_MISMATCH ShardReplicationError_Type = 2 )
func (ShardReplicationError_Type) Descriptor ¶ added in v0.14.0
func (ShardReplicationError_Type) Descriptor() protoreflect.EnumDescriptor
func (ShardReplicationError_Type) Enum ¶ added in v0.14.0
func (x ShardReplicationError_Type) Enum() *ShardReplicationError_Type
func (ShardReplicationError_Type) EnumDescriptor
deprecated
added in
v0.14.0
func (ShardReplicationError_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShardReplicationError_Type.Descriptor instead.
func (ShardReplicationError_Type) Number ¶ added in v0.14.0
func (x ShardReplicationError_Type) Number() protoreflect.EnumNumber
func (ShardReplicationError_Type) String ¶ added in v0.14.0
func (x ShardReplicationError_Type) String() string
func (ShardReplicationError_Type) Type ¶ added in v0.14.0
func (ShardReplicationError_Type) Type() protoreflect.EnumType
type ShardReplication_Node ¶
type ShardReplication_Node struct { TabletAlias *TabletAlias `protobuf:"bytes,1,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // contains filtered or unexported fields }
Node describes a tablet instance within the cell
func (*ShardReplication_Node) Descriptor
deprecated
func (*ShardReplication_Node) Descriptor() ([]byte, []int)
Deprecated: Use ShardReplication_Node.ProtoReflect.Descriptor instead.
func (*ShardReplication_Node) GetTabletAlias ¶
func (x *ShardReplication_Node) GetTabletAlias() *TabletAlias
func (*ShardReplication_Node) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ShardReplication_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShardReplication_Node) MarshalToVT ¶ added in v0.11.0
func (m *ShardReplication_Node) MarshalToVT(dAtA []byte) (int, error)
func (*ShardReplication_Node) MarshalVT ¶ added in v0.11.0
func (m *ShardReplication_Node) MarshalVT() (dAtA []byte, err error)
func (*ShardReplication_Node) ProtoMessage ¶
func (*ShardReplication_Node) ProtoMessage()
func (*ShardReplication_Node) ProtoReflect ¶ added in v0.11.0
func (x *ShardReplication_Node) ProtoReflect() protoreflect.Message
func (*ShardReplication_Node) Reset ¶
func (x *ShardReplication_Node) Reset()
func (*ShardReplication_Node) SizeVT ¶ added in v0.11.0
func (m *ShardReplication_Node) SizeVT() (n int)
func (*ShardReplication_Node) String ¶
func (x *ShardReplication_Node) String() string
func (*ShardReplication_Node) UnmarshalVT ¶ added in v0.11.0
func (m *ShardReplication_Node) UnmarshalVT(dAtA []byte) error
type ShardTabletControl ¶
type ShardTabletControl struct { // Copied from Shard. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` KeyRange *KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // Disable query serving in this shard QueryServiceDisabled bool `protobuf:"varint,3,opt,name=query_service_disabled,json=queryServiceDisabled,proto3" json:"query_service_disabled,omitempty"` // contains filtered or unexported fields }
ShardTabletControl is used as a pointer from a SrvKeyspace to a Shard
func (*ShardTabletControl) Descriptor
deprecated
func (*ShardTabletControl) Descriptor() ([]byte, []int)
Deprecated: Use ShardTabletControl.ProtoReflect.Descriptor instead.
func (*ShardTabletControl) GetKeyRange ¶
func (x *ShardTabletControl) GetKeyRange() *KeyRange
func (*ShardTabletControl) GetName ¶
func (x *ShardTabletControl) GetName() string
func (*ShardTabletControl) GetQueryServiceDisabled ¶
func (x *ShardTabletControl) GetQueryServiceDisabled() bool
func (*ShardTabletControl) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ShardTabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShardTabletControl) MarshalToVT ¶ added in v0.11.0
func (m *ShardTabletControl) MarshalToVT(dAtA []byte) (int, error)
func (*ShardTabletControl) MarshalVT ¶ added in v0.11.0
func (m *ShardTabletControl) MarshalVT() (dAtA []byte, err error)
func (*ShardTabletControl) ProtoMessage ¶
func (*ShardTabletControl) ProtoMessage()
func (*ShardTabletControl) ProtoReflect ¶ added in v0.11.0
func (x *ShardTabletControl) ProtoReflect() protoreflect.Message
func (*ShardTabletControl) Reset ¶
func (x *ShardTabletControl) Reset()
func (*ShardTabletControl) SizeVT ¶ added in v0.11.0
func (m *ShardTabletControl) SizeVT() (n int)
func (*ShardTabletControl) String ¶
func (x *ShardTabletControl) String() string
func (*ShardTabletControl) UnmarshalVT ¶ added in v0.11.0
func (m *ShardTabletControl) UnmarshalVT(dAtA []byte) error
type Shard_SourceShard ¶
type Shard_SourceShard struct { // Uid is the unique ID for this SourceShard object. Uid uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // the source keyspace Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // the source shard Shard string `protobuf:"bytes,3,opt,name=shard,proto3" json:"shard,omitempty"` // the source shard keyrange KeyRange *KeyRange `protobuf:"bytes,4,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // the source table list to replicate Tables []string `protobuf:"bytes,5,rep,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
SourceShard represents a data source for filtered replication across shards. When this is used in a destination shard, the primary of that shard will run filtered replication.
func (*Shard_SourceShard) Descriptor
deprecated
func (*Shard_SourceShard) Descriptor() ([]byte, []int)
Deprecated: Use Shard_SourceShard.ProtoReflect.Descriptor instead.
func (*Shard_SourceShard) GetKeyRange ¶
func (x *Shard_SourceShard) GetKeyRange() *KeyRange
func (*Shard_SourceShard) GetKeyspace ¶
func (x *Shard_SourceShard) GetKeyspace() string
func (*Shard_SourceShard) GetShard ¶
func (x *Shard_SourceShard) GetShard() string
func (*Shard_SourceShard) GetTables ¶
func (x *Shard_SourceShard) GetTables() []string
func (*Shard_SourceShard) GetUid ¶
func (x *Shard_SourceShard) GetUid() uint32
func (*Shard_SourceShard) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *Shard_SourceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Shard_SourceShard) MarshalToVT ¶ added in v0.11.0
func (m *Shard_SourceShard) MarshalToVT(dAtA []byte) (int, error)
func (*Shard_SourceShard) MarshalVT ¶ added in v0.11.0
func (m *Shard_SourceShard) MarshalVT() (dAtA []byte, err error)
func (*Shard_SourceShard) ProtoMessage ¶
func (*Shard_SourceShard) ProtoMessage()
func (*Shard_SourceShard) ProtoReflect ¶ added in v0.11.0
func (x *Shard_SourceShard) ProtoReflect() protoreflect.Message
func (*Shard_SourceShard) Reset ¶
func (x *Shard_SourceShard) Reset()
func (*Shard_SourceShard) SizeVT ¶ added in v0.11.0
func (m *Shard_SourceShard) SizeVT() (n int)
func (*Shard_SourceShard) String ¶
func (x *Shard_SourceShard) String() string
func (*Shard_SourceShard) UnmarshalVT ¶ added in v0.11.0
func (m *Shard_SourceShard) UnmarshalVT(dAtA []byte) error
type Shard_TabletControl ¶
type Shard_TabletControl struct { // which tablet type is affected TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"` Cells []string `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"` DeniedTables []string `protobuf:"bytes,4,rep,name=denied_tables,json=deniedTables,proto3" json:"denied_tables,omitempty"` // frozen is set if we've started failing over traffic for // the primary. If set, this record should not be removed. Frozen bool `protobuf:"varint,5,opt,name=frozen,proto3" json:"frozen,omitempty"` // contains filtered or unexported fields }
TabletControl controls tablet's behavior
func (*Shard_TabletControl) Descriptor
deprecated
func (*Shard_TabletControl) Descriptor() ([]byte, []int)
Deprecated: Use Shard_TabletControl.ProtoReflect.Descriptor instead.
func (*Shard_TabletControl) GetCells ¶
func (x *Shard_TabletControl) GetCells() []string
func (*Shard_TabletControl) GetDeniedTables ¶ added in v0.12.0
func (x *Shard_TabletControl) GetDeniedTables() []string
func (*Shard_TabletControl) GetFrozen ¶
func (x *Shard_TabletControl) GetFrozen() bool
func (*Shard_TabletControl) GetTabletType ¶
func (x *Shard_TabletControl) GetTabletType() TabletType
func (*Shard_TabletControl) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *Shard_TabletControl) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Shard_TabletControl) MarshalToVT ¶ added in v0.11.0
func (m *Shard_TabletControl) MarshalToVT(dAtA []byte) (int, error)
func (*Shard_TabletControl) MarshalVT ¶ added in v0.11.0
func (m *Shard_TabletControl) MarshalVT() (dAtA []byte, err error)
func (*Shard_TabletControl) ProtoMessage ¶
func (*Shard_TabletControl) ProtoMessage()
func (*Shard_TabletControl) ProtoReflect ¶ added in v0.11.0
func (x *Shard_TabletControl) ProtoReflect() protoreflect.Message
func (*Shard_TabletControl) Reset ¶
func (x *Shard_TabletControl) Reset()
func (*Shard_TabletControl) SizeVT ¶ added in v0.11.0
func (m *Shard_TabletControl) SizeVT() (n int)
func (*Shard_TabletControl) String ¶
func (x *Shard_TabletControl) String() string
func (*Shard_TabletControl) UnmarshalVT ¶ added in v0.11.0
func (m *Shard_TabletControl) UnmarshalVT(dAtA []byte) error
type SrvKeyspace ¶
type SrvKeyspace struct { // The partitions this keyspace is serving, per tablet type. Partitions []*SrvKeyspace_KeyspacePartition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"` ServedFrom []*SrvKeyspace_ServedFrom `protobuf:"bytes,4,rep,name=served_from,json=servedFrom,proto3" json:"served_from,omitempty"` // contains filtered or unexported fields }
SrvKeyspace is a rollup node for the keyspace itself.
func (*SrvKeyspace) Descriptor
deprecated
func (*SrvKeyspace) Descriptor() ([]byte, []int)
Deprecated: Use SrvKeyspace.ProtoReflect.Descriptor instead.
func (*SrvKeyspace) GetPartitions ¶
func (x *SrvKeyspace) GetPartitions() []*SrvKeyspace_KeyspacePartition
func (*SrvKeyspace) GetServedFrom ¶
func (x *SrvKeyspace) GetServedFrom() []*SrvKeyspace_ServedFrom
func (*SrvKeyspace) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *SrvKeyspace) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SrvKeyspace) MarshalToVT ¶ added in v0.11.0
func (m *SrvKeyspace) MarshalToVT(dAtA []byte) (int, error)
func (*SrvKeyspace) MarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace) MarshalVT() (dAtA []byte, err error)
func (*SrvKeyspace) ProtoMessage ¶
func (*SrvKeyspace) ProtoMessage()
func (*SrvKeyspace) ProtoReflect ¶ added in v0.11.0
func (x *SrvKeyspace) ProtoReflect() protoreflect.Message
func (*SrvKeyspace) Reset ¶
func (x *SrvKeyspace) Reset()
func (*SrvKeyspace) SizeVT ¶ added in v0.11.0
func (m *SrvKeyspace) SizeVT() (n int)
func (*SrvKeyspace) String ¶
func (x *SrvKeyspace) String() string
func (*SrvKeyspace) UnmarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace) UnmarshalVT(dAtA []byte) error
type SrvKeyspace_KeyspacePartition ¶
type SrvKeyspace_KeyspacePartition struct { // The type this partition applies to. ServedType TabletType `protobuf:"varint,1,opt,name=served_type,json=servedType,proto3,enum=topodata.TabletType" json:"served_type,omitempty"` // List of non-overlapping continuous shards sorted by range. ShardReferences []*ShardReference `protobuf:"bytes,2,rep,name=shard_references,json=shardReferences,proto3" json:"shard_references,omitempty"` // List of shard tablet controls ShardTabletControls []*ShardTabletControl `protobuf:"bytes,3,rep,name=shard_tablet_controls,json=shardTabletControls,proto3" json:"shard_tablet_controls,omitempty"` // contains filtered or unexported fields }
func (*SrvKeyspace_KeyspacePartition) Descriptor
deprecated
func (*SrvKeyspace_KeyspacePartition) Descriptor() ([]byte, []int)
Deprecated: Use SrvKeyspace_KeyspacePartition.ProtoReflect.Descriptor instead.
func (*SrvKeyspace_KeyspacePartition) GetServedType ¶
func (x *SrvKeyspace_KeyspacePartition) GetServedType() TabletType
func (*SrvKeyspace_KeyspacePartition) GetShardReferences ¶
func (x *SrvKeyspace_KeyspacePartition) GetShardReferences() []*ShardReference
func (*SrvKeyspace_KeyspacePartition) GetShardTabletControls ¶
func (x *SrvKeyspace_KeyspacePartition) GetShardTabletControls() []*ShardTabletControl
func (*SrvKeyspace_KeyspacePartition) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *SrvKeyspace_KeyspacePartition) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SrvKeyspace_KeyspacePartition) MarshalToVT ¶ added in v0.11.0
func (m *SrvKeyspace_KeyspacePartition) MarshalToVT(dAtA []byte) (int, error)
func (*SrvKeyspace_KeyspacePartition) MarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace_KeyspacePartition) MarshalVT() (dAtA []byte, err error)
func (*SrvKeyspace_KeyspacePartition) ProtoMessage ¶
func (*SrvKeyspace_KeyspacePartition) ProtoMessage()
func (*SrvKeyspace_KeyspacePartition) ProtoReflect ¶ added in v0.11.0
func (x *SrvKeyspace_KeyspacePartition) ProtoReflect() protoreflect.Message
func (*SrvKeyspace_KeyspacePartition) Reset ¶
func (x *SrvKeyspace_KeyspacePartition) Reset()
func (*SrvKeyspace_KeyspacePartition) SizeVT ¶ added in v0.11.0
func (m *SrvKeyspace_KeyspacePartition) SizeVT() (n int)
func (*SrvKeyspace_KeyspacePartition) String ¶
func (x *SrvKeyspace_KeyspacePartition) String() string
func (*SrvKeyspace_KeyspacePartition) UnmarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace_KeyspacePartition) UnmarshalVT(dAtA []byte) error
type SrvKeyspace_ServedFrom ¶
type SrvKeyspace_ServedFrom struct { // the tablet type TabletType TabletType `protobuf:"varint,1,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"` // the keyspace name that's serving it Keyspace string `protobuf:"bytes,2,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // contains filtered or unexported fields }
ServedFrom indicates a relationship between a TabletType and the keyspace name that's serving it.
func (*SrvKeyspace_ServedFrom) Descriptor
deprecated
func (*SrvKeyspace_ServedFrom) Descriptor() ([]byte, []int)
Deprecated: Use SrvKeyspace_ServedFrom.ProtoReflect.Descriptor instead.
func (*SrvKeyspace_ServedFrom) GetKeyspace ¶
func (x *SrvKeyspace_ServedFrom) GetKeyspace() string
func (*SrvKeyspace_ServedFrom) GetTabletType ¶
func (x *SrvKeyspace_ServedFrom) GetTabletType() TabletType
func (*SrvKeyspace_ServedFrom) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *SrvKeyspace_ServedFrom) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SrvKeyspace_ServedFrom) MarshalToVT ¶ added in v0.11.0
func (m *SrvKeyspace_ServedFrom) MarshalToVT(dAtA []byte) (int, error)
func (*SrvKeyspace_ServedFrom) MarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace_ServedFrom) MarshalVT() (dAtA []byte, err error)
func (*SrvKeyspace_ServedFrom) ProtoMessage ¶
func (*SrvKeyspace_ServedFrom) ProtoMessage()
func (*SrvKeyspace_ServedFrom) ProtoReflect ¶ added in v0.11.0
func (x *SrvKeyspace_ServedFrom) ProtoReflect() protoreflect.Message
func (*SrvKeyspace_ServedFrom) Reset ¶
func (x *SrvKeyspace_ServedFrom) Reset()
func (*SrvKeyspace_ServedFrom) SizeVT ¶ added in v0.11.0
func (m *SrvKeyspace_ServedFrom) SizeVT() (n int)
func (*SrvKeyspace_ServedFrom) String ¶
func (x *SrvKeyspace_ServedFrom) String() string
func (*SrvKeyspace_ServedFrom) UnmarshalVT ¶ added in v0.11.0
func (m *SrvKeyspace_ServedFrom) UnmarshalVT(dAtA []byte) error
type Tablet ¶
type Tablet struct { // alias is the unique name of the tablet. Alias *TabletAlias `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` // Fully qualified domain name of the host. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // Map of named ports. Normally this should include vt and grpc. // Going forward, the mysql port will be stored in mysql_port // instead of here. // For accessing mysql port, use topoproto.MysqlPort to fetch, and // topoproto.SetMysqlPort to set. These wrappers will ensure // legacy behavior is supported. PortMap map[string]int32 `` /* 171-byte string literal not displayed */ // Keyspace name. Keyspace string `protobuf:"bytes,5,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // Shard name. If range based sharding is used, it should match // key_range. Shard string `protobuf:"bytes,6,opt,name=shard,proto3" json:"shard,omitempty"` // If range based sharding is used, range for the tablet's shard. KeyRange *KeyRange `protobuf:"bytes,7,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // type is the current type of the tablet. Type TabletType `protobuf:"varint,8,opt,name=type,proto3,enum=topodata.TabletType" json:"type,omitempty"` // It this is set, it is used as the database name instead of the // normal "vt_" + keyspace. DbNameOverride string `protobuf:"bytes,9,opt,name=db_name_override,json=dbNameOverride,proto3" json:"db_name_override,omitempty"` // tablet tags Tags map[string]string `` /* 150-byte string literal not displayed */ // MySQL hostname. MysqlHostname string `protobuf:"bytes,12,opt,name=mysql_hostname,json=mysqlHostname,proto3" json:"mysql_hostname,omitempty"` // MySQL port. Use topoproto.MysqlPort and topoproto.SetMysqlPort // to access this variable. The functions provide support // for legacy behavior. MysqlPort int32 `protobuf:"varint,13,opt,name=mysql_port,json=mysqlPort,proto3" json:"mysql_port,omitempty"` // primary_term_start_time is the time (in UTC) at which the current term of // the current tablet began as primary. If this tablet is not currently the // primary, this value is ignored. // // A new primary term begins any time an authoritative decision is communicated // about which tablet should be the primary, such as via Vitess // replication-management commands like PlannedReparentShard, // EmergencyReparentShard, and TabletExternallyReparented. // PrimaryTermStartTime *vttime.Time `` /* 126-byte string literal not displayed */ // db_server_version represents the database version used by the tablet. DbServerVersion string `protobuf:"bytes,15,opt,name=db_server_version,json=dbServerVersion,proto3" json:"db_server_version,omitempty"` // default_conn_collation is the default connection collation used by this tablet. DefaultConnCollation uint32 `protobuf:"varint,16,opt,name=default_conn_collation,json=defaultConnCollation,proto3" json:"default_conn_collation,omitempty"` // contains filtered or unexported fields }
Tablet represents information about a running instance of vttablet.
func (*Tablet) Descriptor
deprecated
func (*Tablet) GetAlias ¶
func (x *Tablet) GetAlias() *TabletAlias
func (*Tablet) GetDbNameOverride ¶
func (*Tablet) GetDbServerVersion ¶ added in v0.13.0
func (*Tablet) GetDefaultConnCollation ¶ added in v0.13.0
func (*Tablet) GetHostname ¶
func (*Tablet) GetKeyRange ¶
func (*Tablet) GetKeyspace ¶
func (*Tablet) GetMysqlHostname ¶
func (*Tablet) GetMysqlPort ¶
func (*Tablet) GetPortMap ¶
func (*Tablet) GetPrimaryTermStartTime ¶ added in v0.12.0
func (*Tablet) GetType ¶
func (x *Tablet) GetType() TabletType
func (*Tablet) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Tablet) MarshalToVT ¶ added in v0.11.0
func (*Tablet) ProtoMessage ¶
func (*Tablet) ProtoMessage()
func (*Tablet) ProtoReflect ¶ added in v0.11.0
func (x *Tablet) ProtoReflect() protoreflect.Message
func (*Tablet) UnmarshalVT ¶ added in v0.11.0
type TabletAlias ¶
type TabletAlias struct { // cell is the cell (or datacenter) the tablet is in Cell string `protobuf:"bytes,1,opt,name=cell,proto3" json:"cell,omitempty"` // uid is a unique id for this tablet within the shard // (this is the MySQL server id as well). Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
TabletAlias is a globally unique tablet identifier.
func (*TabletAlias) Descriptor
deprecated
func (*TabletAlias) Descriptor() ([]byte, []int)
Deprecated: Use TabletAlias.ProtoReflect.Descriptor instead.
func (*TabletAlias) GetCell ¶
func (x *TabletAlias) GetCell() string
func (*TabletAlias) GetUid ¶
func (x *TabletAlias) GetUid() uint32
func (*TabletAlias) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *TabletAlias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TabletAlias) MarshalToVT ¶ added in v0.11.0
func (m *TabletAlias) MarshalToVT(dAtA []byte) (int, error)
func (*TabletAlias) MarshalVT ¶ added in v0.11.0
func (m *TabletAlias) MarshalVT() (dAtA []byte, err error)
func (*TabletAlias) ProtoMessage ¶
func (*TabletAlias) ProtoMessage()
func (*TabletAlias) ProtoReflect ¶ added in v0.11.0
func (x *TabletAlias) ProtoReflect() protoreflect.Message
func (*TabletAlias) Reset ¶
func (x *TabletAlias) Reset()
func (*TabletAlias) SizeVT ¶ added in v0.11.0
func (m *TabletAlias) SizeVT() (n int)
func (*TabletAlias) String ¶
func (x *TabletAlias) String() string
func (*TabletAlias) UnmarshalVT ¶ added in v0.11.0
func (m *TabletAlias) UnmarshalVT(dAtA []byte) error
type TabletType ¶
type TabletType int32
TabletType represents the type of a given tablet.
const ( // UNKNOWN is not a valid value. TabletType_UNKNOWN TabletType = 0 // PRIMARY is the primary server for the shard. Only PRIMARY allows DMLs. TabletType_PRIMARY TabletType = 1 // DEPRECATED TabletType_MASTER TabletType = 1 // REPLICA replicates from primary. It is used to serve live traffic. // A REPLICA can be promoted to PRIMARY. A demoted PRIMARY will go to REPLICA. TabletType_REPLICA TabletType = 2 // RDONLY (old name) / BATCH (new name) is used to serve traffic for // long-running jobs. It is a separate type from REPLICA so // long-running queries don't affect web-like traffic. TabletType_RDONLY TabletType = 3 TabletType_BATCH TabletType = 3 // SPARE is a type of servers that cannot serve queries, but is available // in case an extra server is needed. TabletType_SPARE TabletType = 4 // EXPERIMENTAL is like SPARE, except it can serve queries. This // type can be used for usages not planned by Vitess, like online // export to another storage engine. TabletType_EXPERIMENTAL TabletType = 5 // BACKUP is the type a server goes to when taking a backup. No queries // can be served in BACKUP mode. TabletType_BACKUP TabletType = 6 // RESTORE is the type a server uses when restoring a backup, at // startup time. No queries can be served in RESTORE mode. TabletType_RESTORE TabletType = 7 // DRAINED is the type a server goes into when used by Vitess tools // to perform an offline action. It is a serving type (as // the tools processes may need to run queries), but it's not used // to route queries from Vitess users. In this state, // this tablet is dedicated to the process that uses it. TabletType_DRAINED TabletType = 8 )
func (TabletType) Descriptor ¶ added in v0.11.0
func (TabletType) Descriptor() protoreflect.EnumDescriptor
func (TabletType) Enum ¶ added in v0.11.0
func (x TabletType) Enum() *TabletType
func (TabletType) EnumDescriptor
deprecated
func (TabletType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TabletType.Descriptor instead.
func (TabletType) Number ¶ added in v0.11.0
func (x TabletType) Number() protoreflect.EnumNumber
func (TabletType) String ¶
func (x TabletType) String() string
func (TabletType) Type ¶ added in v0.11.0
func (TabletType) Type() protoreflect.EnumType
type TopoConfig ¶ added in v0.10.0
type TopoConfig struct { TopoType string `protobuf:"bytes,1,opt,name=topo_type,json=topoType,proto3" json:"topo_type,omitempty"` Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*TopoConfig) Descriptor
deprecated
added in
v0.10.0
func (*TopoConfig) Descriptor() ([]byte, []int)
Deprecated: Use TopoConfig.ProtoReflect.Descriptor instead.
func (*TopoConfig) GetRoot ¶ added in v0.10.0
func (x *TopoConfig) GetRoot() string
func (*TopoConfig) GetServer ¶ added in v0.10.0
func (x *TopoConfig) GetServer() string
func (*TopoConfig) GetTopoType ¶ added in v0.10.0
func (x *TopoConfig) GetTopoType() string
func (*TopoConfig) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *TopoConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TopoConfig) MarshalToVT ¶ added in v0.11.0
func (m *TopoConfig) MarshalToVT(dAtA []byte) (int, error)
func (*TopoConfig) MarshalVT ¶ added in v0.11.0
func (m *TopoConfig) MarshalVT() (dAtA []byte, err error)
func (*TopoConfig) ProtoMessage ¶ added in v0.10.0
func (*TopoConfig) ProtoMessage()
func (*TopoConfig) ProtoReflect ¶ added in v0.11.0
func (x *TopoConfig) ProtoReflect() protoreflect.Message
func (*TopoConfig) Reset ¶ added in v0.10.0
func (x *TopoConfig) Reset()
func (*TopoConfig) SizeVT ¶ added in v0.11.0
func (m *TopoConfig) SizeVT() (n int)
func (*TopoConfig) String ¶ added in v0.10.0
func (x *TopoConfig) String() string
func (*TopoConfig) UnmarshalVT ¶ added in v0.11.0
func (m *TopoConfig) UnmarshalVT(dAtA []byte) error