go.opencensus.iogo.opencensus.io/exporter/jaeger/internal/gen-go/aggregation_validator Index | Files | Directories

package aggregation_validator

import "go.opencensus.io/exporter/jaeger/internal/gen-go/aggregation_validator"

Index

Variables

var GoUnusedProtection__ int

Types

type AggregationValidator

type AggregationValidator interface {
	// Parameters:
	//  - TraceId
	ValidateTrace(ctx context.Context, traceId string) (r *ValidateTraceResponse, err error)
}

type AggregationValidatorClient

type AggregationValidatorClient struct {
	// contains filtered or unexported fields
}

func NewAggregationValidatorClient

func NewAggregationValidatorClient(c thrift.TClient) *AggregationValidatorClient

func NewAggregationValidatorClientFactory

func NewAggregationValidatorClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AggregationValidatorClient

Deprecated: Use NewAggregationValidator instead

func NewAggregationValidatorClientProtocol

func NewAggregationValidatorClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AggregationValidatorClient

Deprecated: Use NewAggregationValidator instead

func (*AggregationValidatorClient) ValidateTrace

func (p *AggregationValidatorClient) ValidateTrace(ctx context.Context, traceId string) (r *ValidateTraceResponse, err error)

Parameters:

type AggregationValidatorProcessor

type AggregationValidatorProcessor struct {
	// contains filtered or unexported fields
}

func NewAggregationValidatorProcessor

func NewAggregationValidatorProcessor(handler AggregationValidator) *AggregationValidatorProcessor

func (*AggregationValidatorProcessor) AddToProcessorMap

func (p *AggregationValidatorProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*AggregationValidatorProcessor) GetProcessorFunction

func (p *AggregationValidatorProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*AggregationValidatorProcessor) Process

func (p *AggregationValidatorProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*AggregationValidatorProcessor) ProcessorMap

type AggregationValidatorValidateTraceArgs

type AggregationValidatorValidateTraceArgs struct {
	TraceId string `thrift:"traceId,1,required" db:"traceId" json:"traceId"`
}

Attributes:

func NewAggregationValidatorValidateTraceArgs

func NewAggregationValidatorValidateTraceArgs() *AggregationValidatorValidateTraceArgs

func (*AggregationValidatorValidateTraceArgs) GetTraceId

func (*AggregationValidatorValidateTraceArgs) Read

func (*AggregationValidatorValidateTraceArgs) ReadField1

func (*AggregationValidatorValidateTraceArgs) String

func (*AggregationValidatorValidateTraceArgs) Write

type AggregationValidatorValidateTraceResult

type AggregationValidatorValidateTraceResult struct {
	Success *ValidateTraceResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

func NewAggregationValidatorValidateTraceResult

func NewAggregationValidatorValidateTraceResult() *AggregationValidatorValidateTraceResult

func (*AggregationValidatorValidateTraceResult) GetSuccess

func (*AggregationValidatorValidateTraceResult) IsSetSuccess

func (*AggregationValidatorValidateTraceResult) Read

func (*AggregationValidatorValidateTraceResult) ReadField0

func (*AggregationValidatorValidateTraceResult) String

func (*AggregationValidatorValidateTraceResult) Write

type ValidateTraceResponse

type ValidateTraceResponse struct {
	Ok         bool  `thrift:"ok,1,required" db:"ok" json:"ok"`
	TraceCount int64 `thrift:"traceCount,2,required" db:"traceCount" json:"traceCount"`
}

Attributes:

var AggregationValidatorValidateTraceResult_Success_DEFAULT *ValidateTraceResponse

func NewValidateTraceResponse

func NewValidateTraceResponse() *ValidateTraceResponse

func (*ValidateTraceResponse) GetOk

func (p *ValidateTraceResponse) GetOk() bool

func (*ValidateTraceResponse) GetTraceCount

func (p *ValidateTraceResponse) GetTraceCount() int64

func (*ValidateTraceResponse) Read

func (*ValidateTraceResponse) ReadField1

func (p *ValidateTraceResponse) ReadField1(iprot thrift.TProtocol) error

func (*ValidateTraceResponse) ReadField2

func (p *ValidateTraceResponse) ReadField2(iprot thrift.TProtocol) error

func (*ValidateTraceResponse) String

func (p *ValidateTraceResponse) String() string

func (*ValidateTraceResponse) Write

func (p *ValidateTraceResponse) Write(oprot thrift.TProtocol) error

Source Files

GoUnusedProtection__.go aggregation_validator-consts.go aggregation_validator.go

Directories

PathSynopsis
exporter/jaeger/internal/gen-go/aggregation_validator/aggregation_validator-remote
Version
v0.2.0
Published
Jan 30, 2018
Platform
js/wasm
Imports
5 packages
Last checked
9 minutes ago

Tools for package owners.