client

package
v0.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonClient

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

func NewDaemonServiceClient

func NewDaemonServiceClient(address string) (*DaemonClient, error)

func (*DaemonClient) Close added in v0.5.5

func (dc *DaemonClient) Close() error

Close function closes the gRPC connection, it has to be called after a daemon client has finished all its jobs.

func (*DaemonClient) GetPipelineBuffer

func (dc *DaemonClient) GetPipelineBuffer(ctx context.Context, pipeline, buffer string) (*daemon.BufferInfo, error)

func (*DaemonClient) GetVertexMetrics added in v0.5.4

func (dc *DaemonClient) GetVertexMetrics(ctx context.Context, pipeline, vertex string) (*daemon.VertexMetrics, error)

func (*DaemonClient) GetVertexWatermark added in v0.5.4

func (dc *DaemonClient) GetVertexWatermark(ctx context.Context, pipeline, vertex string) (*daemon.VertexWatermark, error)

GetVertexWatermark returns the VertexWatermark response instance for GetVertexWatermarkRequest

func (*DaemonClient) IsDrained

func (dc *DaemonClient) IsDrained(ctx context.Context, pipeline string) (bool, error)

func (*DaemonClient) ListPipelineBuffers

func (dc *DaemonClient) ListPipelineBuffers(ctx context.Context, pipeline string) ([]*daemon.BufferInfo, error)

Jump to

Keyboard shortcuts

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