sink

package
v0.0.0-...-c684e27 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const MetricName = "machine_change_send_success"

MetricName used for all successful sends by a Sink implementation.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink interface {
	// Send a machine.Description from the server to the machine.
	Send(ctx context.Context, machineID string) error
}

Sink notifies a machine that it's Description has changed.

Directories

Path Synopsis
Package sse implements sink.Sink using Server-Sent Events.
Package sse implements sink.Sink using Server-Sent Events.

Jump to

Keyboard shortcuts

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