Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Command *cobra.Command
)
Functions ¶
This section is empty.
Types ¶
type CapturedPacket ¶
type CapturedPacket struct { SrcIP string `json:"srcIP" yaml:"srcIP"` DstIP string `json:"dstIP" yaml:"dstIP"` Length uint16 `json:"length" yaml:"length"` IPHeader *v1alpha1.IPHeader `json:"ipHeader,omitempty" yaml:"ipHeader,omitempty"` IPv6Header *v1alpha1.IPv6Header `json:"ipv6Header,omitempty" yaml:"ipv6Header,omitempty"` TransportHeader *v1alpha1.TransportHeader `json:"transportHeader,omitempty" yaml:"tranportHeader,omitempty"` }
type Response ¶
type Response struct { Name string `json:"name" yaml:"name"` // Traceflow name Phase v1alpha1.TraceflowPhase `json:"phase,omitempty" yaml:"phase,omitempty"` // Traceflow phase Source string `json:"source,omitempty" yaml:"source,omitempty"` // Traceflow source, e.g. "default/pod0" Destination string `json:"destination,omitempty" yaml:"destination,omitempty"` // Traceflow destination, e.g. "default/pod1" NodeResults []v1alpha1.NodeResult `json:"results,omitempty" yaml:"results,omitempty"` // Traceflow node results CapturedPacket *CapturedPacket `json:"capturedPacket,omitempty" yaml:"capturedPacket,omitempty"` // Captured packet in live-traffic Traceflow }
Response is the response of antctl Traceflow.
Click to show internal directories.
Click to hide internal directories.