blueprint

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blueprint

type Blueprint struct {
	Service string      `json:"service" yaml:"service"`
	HTTP    []HTTPRoute `json:"http"    yaml:"http"`
	Plugins []Plugin    `json:"plugins" yaml:"plugins"`
	Queues  []Queue     `json:"queues"  yaml:"queues"`
}

func Merge

func Merge(base, overlay Blueprint) (Blueprint, error)

type HTTPRoute

type HTTPRoute struct {
	Name     string `json:"name"     yaml:"name"`
	Method   string `json:"method"   yaml:"method"`
	Route    string `json:"route"    yaml:"route"`
	Handler  string `json:"handler"  yaml:"handler"`
	Override bool   `json:"override" yaml:"override"`
	Remove   bool   `json:"remove"   yaml:"remove"`
}

type Plugin

type Plugin struct {
	Name     string            `json:"name"     yaml:"name"`
	Config   map[string]string `json:"config"   yaml:"config"`
	Override bool              `json:"override" yaml:"override"`
	Remove   bool              `json:"remove"   yaml:"remove"`
}

type Queue

type Queue struct {
	Name       string `json:"name"       yaml:"name"`
	Publisher  string `json:"publisher"  yaml:"publisher"`
	Subscriber string `json:"subscriber" yaml:"subscriber"`
	Topic      string `json:"topic"      yaml:"topic"`
	Override   bool   `json:"override"   yaml:"override"`
	Remove     bool   `json:"remove"     yaml:"remove"`
}

Jump to

Keyboard shortcuts

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