blob: 5a7d6fed1a43270b9edc8223b2b98d8793a5ffc4 [file] [log] [blame]
package sink
import (
"context"
)
// MetricName used for all successful sends by a Sink implementation.
const MetricName = "machine_change_send_success"
// Sink notifies a machine that it's Description has changed.
type Sink interface {
// Send a machine.Description from the server to the machine.
Send(ctx context.Context, machineID string) error
}