observability

package
v0.0.0-...-599ae38 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

* Copyright FMR LLC <[email protected]> * * SPDX-License-Identifier: Apache

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventDataRef

type EventDataRef interface {
	GetEvents(ctx context.Context) ([]EventRecord, error)
}

type EventFilterCriteria

type EventFilterCriteria struct {
	FilterCriteria map[string]string
	StartTime      time.Time
	EndTime        time.Time
}

type EventRecord

type EventRecord struct {
	EventId        string
	Title          string
	Message        string
	Reason         string
	InvolvedObject map[string]string
	Source         map[string]string
	DateHappened   time.Time
	Type           string
}

EventRecord represents a single event

type EventRetriever

type EventRetriever interface {
	Retrieve(EventFilterCriteria) EventDataRef
	AddFilters(name string, namespace string) map[string]string
}

Directories

Path Synopsis
* Copyright FMR LLC <[email protected]> * * SPDX-License-Identifier: Apache
* Copyright FMR LLC <[email protected]> * * SPDX-License-Identifier: Apache

Jump to

Keyboard shortcuts

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