discovery

package
v3.51.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(cc grpc.ClientConnInterface, config *config.Config) *Client

func (*Client) Close

func (c *Client) Close(context.Context) error

func (*Client) Discover

func (c *Client) Discover(ctx context.Context) (endpoints []endpoint.Endpoint, err error)

Discover cluster endpoints

func (*Client) WhoAmI

func (c *Client) WhoAmI(ctx context.Context) (whoAmI *discovery.WhoAmI, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL