client

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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) GetPipelineStatus added in v0.7.3

func (dc *DaemonClient) GetPipelineStatus(ctx context.Context, pipeline string) (*daemon.PipelineStatus, error)

func (*DaemonClient) GetPipelineWatermarks added in v0.7.0

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

GetPipelineWatermarks returns the []EdgeWatermark response instance for GetPipelineWatermarksRequest

func (*DaemonClient) GetVertexMetrics added in v0.5.4

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

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