Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { ListEndpoints(string) ([]*Ydb_Discovery.EndpointInfo, error) WhoAmI() (string, error) Close() error }
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
func NewDiscoveryClient ¶
func NewDiscoveryClient( f connectionsfactory.Factory, logger *zap.SugaredLogger, cp credentials.Provider, ) *Discovery
func (*Discovery) ExecuteDiscoveryMethod ¶
func (c *Discovery) ExecuteDiscoveryMethod( out proto.Message, method func(context.Context, Ydb_Discovery_V1.DiscoveryServiceClient) (client.OperationResponse, error), ) (*Ydb_Operations.Operation, error)
func (*Discovery) ListEndpoints ¶
func (c *Discovery) ListEndpoints(database string) ([]*Ydb_Discovery.EndpointInfo, error)
Click to show internal directories.
Click to hide internal directories.