Versions in this module Expand all Collapse all v1 v1.0.0 Jan 18, 2024 Changes in this version + type CaptureArgs struct + CaptureDurationSeconds int + CaptureList []struct{ ... } + Filter string + type CaptureTaskResult struct + Message string + Result string + Spec *TaskSpec + Status string + TaskID int + type ControllerService interface + Capture func(ctx context.Context, capture *CaptureArgs) (int, error) + CaptureList func(ctx context.Context) (map[int][]*CaptureTaskResult, error) + Diagnose func(ctx context.Context, args *skoopContext.TaskConfig) (int64, error) + DiagnoseList func(ctx context.Context) ([]DiagnoseTaskResult, error) + DownloadCaptureFile func(ctx context.Context, id int) (string, int64, io.ReadCloser, error) + GetAgentList func() []*rpc.AgentInfo + GetExporterConfig func(ctx context.Context) (*exporter.InspServerConfig, error) + GetPodNodeInfoFromMetrics func(ctx context.Context, ts time.Time) (model.Vector, model.Vector, error) + NamespaceList func(ctx context.Context) ([]string, error) + NodeList func(ctx context.Context) ([]*Node, error) + PingMesh func(ctx context.Context, pingmesh *PingMeshArgs) (*PingMeshResult, error) + PodList func(ctx context.Context) ([]*Pod, error) + QueryPrometheus func(ctx context.Context, query string, ts time.Time) (model.Value, promv1.Warnings, error) + QueryRangeEvent func(ctx context.Context, start, end time.Time, filters map[string][]string, ...) ([]Event, error) + UpdateExporterConfig func(ctx context.Context, cfg *exporter.InspServerConfig) error + func NewControllerService() (ControllerService, error) + type DiagnoseTaskResult struct + FinishTime string + Message string + Result string + StartTime string + Status string + TaskConfig string + TaskID int64 + type Event struct + Node string + Time int + type Latency struct + LatencyAvg float64 + LatencyMax float64 + LatencyMin float64 + Source *NodeInfo + Target *NodeInfo + type Node struct + Labels map[string]string + Name string + type NodeInfo struct + Name string + Namespace string + Nodename string + Type string + type PingMeshArgs struct + PingMeshList []NodeInfo + type PingMeshResult struct + Latencies []Latency + Nodes []NodeInfo + type Pod struct + Labels map[string]string + Name string + Namespace string + Nodename string + type TaskSpec struct + Name string + Namespace string + TaskType string v1.0.0-rc.1 Apr 12, 2024