package agent
import "go.opencensus.io/exporter/jaeger/internal/gen-go/agent"
Index ¶
- Variables
- type Agent
- type AgentClient
- func NewAgentClient(c thrift.TClient) *AgentClient
- func NewAgentClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AgentClient
- func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient
- func (p *AgentClient) EmitBatch(ctx context.Context, batch *jaeger.Batch) (err error)
- func (p *AgentClient) EmitZipkinBatch(ctx context.Context, spans []*zipkincore.Span) (err error)
- type AgentEmitBatchArgs
- func NewAgentEmitBatchArgs() *AgentEmitBatchArgs
- func (p *AgentEmitBatchArgs) GetBatch() *jaeger.Batch
- func (p *AgentEmitBatchArgs) IsSetBatch() bool
- func (p *AgentEmitBatchArgs) Read(iprot thrift.TProtocol) error
- func (p *AgentEmitBatchArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AgentEmitBatchArgs) String() string
- func (p *AgentEmitBatchArgs) Write(oprot thrift.TProtocol) error
- type AgentEmitZipkinBatchArgs
- func NewAgentEmitZipkinBatchArgs() *AgentEmitZipkinBatchArgs
- func (p *AgentEmitZipkinBatchArgs) GetSpans() []*zipkincore.Span
- func (p *AgentEmitZipkinBatchArgs) Read(iprot thrift.TProtocol) error
- func (p *AgentEmitZipkinBatchArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AgentEmitZipkinBatchArgs) String() string
- func (p *AgentEmitZipkinBatchArgs) Write(oprot thrift.TProtocol) error
- type AgentProcessor
- func NewAgentProcessor(handler Agent) *AgentProcessor
- func (p *AgentProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AgentProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AgentProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Variables ¶
var GoUnusedProtection__ int
Types ¶
type Agent ¶
type Agent interface { // Parameters: // - Spans EmitZipkinBatch(ctx context.Context, spans []*zipkincore.Span) (err error) // Parameters: // - Batch EmitBatch(ctx context.Context, batch *jaeger.Batch) (err error) }
type AgentClient ¶
type AgentClient struct {
// contains filtered or unexported fields
}
func NewAgentClient ¶
func NewAgentClient(c thrift.TClient) *AgentClient
func NewAgentClientFactory ¶
func NewAgentClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AgentClient
Deprecated: Use NewAgent instead
func NewAgentClientProtocol ¶
func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient
Deprecated: Use NewAgent instead
func (*AgentClient) EmitBatch ¶
Parameters:
- Batch
func (*AgentClient) EmitZipkinBatch ¶
func (p *AgentClient) EmitZipkinBatch(ctx context.Context, spans []*zipkincore.Span) (err error)
Parameters:
- Spans
type AgentEmitBatchArgs ¶
Attributes:
- Batch
func NewAgentEmitBatchArgs ¶
func NewAgentEmitBatchArgs() *AgentEmitBatchArgs
func (*AgentEmitBatchArgs) GetBatch ¶
func (p *AgentEmitBatchArgs) GetBatch() *jaeger.Batch
func (*AgentEmitBatchArgs) IsSetBatch ¶
func (p *AgentEmitBatchArgs) IsSetBatch() bool
func (*AgentEmitBatchArgs) Read ¶
func (p *AgentEmitBatchArgs) Read(iprot thrift.TProtocol) error
func (*AgentEmitBatchArgs) ReadField1 ¶
func (p *AgentEmitBatchArgs) ReadField1(iprot thrift.TProtocol) error
func (*AgentEmitBatchArgs) String ¶
func (p *AgentEmitBatchArgs) String() string
func (*AgentEmitBatchArgs) Write ¶
func (p *AgentEmitBatchArgs) Write(oprot thrift.TProtocol) error
type AgentEmitZipkinBatchArgs ¶
type AgentEmitZipkinBatchArgs struct { Spans []*zipkincore.Span `thrift:"spans,1" db:"spans" json:"spans"` }
Attributes:
- Spans
func NewAgentEmitZipkinBatchArgs ¶
func NewAgentEmitZipkinBatchArgs() *AgentEmitZipkinBatchArgs
func (*AgentEmitZipkinBatchArgs) GetSpans ¶
func (p *AgentEmitZipkinBatchArgs) GetSpans() []*zipkincore.Span
func (*AgentEmitZipkinBatchArgs) Read ¶
func (p *AgentEmitZipkinBatchArgs) Read(iprot thrift.TProtocol) error
func (*AgentEmitZipkinBatchArgs) ReadField1 ¶
func (p *AgentEmitZipkinBatchArgs) ReadField1(iprot thrift.TProtocol) error
func (*AgentEmitZipkinBatchArgs) String ¶
func (p *AgentEmitZipkinBatchArgs) String() string
func (*AgentEmitZipkinBatchArgs) Write ¶
func (p *AgentEmitZipkinBatchArgs) Write(oprot thrift.TProtocol) error
type AgentProcessor ¶
type AgentProcessor struct {
// contains filtered or unexported fields
}
func NewAgentProcessor ¶
func NewAgentProcessor(handler Agent) *AgentProcessor
func (*AgentProcessor) AddToProcessorMap ¶
func (p *AgentProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AgentProcessor) GetProcessorFunction ¶
func (p *AgentProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AgentProcessor) Process ¶
func (p *AgentProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AgentProcessor) ProcessorMap ¶
func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Source Files ¶
GoUnusedProtection__.go agent-consts.go agent.go
Directories ¶
Path | Synopsis |
---|---|
exporter/jaeger/internal/gen-go/agent/agent-remote |
- Version
- v0.2.0
- Published
- Jan 30, 2018
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 20 minutes ago –
Tools for package owners.