event

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Name      string
	Container string
	Namespace string
	Reason    string
	Events    string
	Logs      string
	Labels    map[string]string
}

Event used to represent info needed by providers to send messages

func (*Event) FormatHtml added in v0.8.0

func (e *Event) FormatHtml(clusterName, text string) string

func (*Event) FormatMarkdown added in v0.8.0

func (e *Event) FormatMarkdown(clusterName, text, delimiter string) string

Jump to

Keyboard shortcuts

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