Documentation ¶
Index ¶
- func Exec(name string, arg ...string) error
- func GetClientSet() (*kubernetes.Clientset, error)
- func IsIPv4(ipFamily string) bool
- func IsIPv6(ipFamily string) bool
- func ParseNFQLB(output string) int
- func PodExec(pod *corev1.Pod, container string, command []string) (string, error)
- func PodHasNetworkInterface(pod *corev1.Pod, container string, interfaceSubName string) (bool, error)
- func VIPPort(vip string, port int) string
- func WithTimeout(timeout string) option
- type CTraffic
- type MConnect
- type StreamStatus
- type TrafficGenerator
- type TrafficGeneratorHost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientSet ¶
func GetClientSet() (*kubernetes.Clientset, error)
func ParseNFQLB ¶ added in v0.8.0
func PodHasNetworkInterface ¶
func WithTimeout ¶ added in v1.0.4
func WithTimeout(timeout string) option
Types ¶
type CTraffic ¶ added in v0.8.0
func (*CTraffic) AnalyzeTraffic ¶ added in v0.8.0
type MConnect ¶ added in v0.8.0
type MConnect struct {
NConn int
}
func (*MConnect) AnalyzeTraffic ¶ added in v0.8.0
type StreamStatus ¶ added in v0.8.0
func ParseTargetWatch ¶ added in v0.8.0
func ParseTargetWatch(output string) []*StreamStatus
type TrafficGenerator ¶ added in v0.8.0
type TrafficGeneratorHost ¶ added in v0.8.0
type TrafficGeneratorHost struct {
TrafficGeneratorCommand string
}
func (*TrafficGeneratorHost) SendTraffic ¶ added in v0.8.0
func (tgh *TrafficGeneratorHost) SendTraffic(tg TrafficGenerator, trench string, namespace string, ipPort string, protocol string, options ...option) (map[string]int, int)
Click to show internal directories.
Click to hide internal directories.