event

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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 {
	PodName       string
	ContainerName 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

func (*Event) FormatText added in v0.9.0

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

Jump to

Keyboard shortcuts

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