Documentation ¶
Index ¶
- Variables
- type DatabaseInfo
- func (*DatabaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseInfo) GetEndpoint() string
- func (x *DatabaseInfo) GetId() string
- func (x *DatabaseInfo) GetLocation() string
- func (x *DatabaseInfo) GetName() string
- func (x *DatabaseInfo) GetPath() string
- func (x *DatabaseInfo) GetStatus() DatabaseInfo_Status
- func (x *DatabaseInfo) GetWeight() int64
- func (*DatabaseInfo) ProtoMessage()
- func (x *DatabaseInfo) ProtoReflect() protoreflect.Message
- func (x *DatabaseInfo) Reset()
- func (x *DatabaseInfo) String() string
- type DatabaseInfo_Status
- func (DatabaseInfo_Status) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseInfo_Status) Enum() *DatabaseInfo_Status
- func (DatabaseInfo_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseInfo_Status) Number() protoreflect.EnumNumber
- func (x DatabaseInfo_Status) String() string
- func (DatabaseInfo_Status) Type() protoreflect.EnumType
- type ListFederationDatabasesRequest
- func (*ListFederationDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListFederationDatabasesRequest) ProtoMessage()
- func (x *ListFederationDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFederationDatabasesRequest) Reset()
- func (x *ListFederationDatabasesRequest) String() string
- type ListFederationDatabasesResponse
- func (*ListFederationDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationDatabasesResponse) GetOperation() *Ydb_Operations.Operation
- func (*ListFederationDatabasesResponse) ProtoMessage()
- func (x *ListFederationDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFederationDatabasesResponse) Reset()
- func (x *ListFederationDatabasesResponse) String() string
- type ListFederationDatabasesResult
- func (*ListFederationDatabasesResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationDatabasesResult) GetControlPlaneEndpoint() string
- func (x *ListFederationDatabasesResult) GetFederationDatabases() []*DatabaseInfo
- func (x *ListFederationDatabasesResult) GetSelfLocation() string
- func (*ListFederationDatabasesResult) ProtoMessage()
- func (x *ListFederationDatabasesResult) ProtoReflect() protoreflect.Message
- func (x *ListFederationDatabasesResult) Reset()
- func (x *ListFederationDatabasesResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DatabaseInfo_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "AVAILABLE", 2: "READ_ONLY", 3: "UNAVAILABLE", } DatabaseInfo_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "AVAILABLE": 1, "READ_ONLY": 2, "UNAVAILABLE": 3, } )
Enum value maps for DatabaseInfo_Status.
View Source
var File_protos_ydb_federation_discovery_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DatabaseInfo ¶
type DatabaseInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // for single datacenter databases Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` Status DatabaseInfo_Status `protobuf:"varint,6,opt,name=status,proto3,enum=Ydb.FederationDiscovery.DatabaseInfo_Status" json:"status,omitempty"` // to determine this database priority on the client side Weight int64 `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*DatabaseInfo) Descriptor
deprecated
func (*DatabaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseInfo.ProtoReflect.Descriptor instead.
func (*DatabaseInfo) GetEndpoint ¶
func (x *DatabaseInfo) GetEndpoint() string
func (*DatabaseInfo) GetId ¶
func (x *DatabaseInfo) GetId() string
func (*DatabaseInfo) GetLocation ¶
func (x *DatabaseInfo) GetLocation() string
func (*DatabaseInfo) GetName ¶
func (x *DatabaseInfo) GetName() string
func (*DatabaseInfo) GetPath ¶
func (x *DatabaseInfo) GetPath() string
func (*DatabaseInfo) GetStatus ¶
func (x *DatabaseInfo) GetStatus() DatabaseInfo_Status
func (*DatabaseInfo) GetWeight ¶
func (x *DatabaseInfo) GetWeight() int64
func (*DatabaseInfo) ProtoMessage ¶
func (*DatabaseInfo) ProtoMessage()
func (*DatabaseInfo) ProtoReflect ¶
func (x *DatabaseInfo) ProtoReflect() protoreflect.Message
func (*DatabaseInfo) Reset ¶
func (x *DatabaseInfo) Reset()
func (*DatabaseInfo) String ¶
func (x *DatabaseInfo) String() string
type DatabaseInfo_Status ¶
type DatabaseInfo_Status int32
const ( DatabaseInfo_STATUS_UNSPECIFIED DatabaseInfo_Status = 0 DatabaseInfo_AVAILABLE DatabaseInfo_Status = 1 DatabaseInfo_READ_ONLY DatabaseInfo_Status = 2 DatabaseInfo_UNAVAILABLE DatabaseInfo_Status = 3 )
func (DatabaseInfo_Status) Descriptor ¶
func (DatabaseInfo_Status) Descriptor() protoreflect.EnumDescriptor
func (DatabaseInfo_Status) Enum ¶
func (x DatabaseInfo_Status) Enum() *DatabaseInfo_Status
func (DatabaseInfo_Status) EnumDescriptor
deprecated
func (DatabaseInfo_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseInfo_Status.Descriptor instead.
func (DatabaseInfo_Status) Number ¶
func (x DatabaseInfo_Status) Number() protoreflect.EnumNumber
func (DatabaseInfo_Status) String ¶
func (x DatabaseInfo_Status) String() string
func (DatabaseInfo_Status) Type ¶
func (DatabaseInfo_Status) Type() protoreflect.EnumType
type ListFederationDatabasesRequest ¶
type ListFederationDatabasesRequest struct {
// contains filtered or unexported fields
}
func (*ListFederationDatabasesRequest) Descriptor
deprecated
func (*ListFederationDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListFederationDatabasesRequest) ProtoMessage ¶
func (*ListFederationDatabasesRequest) ProtoMessage()
func (*ListFederationDatabasesRequest) ProtoReflect ¶
func (x *ListFederationDatabasesRequest) ProtoReflect() protoreflect.Message
func (*ListFederationDatabasesRequest) Reset ¶
func (x *ListFederationDatabasesRequest) Reset()
func (*ListFederationDatabasesRequest) String ¶
func (x *ListFederationDatabasesRequest) String() string
type ListFederationDatabasesResponse ¶
type ListFederationDatabasesResponse struct { // Operation contains the result of the request. Check the ydb_operation.proto. Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ListFederationDatabasesResponse) Descriptor
deprecated
func (*ListFederationDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListFederationDatabasesResponse) GetOperation ¶
func (x *ListFederationDatabasesResponse) GetOperation() *Ydb_Operations.Operation
func (*ListFederationDatabasesResponse) ProtoMessage ¶
func (*ListFederationDatabasesResponse) ProtoMessage()
func (*ListFederationDatabasesResponse) ProtoReflect ¶
func (x *ListFederationDatabasesResponse) ProtoReflect() protoreflect.Message
func (*ListFederationDatabasesResponse) Reset ¶
func (x *ListFederationDatabasesResponse) Reset()
func (*ListFederationDatabasesResponse) String ¶
func (x *ListFederationDatabasesResponse) String() string
type ListFederationDatabasesResult ¶
type ListFederationDatabasesResult struct { ControlPlaneEndpoint string `protobuf:"bytes,1,opt,name=control_plane_endpoint,json=controlPlaneEndpoint,proto3" json:"control_plane_endpoint,omitempty"` FederationDatabases []*DatabaseInfo `protobuf:"bytes,2,rep,name=federation_databases,json=federationDatabases,proto3" json:"federation_databases,omitempty"` SelfLocation string `protobuf:"bytes,3,opt,name=self_location,json=selfLocation,proto3" json:"self_location,omitempty"` // contains filtered or unexported fields }
func (*ListFederationDatabasesResult) Descriptor
deprecated
func (*ListFederationDatabasesResult) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationDatabasesResult.ProtoReflect.Descriptor instead.
func (*ListFederationDatabasesResult) GetControlPlaneEndpoint ¶
func (x *ListFederationDatabasesResult) GetControlPlaneEndpoint() string
func (*ListFederationDatabasesResult) GetFederationDatabases ¶
func (x *ListFederationDatabasesResult) GetFederationDatabases() []*DatabaseInfo
func (*ListFederationDatabasesResult) GetSelfLocation ¶
func (x *ListFederationDatabasesResult) GetSelfLocation() string
func (*ListFederationDatabasesResult) ProtoMessage ¶
func (*ListFederationDatabasesResult) ProtoMessage()
func (*ListFederationDatabasesResult) ProtoReflect ¶
func (x *ListFederationDatabasesResult) ProtoReflect() protoreflect.Message
func (*ListFederationDatabasesResult) Reset ¶
func (x *ListFederationDatabasesResult) Reset()
func (*ListFederationDatabasesResult) String ¶
func (x *ListFederationDatabasesResult) String() string
Click to show internal directories.
Click to hide internal directories.