contract

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Overview

Package contract exposes authorized Ctrlplane dashboard intents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register binds an initialized standalone control plane to the dashboard.

func RegisterWithResolver

func RegisterWithResolver(d *dispatcher.Dispatcher, reg dash.Registry, wreg dash.WardenRegistry, deps Deps) error

RegisterWithResolver validates bindings before publishing a lazy contributor.

Types

type Deps

type Deps struct {
	ControlPlane func() *app.CtrlPlane
	Ready        func() bool
	Logger       *slog.Logger
}

Deps resolves initialized services without coupling registration to startup.

Jump to

Keyboard shortcuts

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