Help us shape the future of Go! Take the 2026 Go Developer Survey

applicationruntimeapi

package
v0.4.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(secrets SecretService, verifier RuntimeVerifier) (*Handler, error)

func NewBound added in v0.4.8

func NewBound(secrets SecretService, verifier RuntimeVerifier, app string) (*Handler, error)

NewBound creates the per-application Runtime Broker surface. The application identity is already fixed by mTLS/runtime identity, so canonical bound routes do not repeat /apps/{app}. Legacy app-qualified routes remain available for compatibility with existing clients.

func NewBoundWithoutCapabilities added in v0.4.8

func NewBoundWithoutCapabilities(secrets SecretService, verifier RuntimeVerifier, app string) (*Handler, error)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RuntimeVerifier

type RuntimeVerifier interface {
	Verify(context.Context, string, string) error
}

Jump to

Keyboard shortcuts

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