package discovery
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/discovery"
Index ¶
- type Client
- func New(ctx context.Context, cc grpc.ClientConnInterface, config *config.Config) *Client
- func (c *Client) Close(context.Context) error
- func (c *Client) Discover(ctx context.Context) (endpoints []endpoint.Endpoint, finalErr error)
- func (c *Client) WhoAmI(ctx context.Context) (whoAmI *discovery.WhoAmI, err error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func (*Client) Close ¶
func (*Client) Discover ¶
Discover cluster endpoints
func (*Client) WhoAmI ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/discovery/config |
- Version
- v3.76.4
- Published
- Aug 9, 2024
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 3 minutes ago –
Tools for package owners.