Documentation ¶
Overview ¶
Package tgc contains controller implementation which reacts to config map events, registration, start and teardown of tgen, tapp instances
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProtocolClient ¶
func RegisterProtocolClient(protocol string, client util.ProtocolClientModule)
RegisterProtocolClient registers the given protocol client with given key
func RegisterProtocolServer ¶
func RegisterProtocolServer(protocol string, server util.ProtocolServerModule)
RegisterProtocolServer registers the given protocol server with given key
Types ¶
type TGController ¶
type TGController interface { StartTGC() StopTGC() }
TGController traffic gen controller
func NewPodTGController ¶
func NewPodTGController(clientSet kubernetes.Interface, podName, nodeName, namespace string, readBufferSize *int, stopper chan struct{}, reg *prometheus.Registry) TGController
NewPodTGController creates traffic gen controller for the pod
Click to show internal directories.
Click to hide internal directories.