Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetworkPath ¶
func NewNetworkPath(traceroute traceroute.Component, eventPlatform eventplatform.Component) types.Bundle
Types ¶
type GetNetworkPathHandler ¶
type GetNetworkPathHandler struct {
// contains filtered or unexported fields
}
func NewGetNetworkPathHandler ¶
func NewGetNetworkPathHandler(traceroute traceroute.Component, eventPlatform eventplatform.Component) *GetNetworkPathHandler
func (*GetNetworkPathHandler) Run ¶
func (h *GetNetworkPathHandler) Run( ctx context.Context, task *types.Task, _ *privateconnection.PrivateCredentials, ) (interface{}, error)
type GetNetworkPathInputs ¶
type GetNetworkPathInputs struct {
Hostname string `json:"hostname"`
Port uint16 `json:"port"`
SourceService string `json:"sourceService,omitempty"`
DestinationService string `json:"destinationService,omitempty"`
MaxTTL uint8 `json:"maxTtl,omitempty"`
Protocol payload.Protocol `json:"protocol,omitempty"`
TCPMethod payload.TCPMethod `json:"tcpMethod,omitempty"`
TimeoutMs int64 `json:"timeoutMs,omitempty"`
TracerouteQueries int `json:"tracerouteQueries,omitempty"`
E2eQueries int `json:"e2eQueries,omitempty"`
Namespace string `json:"namespace,omitempty"`
// SendToBackend forwards traceroute data to the network path backend.
SendToBackend bool `json:"sendToBackend,omitempty"`
}
type NetworkPathBundle ¶
type NetworkPathBundle struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.