MCPcopy
hub / github.com/grafana/tempo / PushBytes

Method PushBytes

modules/frontend/interceptor/interceptor_test.go:79–87  ·  view source on GitHub ↗
(ctx context.Context, _ *tempopb.PushBytesRequest)

Source from the content-addressed store, hash-verified

77}
78
79func (s *mockService) PushBytes(ctx context.Context, _ *tempopb.PushBytesRequest) (*tempopb.PushResponse, error) {
80 select {
81 case <-time.After(s.apiTimeout):
82 case <-ctx.Done():
83 return nil, ctx.Err()
84 }
85
86 return &tempopb.PushResponse{}, nil
87}
88
89func (s *mockService) PushBytesV2(ctx context.Context, _ *tempopb.PushBytesRequest) (*tempopb.PushResponse, error) {
90 select {

Callers

nothing calls this directly

Calls 1

DoneMethod · 0.65

Tested by

no test coverage detected