googlecloudlogk8sevent_impl

package
v0.51.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask[struct{}](googlecloudlogk8sevent_contract.LogToTimelineMapperTaskID, &KubernetesEventLogToTimelineMapperSetting{}, inspectioncore_contract.FeatureTaskLabel(
	"Kubernetes Event Logs",
	"Gather kubernetes event logs and visualize these on the associated resource timeline.",
	enum.LogTypeEvent,
	2000,
	true,
	googlecloudinspectiontypegroup_contract.GCPK8sClusterInspectionTypes...,
))

Functions

func GenerateK8sEventQuery

func GenerateK8sEventQuery(clusterName string, projectId string, namespaceFilter *gcpqueryutil.SetFilterParseResult) string

GenerateK8sEventQuery generates a query for Kubernetes Event logs.

func Register

func Register(registry coreinspection.InspectionTaskRegistry) error

Register registers all googlecloudlogk8sevent inspection tasks to the registry.

Types

type K8sEventListLogEntriesTaskSetting

type K8sEventListLogEntriesTaskSetting struct {
}

func (*K8sEventListLogEntriesTaskSetting) DefaultResourceNames

func (k *K8sEventListLogEntriesTaskSetting) DefaultResourceNames(ctx context.Context) ([]string, error)

DefaultResourceNames implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

func (*K8sEventListLogEntriesTaskSetting) Dependencies

Dependencies implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

func (*K8sEventListLogEntriesTaskSetting) Description

Description implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

func (*K8sEventListLogEntriesTaskSetting) LogFilters

LogFilters implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

func (*K8sEventListLogEntriesTaskSetting) TaskID

TaskID implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

func (*K8sEventListLogEntriesTaskSetting) TimePartitionCount

func (k *K8sEventListLogEntriesTaskSetting) TimePartitionCount(ctx context.Context) (int, error)

TimePartitionCount implements googlecloudcommon_contract.ListLogEntriesTaskSetting.

type KubernetesEventLogToTimelineMapperSetting added in v0.50.0

type KubernetesEventLogToTimelineMapperSetting struct {
}

func (*KubernetesEventLogToTimelineMapperSetting) Dependencies added in v0.50.0

Dependencies implements inspectiontaskbase.LogToTimelineMapper.

func (*KubernetesEventLogToTimelineMapperSetting) GroupedLogTask added in v0.50.0

GroupedLogTask implements inspectiontaskbase.LogToTimelineMapper.

func (*KubernetesEventLogToTimelineMapperSetting) LogIngesterTask added in v0.50.0

LogIngesterTask implements inspectiontaskbase.LogToTimelineMapper.

func (*KubernetesEventLogToTimelineMapperSetting) ProcessLogByGroup added in v0.50.0

func (k *KubernetesEventLogToTimelineMapperSetting) ProcessLogByGroup(ctx context.Context, l *log.Log, cs *history.ChangeSet, builder *history.Builder, prevGroupData struct{}) (struct{}, error)

ProcessLogByGroup implements inspectiontaskbase.LogToTimelineMapper.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL