mqreactiverouter

package module
v0.0.0-...-ff62bea Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatchMQRouter

func NewWatchMQRouter(ctx context.Context, cfg *Config) (*watchMQRouter, error)

Types

type BaselineWorkload

type BaselineWorkload struct {
	Kind      string
	Namespace string
	Name      string
}

A BaselineWorkload identifies the baseline workload.

type Config

type Config struct {
	// Logger interface
	Log *slog.Logger
	// Routeserver address (just host and port)
	RouteServerAddr string
	// Baseline workload reference
	Baseline *BaselineWorkload
	// Sandbox reference, nil if not running within a sandbox
	Sandbox *Sandbox
}

Config provides the information to create a MQRouter

type Sandbox

type Sandbox struct {
	Name string
}

A Sandbox information

Jump to

Keyboard shortcuts

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