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) GetPipelineStatus(ctx context.Context, pipeline string) (*daemon.PipelineStatus, error)
- func (dc *DaemonClient) GetPipelineWatermarks(ctx context.Context, pipeline string) ([]*daemon.EdgeWatermark, error)
- func (dc *DaemonClient) GetVertexMetrics(ctx context.Context, pipeline, vertex string) ([]*daemon.VertexMetrics, 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) 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) ListPipelineBuffers ¶
func (dc *DaemonClient) ListPipelineBuffers(ctx context.Context, pipeline string) ([]*daemon.BufferInfo, error)
Click to show internal directories.
Click to hide internal directories.