control

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Exchange = "superplane.runner-control"

Variables

This section is empty.

Functions

func Consume

func Consume(ctx context.Context, gatewayID string, handle func(Notification)) error

func ConsumeWithReconnect

func ConsumeWithReconnect(ctx context.Context, gatewayID string, handle func(Notification))

func Publish

func Publish(notification Notification) error

Types

type Notification

type Notification struct {
	RunnerID string `json:"runner_id,omitempty"`
	FleetID  string `json:"fleet_id,omitempty"`
}

Jump to

Keyboard shortcuts

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