redevpluginintegration

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRouteRole

func WithRouteRole(r *http.Request, role RouteRole) *http.Request

Types

type Integration

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

func New

func New(ctx context.Context, opts Options) (*Integration, error)

func (*Integration) Close

func (i *Integration) Close() error

func (*Integration) Handler

func (i *Integration) Handler() http.Handler

type Options

type Options struct {
	Logger             *slog.Logger
	StateDir           string
	StateRoot          string
	ConfigPath         string
	ResolveSessionMeta func(channelID string) (*session.Meta, bool)
	Audit              *auditlog.Store
	Diagnostics        *diagnostics.Store
	Containers         *containers.Adapter
}

type RouteRole

type RouteRole string
const (
	RouteRoleEnvTrusted    RouteRole = "env_trusted"
	RouteRolePluginSandbox RouteRole = "plugin_sandbox"
)

Jump to

Keyboard shortcuts

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