outgoing

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package outgoing posts OCM share lifecycle notifications to remote peers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender added in v1.2.0

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

Sender posts share lifecycle notifications through the shared outbound Poster.

func NewSender added in v1.2.0

func NewSender(poster *outbound.Poster) *Sender

NewSender wraps an outbound Poster for notification dispatch.

func (*Sender) Notify added in v1.2.0

func (s *Sender) Notify(
	ctx context.Context,
	targetHost string,
	providerID string,
	resourceType string,
	notificationType string,
	extra json.RawMessage,
) error

Notify sends one OCM notification to targetHost. extra is optional opaque JSON.

Jump to

Keyboard shortcuts

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