Documentation ¶
Index ¶
- Variables
- type EndpointInfo
- func (*EndpointInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointInfo) GetAddress() string
- func (x *EndpointInfo) GetIpV4() []string
- func (x *EndpointInfo) GetIpV6() []string
- func (x *EndpointInfo) GetLoadFactor() float32
- func (x *EndpointInfo) GetLocation() string
- func (x *EndpointInfo) GetNodeId() uint32
- func (x *EndpointInfo) GetPort() uint32
- func (x *EndpointInfo) GetService() []string
- func (x *EndpointInfo) GetSsl() bool
- func (x *EndpointInfo) GetSslTargetNameOverride() string
- func (*EndpointInfo) ProtoMessage()
- func (x *EndpointInfo) ProtoReflect() protoreflect.Message
- func (x *EndpointInfo) Reset()
- func (x *EndpointInfo) String() string
- type ListEndpointsRequest
- func (*ListEndpointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEndpointsRequest) GetDatabase() string
- func (x *ListEndpointsRequest) GetService() []string
- func (*ListEndpointsRequest) ProtoMessage()
- func (x *ListEndpointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEndpointsRequest) Reset()
- func (x *ListEndpointsRequest) String() string
- type ListEndpointsResponse
- func (*ListEndpointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEndpointsResponse) GetOperation() *Ydb_Operations.Operation
- func (*ListEndpointsResponse) ProtoMessage()
- func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEndpointsResponse) Reset()
- func (x *ListEndpointsResponse) String() string
- type ListEndpointsResult
- func (*ListEndpointsResult) Descriptor() ([]byte, []int)deprecated
- func (x *ListEndpointsResult) GetEndpoints() []*EndpointInfo
- func (x *ListEndpointsResult) GetSelfLocation() string
- func (*ListEndpointsResult) ProtoMessage()
- func (x *ListEndpointsResult) ProtoReflect() protoreflect.Message
- func (x *ListEndpointsResult) Reset()
- func (x *ListEndpointsResult) String() string
- type NodeLocation
- func (*NodeLocation) Descriptor() ([]byte, []int)deprecated
- func (x *NodeLocation) GetBody() uint32deprecated
- func (x *NodeLocation) GetBodyNum() uint32deprecated
- func (x *NodeLocation) GetDataCenter() string
- func (x *NodeLocation) GetDataCenterNum() uint32deprecated
- func (x *NodeLocation) GetModule() string
- func (x *NodeLocation) GetRack() string
- func (x *NodeLocation) GetRackNum() uint32deprecated
- func (x *NodeLocation) GetRoomNum() uint32deprecated
- func (x *NodeLocation) GetUnit() string
- func (*NodeLocation) ProtoMessage()
- func (x *NodeLocation) ProtoReflect() protoreflect.Message
- func (x *NodeLocation) Reset()
- func (x *NodeLocation) String() string
- type WhoAmIRequest
- type WhoAmIResponse
- func (*WhoAmIResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAmIResponse) GetOperation() *Ydb_Operations.Operation
- func (*WhoAmIResponse) ProtoMessage()
- func (x *WhoAmIResponse) ProtoReflect() protoreflect.Message
- func (x *WhoAmIResponse) Reset()
- func (x *WhoAmIResponse) String() string
- type WhoAmIResult
- func (*WhoAmIResult) Descriptor() ([]byte, []int)deprecated
- func (x *WhoAmIResult) GetGroups() []string
- func (x *WhoAmIResult) GetUser() string
- func (*WhoAmIResult) ProtoMessage()
- func (x *WhoAmIResult) ProtoReflect() protoreflect.Message
- func (x *WhoAmIResult) Reset()
- func (x *WhoAmIResult) String() string
Constants ¶
This section is empty.
Variables ¶
var File_protos_ydb_discovery_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EndpointInfo ¶
type EndpointInfo struct { // This is an address (usually fqdn) and port of this node's grpc endpoint Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` LoadFactor float32 `protobuf:"fixed32,3,opt,name=load_factor,json=loadFactor,proto3" json:"load_factor,omitempty"` Ssl bool `protobuf:"varint,4,opt,name=ssl,proto3" json:"ssl,omitempty"` Service []string `protobuf:"bytes,5,rep,name=service,proto3" json:"service,omitempty"` Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` NodeId uint32 `protobuf:"varint,7,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Optional ipv4 and/or ipv6 addresses of the endpoint, which clients may // use instead of a dns name in the address field. IpV4 []string `protobuf:"bytes,8,rep,name=ip_v4,json=ipV4,proto3" json:"ip_v4,omitempty"` IpV6 []string `protobuf:"bytes,9,rep,name=ip_v6,json=ipV6,proto3" json:"ip_v6,omitempty"` // Optional value for grpc.ssl_target_name_override option that must be // used when connecting to this endpoint. This may be specified when an ssl // endpoint is using certificate chain valid for a balancer hostname, and // not this specific node hostname. SslTargetNameOverride string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EndpointInfo) Descriptor
deprecated
func (*EndpointInfo) Descriptor() ([]byte, []int)
Deprecated: Use EndpointInfo.ProtoReflect.Descriptor instead.
func (*EndpointInfo) GetAddress ¶
func (x *EndpointInfo) GetAddress() string
func (*EndpointInfo) GetIpV4 ¶
func (x *EndpointInfo) GetIpV4() []string
func (*EndpointInfo) GetIpV6 ¶
func (x *EndpointInfo) GetIpV6() []string
func (*EndpointInfo) GetLoadFactor ¶
func (x *EndpointInfo) GetLoadFactor() float32
func (*EndpointInfo) GetLocation ¶
func (x *EndpointInfo) GetLocation() string
func (*EndpointInfo) GetNodeId ¶
func (x *EndpointInfo) GetNodeId() uint32
func (*EndpointInfo) GetPort ¶
func (x *EndpointInfo) GetPort() uint32
func (*EndpointInfo) GetService ¶
func (x *EndpointInfo) GetService() []string
func (*EndpointInfo) GetSsl ¶
func (x *EndpointInfo) GetSsl() bool
func (*EndpointInfo) GetSslTargetNameOverride ¶
func (x *EndpointInfo) GetSslTargetNameOverride() string
func (*EndpointInfo) ProtoMessage ¶
func (*EndpointInfo) ProtoMessage()
func (*EndpointInfo) ProtoReflect ¶
func (x *EndpointInfo) ProtoReflect() protoreflect.Message
func (*EndpointInfo) Reset ¶
func (x *EndpointInfo) Reset()
func (*EndpointInfo) String ¶
func (x *EndpointInfo) String() string
type ListEndpointsRequest ¶
type ListEndpointsRequest struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Service []string `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*ListEndpointsRequest) Descriptor
deprecated
func (*ListEndpointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEndpointsRequest.ProtoReflect.Descriptor instead.
func (*ListEndpointsRequest) GetDatabase ¶
func (x *ListEndpointsRequest) GetDatabase() string
func (*ListEndpointsRequest) GetService ¶
func (x *ListEndpointsRequest) GetService() []string
func (*ListEndpointsRequest) ProtoMessage ¶
func (*ListEndpointsRequest) ProtoMessage()
func (*ListEndpointsRequest) ProtoReflect ¶
func (x *ListEndpointsRequest) ProtoReflect() protoreflect.Message
func (*ListEndpointsRequest) Reset ¶
func (x *ListEndpointsRequest) Reset()
func (*ListEndpointsRequest) String ¶
func (x *ListEndpointsRequest) String() string
type ListEndpointsResponse ¶
type ListEndpointsResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*ListEndpointsResponse) Descriptor
deprecated
func (*ListEndpointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEndpointsResponse.ProtoReflect.Descriptor instead.
func (*ListEndpointsResponse) GetOperation ¶
func (x *ListEndpointsResponse) GetOperation() *Ydb_Operations.Operation
func (*ListEndpointsResponse) ProtoMessage ¶
func (*ListEndpointsResponse) ProtoMessage()
func (*ListEndpointsResponse) ProtoReflect ¶
func (x *ListEndpointsResponse) ProtoReflect() protoreflect.Message
func (*ListEndpointsResponse) Reset ¶
func (x *ListEndpointsResponse) Reset()
func (*ListEndpointsResponse) String ¶
func (x *ListEndpointsResponse) String() string
type ListEndpointsResult ¶
type ListEndpointsResult struct { Endpoints []*EndpointInfo `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` SelfLocation string `protobuf:"bytes,2,opt,name=self_location,json=selfLocation,proto3" json:"self_location,omitempty"` // contains filtered or unexported fields }
func (*ListEndpointsResult) Descriptor
deprecated
func (*ListEndpointsResult) Descriptor() ([]byte, []int)
Deprecated: Use ListEndpointsResult.ProtoReflect.Descriptor instead.
func (*ListEndpointsResult) GetEndpoints ¶
func (x *ListEndpointsResult) GetEndpoints() []*EndpointInfo
func (*ListEndpointsResult) GetSelfLocation ¶
func (x *ListEndpointsResult) GetSelfLocation() string
func (*ListEndpointsResult) ProtoMessage ¶
func (*ListEndpointsResult) ProtoMessage()
func (*ListEndpointsResult) ProtoReflect ¶
func (x *ListEndpointsResult) ProtoReflect() protoreflect.Message
func (*ListEndpointsResult) Reset ¶
func (x *ListEndpointsResult) Reset()
func (*ListEndpointsResult) String ¶
func (x *ListEndpointsResult) String() string
type NodeLocation ¶
type NodeLocation struct { // compatibility section -- will be removed in future versions // // Deprecated: Marked as deprecated in protos/ydb_discovery.proto. DataCenterNum *uint32 `protobuf:"varint,1,opt,name=data_center_num,json=dataCenterNum,proto3,oneof" json:"data_center_num,omitempty"` // Deprecated: Marked as deprecated in protos/ydb_discovery.proto. RoomNum *uint32 `protobuf:"varint,2,opt,name=room_num,json=roomNum,proto3,oneof" json:"room_num,omitempty"` // Deprecated: Marked as deprecated in protos/ydb_discovery.proto. RackNum *uint32 `protobuf:"varint,3,opt,name=rack_num,json=rackNum,proto3,oneof" json:"rack_num,omitempty"` // Deprecated: Marked as deprecated in protos/ydb_discovery.proto. BodyNum *uint32 `protobuf:"varint,4,opt,name=body_num,json=bodyNum,proto3,oneof" json:"body_num,omitempty"` // Deprecated: Marked as deprecated in protos/ydb_discovery.proto. Body *uint32 `protobuf:"varint,100500,opt,name=body,proto3,oneof" json:"body,omitempty"` // for compatibility with WalleLocation DataCenter *string `protobuf:"bytes,10,opt,name=data_center,json=dataCenter,proto3,oneof" json:"data_center,omitempty"` Module *string `protobuf:"bytes,20,opt,name=module,proto3,oneof" json:"module,omitempty"` Rack *string `protobuf:"bytes,30,opt,name=rack,proto3,oneof" json:"rack,omitempty"` Unit *string `protobuf:"bytes,40,opt,name=unit,proto3,oneof" json:"unit,omitempty"` // contains filtered or unexported fields }
func (*NodeLocation) Descriptor
deprecated
func (*NodeLocation) Descriptor() ([]byte, []int)
Deprecated: Use NodeLocation.ProtoReflect.Descriptor instead.
func (*NodeLocation) GetBody
deprecated
func (x *NodeLocation) GetBody() uint32
Deprecated: Marked as deprecated in protos/ydb_discovery.proto.
func (*NodeLocation) GetBodyNum
deprecated
func (x *NodeLocation) GetBodyNum() uint32
Deprecated: Marked as deprecated in protos/ydb_discovery.proto.
func (*NodeLocation) GetDataCenter ¶
func (x *NodeLocation) GetDataCenter() string
func (*NodeLocation) GetDataCenterNum
deprecated
func (x *NodeLocation) GetDataCenterNum() uint32
Deprecated: Marked as deprecated in protos/ydb_discovery.proto.
func (*NodeLocation) GetModule ¶
func (x *NodeLocation) GetModule() string
func (*NodeLocation) GetRack ¶
func (x *NodeLocation) GetRack() string
func (*NodeLocation) GetRackNum
deprecated
func (x *NodeLocation) GetRackNum() uint32
Deprecated: Marked as deprecated in protos/ydb_discovery.proto.
func (*NodeLocation) GetRoomNum
deprecated
func (x *NodeLocation) GetRoomNum() uint32
Deprecated: Marked as deprecated in protos/ydb_discovery.proto.
func (*NodeLocation) GetUnit ¶
func (x *NodeLocation) GetUnit() string
func (*NodeLocation) ProtoMessage ¶
func (*NodeLocation) ProtoMessage()
func (*NodeLocation) ProtoReflect ¶
func (x *NodeLocation) ProtoReflect() protoreflect.Message
func (*NodeLocation) Reset ¶
func (x *NodeLocation) Reset()
func (*NodeLocation) String ¶
func (x *NodeLocation) String() string
type WhoAmIRequest ¶
type WhoAmIRequest struct { // Include user groups in response IncludeGroups bool `protobuf:"varint,1,opt,name=include_groups,json=includeGroups,proto3" json:"include_groups,omitempty"` // contains filtered or unexported fields }
func (*WhoAmIRequest) Descriptor
deprecated
func (*WhoAmIRequest) Descriptor() ([]byte, []int)
Deprecated: Use WhoAmIRequest.ProtoReflect.Descriptor instead.
func (*WhoAmIRequest) GetIncludeGroups ¶
func (x *WhoAmIRequest) GetIncludeGroups() bool
func (*WhoAmIRequest) ProtoMessage ¶
func (*WhoAmIRequest) ProtoMessage()
func (*WhoAmIRequest) ProtoReflect ¶
func (x *WhoAmIRequest) ProtoReflect() protoreflect.Message
func (*WhoAmIRequest) Reset ¶
func (x *WhoAmIRequest) Reset()
func (*WhoAmIRequest) String ¶
func (x *WhoAmIRequest) String() string
type WhoAmIResponse ¶
type WhoAmIResponse struct { Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*WhoAmIResponse) Descriptor
deprecated
func (*WhoAmIResponse) Descriptor() ([]byte, []int)
Deprecated: Use WhoAmIResponse.ProtoReflect.Descriptor instead.
func (*WhoAmIResponse) GetOperation ¶
func (x *WhoAmIResponse) GetOperation() *Ydb_Operations.Operation
func (*WhoAmIResponse) ProtoMessage ¶
func (*WhoAmIResponse) ProtoMessage()
func (*WhoAmIResponse) ProtoReflect ¶
func (x *WhoAmIResponse) ProtoReflect() protoreflect.Message
func (*WhoAmIResponse) Reset ¶
func (x *WhoAmIResponse) Reset()
func (*WhoAmIResponse) String ¶
func (x *WhoAmIResponse) String() string
type WhoAmIResult ¶
type WhoAmIResult struct { // User SID (Security ID) User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // List of group SIDs (Security IDs) for the user Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*WhoAmIResult) Descriptor
deprecated
func (*WhoAmIResult) Descriptor() ([]byte, []int)
Deprecated: Use WhoAmIResult.ProtoReflect.Descriptor instead.
func (*WhoAmIResult) GetGroups ¶
func (x *WhoAmIResult) GetGroups() []string
func (*WhoAmIResult) GetUser ¶
func (x *WhoAmIResult) GetUser() string
func (*WhoAmIResult) ProtoMessage ¶
func (*WhoAmIResult) ProtoMessage()
func (*WhoAmIResult) ProtoReflect ¶
func (x *WhoAmIResult) ProtoReflect() protoreflect.Message
func (*WhoAmIResult) Reset ¶
func (x *WhoAmIResult) Reset()
func (*WhoAmIResult) String ¶
func (x *WhoAmIResult) String() string