dependency

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Links []*DependencyLink `thrift:"links,1,required" db:"links" json:"links"`
}

Attributes:

  • Links
var DependencyGetDependenciesForTraceResult_Success_DEFAULT *Dependencies
var DependencySaveDependenciesArgs_Dependencies_DEFAULT *Dependencies

func NewDependencies

func NewDependencies() *Dependencies
func (p *Dependencies) GetLinks() []*DependencyLink

func (*Dependencies) Read

func (p *Dependencies) Read(iprot thrift.TProtocol) error

func (*Dependencies) ReadField1

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

func (*Dependencies) String

func (p *Dependencies) String() string

func (*Dependencies) Write

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

type Dependency

type Dependency interface {
	// Parameters:
	//  - TraceId
	GetDependenciesForTrace(ctx context.Context, traceId string) (r *Dependencies, err error)
	// Parameters:
	//  - Dependencies
	SaveDependencies(ctx context.Context, dependencies *Dependencies) (err error)
}

type DependencyClient

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

func NewDependencyClient

func NewDependencyClient(c thrift.TClient) *DependencyClient

func NewDependencyClientFactory deprecated

func NewDependencyClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DependencyClient

Deprecated: Use NewDependency instead

func NewDependencyClientProtocol deprecated

func NewDependencyClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DependencyClient

Deprecated: Use NewDependency instead

func (*DependencyClient) GetDependenciesForTrace

func (p *DependencyClient) GetDependenciesForTrace(ctx context.Context, traceId string) (r *Dependencies, err error)

Parameters:

  • TraceId

func (*DependencyClient) SaveDependencies

func (p *DependencyClient) SaveDependencies(ctx context.Context, dependencies *Dependencies) (err error)

Parameters:

  • Dependencies

type DependencyGetDependenciesForTraceArgs

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

Attributes:

  • TraceId

func NewDependencyGetDependenciesForTraceArgs

func NewDependencyGetDependenciesForTraceArgs() *DependencyGetDependenciesForTraceArgs

func (*DependencyGetDependenciesForTraceArgs) GetTraceId

func (*DependencyGetDependenciesForTraceArgs) Read

func (*DependencyGetDependenciesForTraceArgs) ReadField1

func (*DependencyGetDependenciesForTraceArgs) String

func (*DependencyGetDependenciesForTraceArgs) Write

type DependencyGetDependenciesForTraceResult

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

Attributes:

  • Success

func NewDependencyGetDependenciesForTraceResult

func NewDependencyGetDependenciesForTraceResult() *DependencyGetDependenciesForTraceResult

func (*DependencyGetDependenciesForTraceResult) GetSuccess

func (*DependencyGetDependenciesForTraceResult) IsSetSuccess

func (*DependencyGetDependenciesForTraceResult) Read

func (*DependencyGetDependenciesForTraceResult) ReadField0

func (*DependencyGetDependenciesForTraceResult) String

func (*DependencyGetDependenciesForTraceResult) Write

type DependencyLink struct {
	Parent string `thrift:"parent,1,required" db:"parent" json:"parent"`
	Child  string `thrift:"child,2,required" db:"child" json:"child"`
	// unused field # 3
	CallCount int64 `thrift:"callCount,4,required" db:"callCount" json:"callCount"`
}

Attributes:

  • Parent
  • Child
  • CallCount
func NewDependencyLink() *DependencyLink

func (*DependencyLink) GetCallCount

func (p *DependencyLink) GetCallCount() int64

func (*DependencyLink) GetChild

func (p *DependencyLink) GetChild() string

func (*DependencyLink) GetParent

func (p *DependencyLink) GetParent() string

func (*DependencyLink) Read

func (p *DependencyLink) Read(iprot thrift.TProtocol) error

func (*DependencyLink) ReadField1

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

func (*DependencyLink) ReadField2

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

func (*DependencyLink) ReadField4

func (p *DependencyLink) ReadField4(iprot thrift.TProtocol) error

func (*DependencyLink) String

func (p *DependencyLink) String() string

func (*DependencyLink) Write

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

type DependencyProcessor

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

func NewDependencyProcessor

func NewDependencyProcessor(handler Dependency) *DependencyProcessor

func (*DependencyProcessor) AddToProcessorMap

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

func (*DependencyProcessor) GetProcessorFunction

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

func (*DependencyProcessor) Process

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

func (*DependencyProcessor) ProcessorMap

func (p *DependencyProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type DependencySaveDependenciesArgs

type DependencySaveDependenciesArgs struct {
	Dependencies *Dependencies `thrift:"dependencies,1" db:"dependencies" json:"dependencies"`
}

Attributes:

  • Dependencies

func NewDependencySaveDependenciesArgs

func NewDependencySaveDependenciesArgs() *DependencySaveDependenciesArgs

func (*DependencySaveDependenciesArgs) GetDependencies

func (p *DependencySaveDependenciesArgs) GetDependencies() *Dependencies

func (*DependencySaveDependenciesArgs) IsSetDependencies

func (p *DependencySaveDependenciesArgs) IsSetDependencies() bool

func (*DependencySaveDependenciesArgs) Read

func (*DependencySaveDependenciesArgs) ReadField1

func (*DependencySaveDependenciesArgs) String

func (*DependencySaveDependenciesArgs) Write

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL