websocket

package
v0.0.0-...-a038b7b Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Name      string                                     `json:"name,omitempty"`
	Namespace string                                     `json:"namespace,omitempty"`
	State     uselessmachinev1alpha1.UselessMachineState `json:"state,omitempty"`
}

Message struct

type Notifier

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

Notifier struct

func NewNotifier

func NewNotifier(m *melody.Melody, c client.Client) *Notifier

NewNotifier .

func (*Notifier) BroadcastUpdates

func (n *Notifier) BroadcastUpdates(ul *uselessmachinev1alpha1.UselessMachineList) error

BroadcastUpdates to all

Jump to

Keyboard shortcuts

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