configsync

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionLister

type ConnectionLister interface {
	List(ctx context.Context, scope string) ([]configsyncconn.Connection, error)
}

ConnectionLister reads persisted data-plane connection state, optionally filtered by opaque scope.

type ListConnectionsHandler

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

func NewListConnectionsHandler

func NewListConnectionsHandler(lister ConnectionLister) *ListConnectionsHandler

func (*ListConnectionsHandler) Handle

func (h *ListConnectionsHandler) Handle(c *fiber.Ctx) error

Handle godoc @Summary List config-sync data-plane connections @Description Returns the observed data-plane Sync connections, optionally filtered by opaque scope. Answers "is this data plane online?". @Tags config-sync @Produce json @Security BearerAuth @Param scope query string false "Filter by opaque scope (exact match); omit for all" @Success 200 {object} response.ListConnectionsResponse @Failure 401 {object} httpio.ErrorBody @Failure 500 {object} httpio.ErrorBody @Router /v1/config-sync/connections [get]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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