sidecar

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookResultFromHostedResult added in v0.7.0

func HookResultFromHostedResult(result *backend.ProcessHookEventResult, accessMode backend.HostedAccessMode) hook.Result

Types

type Server

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

func New

func New(sessionDir string, client sidecarClient, sessionID, agentName string, accessMode backend.HostedAccessMode, diagnostics diagnostic.Logger) (*Server, error)

New creates a new sidecar server.

func (*Server) AccessModePath added in v0.6.0

func (s *Server) AccessModePath() string

func (*Server) RuntimeCore added in v0.7.0

func (s *Server) RuntimeCore() *runtimecore.Core

func (*Server) RuntimeFailureResult added in v0.7.0

func (s *Server) RuntimeFailureResult(event hook.Event, err error) hook.Result

func (*Server) SocketPath

func (s *Server) SocketPath() string

func (*Server) StartControlPlane added in v0.7.0

func (s *Server) StartControlPlane(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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