Documentation ¶
Index ¶
- func Cleanup(nodes []v1.Node)
- func CreateConnection(ip string) (*client, func() error)
- func PrintCounters(c pb.CaptureServiceClient, req *pb.CountersRequest, reqCtx *ReqContext)
- func PrintHCNLogs(c pb.HCNServiceClient, req *pb.HCNRequest, reqCtx *ReqContext)
- func PrintVFPCounters(c pb.CaptureServiceClient, req *pb.VFPCountersRequest, reqCtx *ReqContext)
- func RunCaptureStream(c pb.CaptureServiceClient, req *pb.CaptureRequest, reqCtx *ReqContext)
- func RunStopCapture(c pb.CaptureServiceClient, reqCtx *ReqContext)
- func ValidateIPAddrs(ips []string) error
- func ValidateMACAddrs(macs []string) error
- func ValidateNodes(nodes []string, winNodes []string) error
- func ValidatePktType(pktType string) error
- func ValidatePods(pods []string, podNames []string) error
- func ValidatePorts(ports []string) error
- func ValidateProtocols(protocols []string) error
- func ValidateTime(time int32) error
- type Node
- type ReqContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConnection ¶
func PrintCounters ¶
func PrintCounters(c pb.CaptureServiceClient, req *pb.CountersRequest, reqCtx *ReqContext)
func PrintHCNLogs ¶
func PrintHCNLogs(c pb.HCNServiceClient, req *pb.HCNRequest, reqCtx *ReqContext)
func PrintVFPCounters ¶
func PrintVFPCounters(c pb.CaptureServiceClient, req *pb.VFPCountersRequest, reqCtx *ReqContext)
func RunCaptureStream ¶
func RunCaptureStream(c pb.CaptureServiceClient, req *pb.CaptureRequest, reqCtx *ReqContext)
func RunStopCapture ¶
func RunStopCapture(c pb.CaptureServiceClient, reqCtx *ReqContext)
func ValidateIPAddrs ¶
func ValidateMACAddrs ¶
func ValidateNodes ¶
func ValidatePktType ¶
func ValidatePods ¶
func ValidatePorts ¶
func ValidateProtocols ¶
func ValidateTime ¶
Types ¶
type ReqContext ¶
func (*ReqContext) Done ¶
func (rq *ReqContext) Done()
Click to show internal directories.
Click to hide internal directories.