Documentation ¶
Index ¶
Constants ¶
View Source
const ( PythonClientImage string = "docker.io/qdrshipshape/clients-python:latest" BasicSender PythonClientCmd = "basic.sender.py" BasicReceiver PythonClientCmd = "basic.receiver.py" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientBuilder ¶
type ClientBuilder struct {
// contains filtered or unexported fields
}
func NewClientBuilder ¶
func NewClientBuilder(name string, command PythonClientCmd, ctx framework.ContextData, url string) *ClientBuilder
func (*ClientBuilder) Build ¶
func (s *ClientBuilder) Build() *PythonClient
func (*ClientBuilder) EnableTracing ¶
func (s *ClientBuilder) EnableTracing() *ClientBuilder
func (*ClientBuilder) EnvVar ¶
func (s *ClientBuilder) EnvVar(variable, value string) *ClientBuilder
func (*ClientBuilder) ImageCustom ¶
func (s *ClientBuilder) ImageCustom(image string) *ClientBuilder
func (*ClientBuilder) Timeout ¶
func (s *ClientBuilder) Timeout(timeout int) *ClientBuilder
type PythonClient ¶
type PythonClient struct {
amqp.AmqpClientCommon
}
func DeployPythonClient ¶
func DeployPythonClient(ctx *framework.ContextData, icName, clientName, address string, debug bool, command PythonClientCmd, numberOfClients, msgCount, msgSize, timeout int) []*PythonClient
func (*PythonClient) Result ¶
func (p *PythonClient) Result() amqp.ResultData
type PythonClientCmd ¶
type PythonClientCmd string
Click to show internal directories.
Click to hide internal directories.