coordination

package
v3.65.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 23 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 (*Client) AlterNode

func (c *Client) AlterNode(ctx context.Context, path string, config coordination.NodeConfig) (finalErr error)

func (*Client) Close

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

func (*Client) CreateNode

func (c *Client) CreateNode(ctx context.Context, path string, config coordination.NodeConfig) (finalErr error)

func (*Client) DescribeNode

func (c *Client) DescribeNode(
	ctx context.Context,
	path string,
) (
	entry *scheme.Entry,
	config *coordination.NodeConfig,
	finalErr error,
)

func (*Client) DropNode

func (c *Client) DropNode(ctx context.Context, path string) (finalErr error)

func (*Client) Session added in v3.61.1

func (c *Client) Session(
	ctx context.Context,
	path string,
	opts ...options.SessionOption,
) (_ coordination.Session, finalErr error)

Directories

Path Synopsis
Package conversation contains coordination session internal code that helps implement a typical conversation-like session protocol based on a bidirectional gRPC stream.
Package conversation contains coordination session internal code that helps implement a typical conversation-like session protocol based on a bidirectional gRPC stream.

Jump to

Keyboard shortcuts

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