chqkubeeventsexporter

package module
v0.0.0-...-ee43f43 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kind           = "kind"
	Name           = "name"
	Namespace      = "namespace"
	FirstTimestamp = "firstTimestamp"
	Message        = "message"
	Reason         = "reason"
	Type           = "type"
	Normal         = "Normal"
	Warning        = "Warning"
)

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() exporter.Factory

Types

type Config

type Config struct {
	confighttp.ClientConfig `mapstructure:",squash"`
}

type InvolvedObject

type InvolvedObject struct {
	Kind      string            `json:"kind"`
	Name      string            `json:"name"`
	Namespace string            `json:"namespace"`
	Metadata  map[string]string `json:"metadata"`
}

type KubernetesEvent

type KubernetesEvent struct {
	InvolvedObject InvolvedObject `json:"involvedObject"`
	Timestamp      string         `json:"timestamp"`
	Message        string         `json:"message"`
	Reason         string         `json:"reason"`
	Type           string         `json:"type"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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