Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IstiodLogFilterTask = inspectiontaskbase.NewLogFilterTask( csmcp.IstiodLogFilterTaskID, k8scontainer.ListLogEntriesTaskID.Ref(), func(ctx context.Context, l *log.Log) bool { return l.NodeReader.ReadStringOrDefault(pathContainerName, "") == "discovery" && strings.Contains(l.NodeReader.ReadStringOrDefault(pathPodName, ""), "istiod") }, )
IstiodLogFilterTask filters container logs to Istiod discovery logs.
View Source
var LogGrouperTask = inspectiontaskbase.NewLogGrouperTask( csmcp.LogGrouperTaskID, csmcp.IstiodLogFilterTaskID.Ref(), func(ctx context.Context, l *log.Log) string { return "csmcp" }, )
LogGrouperTask groups Istiod discovery logs by a constant key "csmcp" to process all logs in chronological order.
View Source
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask( csmcp.LogToTimelineMapperTaskID, &csmcpTimelineMapper{}, )
LogToTimelineMapperTask is the task that maps in-cluster Control Plane Logs to timelines.
Functions ¶
func Register ¶
func Register(registry coreinspection.InspectionTaskRegistry) error
Register registers the in-cluster CSM CP log parser tasks to the core inspection registry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.