event

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 0 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 {
	EventType  string
	Namespace  string
	Kind       string
	ApiVersion string
	Name       string
	Info       string
}

Event represent an event got from k8s api server

func (*Event) Message

func (e *Event) Message() (msg string)

Message returns event message in standard format.

type InformerEvent

type InformerEvent struct {
	Key          string
	EventType    string
	Namespace    string
	ResourceType string
}

InformerEvent indicate the informerEvent

Jump to

Keyboard shortcuts

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