endpoint

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package endpoint resolves public Drupal service endpoints from sitectl ingress route catalogs.

Index

Constants

View Source
const (
	ResolutionTraefik = plugin.IngressRouteResolutionTraefik
	ResolutionCatalog = plugin.IngressRouteResolutionCatalog
)
View Source
const (
	// JSONAPIRoute is Drupal's public JSON:API endpoint route name.
	JSONAPIRoute = "jsonapi"
)

Variables

This section is empty.

Functions

func Provider

func Provider() plugin.IngressRouteProvider

Provider returns the Drupal ingress route provider shared by route discovery and JSON:API endpoint resolution.

Types

type Resolution

type Resolution = plugin.IngressRouteResolution

Resolution identifies the route source selected for an endpoint.

type Resolved

type Resolved = plugin.ResolvedIngressRoute

Resolved pairs a plugin-owned route with its public URL.

func JSONAPI

func JSONAPI(cmd *cobra.Command, ctx *config.Context) (Resolved, error)

JSONAPI resolves Drupal's public JSON:API root for a sitectl context.

Jump to

Keyboard shortcuts

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