tgc

package
v0.0.0-...-be71968 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

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

Jump to

Keyboard shortcuts

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