events

package
v1.8.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package events is Talos machine events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler watches machine status resource and turns each resource change into an event.

func NewHandler

func NewHandler(ctx context.Context, st state.State, machineIndex int) (*Handler, error)

NewHandler creates new events handler.

func (*Handler) Run

func (h *Handler) Run(ctx context.Context, logger *zap.Logger) error

Run starts the events handler.

Jump to

Keyboard shortcuts

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