Documentation ¶
Index ¶
- type DaemonClient
- func (dc *DaemonClient) Close() error
- func (dc *DaemonClient) GetPipelineBuffer(ctx context.Context, pipeline, buffer string) (*daemon.BufferInfo, error)
- func (dc *DaemonClient) GetVertexMetrics(ctx context.Context, pipeline, vertex string) (*daemon.VertexMetrics, error)
- func (dc *DaemonClient) GetVertexWatermark(ctx context.Context, pipeline, vertex string) (*daemon.VertexWatermark, error)
- func (dc *DaemonClient) IsDrained(ctx context.Context, pipeline string) (bool, error)
- func (dc *DaemonClient) ListPipelineBuffers(ctx context.Context, pipeline string) ([]*daemon.BufferInfo, error)
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) ListPipelineBuffers ¶
func (dc *DaemonClient) ListPipelineBuffers(ctx context.Context, pipeline string) ([]*daemon.BufferInfo, error)
Click to show internal directories.
Click to hide internal directories.