Documentation
¶
Index ¶
- func FieldTypeFromProto(proto seqapi.FieldType) string
- func FieldTypeToProto(t string) seqapi.FieldType
- type Client
- type ClientParams
- type GRPCClient
- func (c *GRPCClient) CancelAsyncSearch(ctx context.Context, req *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error)
- func (c *GRPCClient) DeleteAsyncSearch(ctx context.Context, req *seqapi.DeleteAsyncSearchRequest) (*seqapi.DeleteAsyncSearchResponse, error)
- func (c *GRPCClient) Export(ctx context.Context, req *seqapi.ExportRequest, cw *httputil.ChunkedWriter) error
- func (c *GRPCClient) FetchAsyncSearchResult(ctx context.Context, req *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error)
- func (c *GRPCClient) GetAggregation(ctx context.Context, req *seqapi.GetAggregationRequest) (*seqapi.GetAggregationResponse, error)
- func (c *GRPCClient) GetAsyncSearchesList(ctx context.Context, req *seqapi.GetAsyncSearchesListRequest, ids []string) (*seqapi.GetAsyncSearchesListResponse, error)
- func (c *GRPCClient) GetEvent(ctx context.Context, req *seqapi.GetEventRequest) (*seqapi.GetEventResponse, error)
- func (c *GRPCClient) GetFields(ctx context.Context, _ *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)
- func (c *GRPCClient) GetHistogram(ctx context.Context, req *seqapi.GetHistogramRequest) (*seqapi.GetHistogramResponse, error)
- func (c *GRPCClient) Search(ctx context.Context, req *seqapi.SearchRequest) (*seqapi.SearchResponse, error)
- func (c *GRPCClient) StartAsyncSearch(ctx context.Context, req *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, error)
- func (c *GRPCClient) Status(ctx context.Context, _ *seqapi.StatusRequest) (*seqapi.StatusResponse, error)
- func (c *GRPCClient) WithMasking(m *mask.Masker)
- type GRPCKeepaliveParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldTypeFromProto ¶
func FieldTypeToProto ¶
Types ¶
type Client ¶
type Client interface {
GetAggregation(context.Context, *seqapi.GetAggregationRequest) (*seqapi.GetAggregationResponse, error)
GetEvent(context.Context, *seqapi.GetEventRequest) (*seqapi.GetEventResponse, error)
GetFields(context.Context, *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)
GetHistogram(context.Context, *seqapi.GetHistogramRequest) (*seqapi.GetHistogramResponse, error)
Search(context.Context, *seqapi.SearchRequest) (*seqapi.SearchResponse, error)
Status(context.Context, *seqapi.StatusRequest) (*seqapi.StatusResponse, error)
Export(context.Context, *seqapi.ExportRequest, *httputil.ChunkedWriter) error
StartAsyncSearch(context.Context, *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, error)
FetchAsyncSearchResult(context.Context, *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error)
GetAsyncSearchesList(context.Context, *seqapi.GetAsyncSearchesListRequest, []string) (*seqapi.GetAsyncSearchesListResponse, error)
CancelAsyncSearch(context.Context, *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error)
DeleteAsyncSearch(context.Context, *seqapi.DeleteAsyncSearchRequest) (*seqapi.DeleteAsyncSearchResponse, error)
// masking
WithMasking(m *mask.Masker)
}
type ClientParams ¶
type GRPCClient ¶
type GRPCClient struct {
// contains filtered or unexported fields
}
func NewGRPCClient ¶
func NewGRPCClient(ctx context.Context, params ClientParams) (*GRPCClient, error)
func (*GRPCClient) CancelAsyncSearch ¶
func (c *GRPCClient) CancelAsyncSearch( ctx context.Context, req *seqapi.CancelAsyncSearchRequest, ) (*seqapi.CancelAsyncSearchResponse, error)
func (*GRPCClient) DeleteAsyncSearch ¶
func (c *GRPCClient) DeleteAsyncSearch( ctx context.Context, req *seqapi.DeleteAsyncSearchRequest, ) (*seqapi.DeleteAsyncSearchResponse, error)
func (*GRPCClient) Export ¶
func (c *GRPCClient) Export(ctx context.Context, req *seqapi.ExportRequest, cw *httputil.ChunkedWriter) error
func (*GRPCClient) FetchAsyncSearchResult ¶
func (c *GRPCClient) FetchAsyncSearchResult( ctx context.Context, req *seqapi.FetchAsyncSearchResultRequest, ) (*seqapi.FetchAsyncSearchResultResponse, error)
func (*GRPCClient) GetAggregation ¶
func (c *GRPCClient) GetAggregation(ctx context.Context, req *seqapi.GetAggregationRequest) (*seqapi.GetAggregationResponse, error)
func (*GRPCClient) GetAsyncSearchesList ¶
func (c *GRPCClient) GetAsyncSearchesList( ctx context.Context, req *seqapi.GetAsyncSearchesListRequest, ids []string, ) (*seqapi.GetAsyncSearchesListResponse, error)
func (*GRPCClient) GetEvent ¶
func (c *GRPCClient) GetEvent(ctx context.Context, req *seqapi.GetEventRequest) (*seqapi.GetEventResponse, error)
func (*GRPCClient) GetFields ¶
func (c *GRPCClient) GetFields(ctx context.Context, _ *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)
func (*GRPCClient) GetHistogram ¶
func (c *GRPCClient) GetHistogram(ctx context.Context, req *seqapi.GetHistogramRequest) (*seqapi.GetHistogramResponse, error)
func (*GRPCClient) Search ¶
func (c *GRPCClient) Search(ctx context.Context, req *seqapi.SearchRequest) (*seqapi.SearchResponse, error)
func (*GRPCClient) StartAsyncSearch ¶
func (c *GRPCClient) StartAsyncSearch( ctx context.Context, req *seqapi.StartAsyncSearchRequest, ) (*seqapi.StartAsyncSearchResponse, error)
func (*GRPCClient) Status ¶
func (c *GRPCClient) Status(ctx context.Context, _ *seqapi.StatusRequest) (*seqapi.StatusResponse, error)
func (*GRPCClient) WithMasking ¶ added in v0.43.0
func (c *GRPCClient) WithMasking(m *mask.Masker)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.