kind

package
v0.0.0-...-5425248 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 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 Announcement

type Announcement struct {
	Type               Kind
	ReferencedObjectID interface{}
}

Announcement is a struct for messages between various components of FSM signaling a need for a change in Sidecar proxy configuration

type Kind

type Kind string

Kind is used to record the kind of announcement

const (
	// SidecarUpdate is the event kind used to trigger an update to subscribed sidecars
	SidecarUpdate Kind = "sidecar-update"

	// SidecarPodAdded is the type of announcement emitted when we observe an addition of a sidecar Pod
	SidecarPodAdded Kind = "sidecar-pod-added"

	// SidecarPodDeleted the type of announcement emitted when we observe the deletion of a sidecar Pod
	SidecarPodDeleted Kind = "sidecar-pod-deleted"

	// SidecarPodUpdated is the type of announcement emitted when we observe an update to a sidecar Pod
	SidecarPodUpdated Kind = "sidecar-pod-updated"
)

func (Kind) String

func (at Kind) String() string

Jump to

Keyboard shortcuts

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