package client

import "github.com/uber/jaeger-client-go/crossdock/client"

Index

Constants

const (

	// RoleS1 is the name of the role for server S1
	RoleS1 = "S1"

	// RoleS2 is the name of the role for server S2
	RoleS2 = "S2"

	// RoleS3 is the name of the role for server S3
	RoleS3 = "S3"
)

Different parameter keys and values used by the system

Types

type Client

type Client struct {
	ClientHostPort string
	ServerPortHTTP string
	// contains filtered or unexported fields
}

Client is a controller for the tests

func (*Client) AsyncStart

func (c *Client) AsyncStart() error

AsyncStart begins a Crossdock client in the background, but does not return until it started serving.

func (*Client) Close

func (c *Client) Close() error

Close stops the client

func (*Client) Listen

func (c *Client) Listen() error

Listen initializes the server

func (*Client) Serve

func (c *Client) Serve() error

Serve starts service crossdock traffic. This is a blocking call.

func (*Client) Start

func (c *Client) Start() error

Start begins a blocking Crossdock client

func (*Client) URL

func (c *Client) URL() string

URL returns a URL that the client can be accessed on

Source Files

client.go constants.go trace.go

Version
v2.30.0+incompatible (latest)
Published
Dec 7, 2021
Platform
linux/amd64
Imports
11 packages
Last checked
7 hours ago

Tools for package owners.