ws

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: BSD-3-Clause Imports: 46 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProxiedPermissions

func AddProxiedPermissions(m *authz.PermissionMatcher)

func LogBroadcaster

func LogBroadcaster() *logs.Broadcaster

func NewWebSocketHandler

func NewWebSocketHandler(p HandlerParams)

func Routes

func Routes() []middleware.EchoRoute

Types

type HandlerParams added in v3.2.0

type HandlerParams struct {
	AppCtx             context.Context
	Group              *echo.Group
	ProjectService     *project.ProjectService
	ContainerService   *container.ContainerService
	SwarmService       *swarm.SwarmService
	SystemService      *system.SystemService
	DiagnosticsService *diagnostics.DiagnosticsService
	AuthMiddleware     *auth.AuthMiddleware
	SettingsService    *settings.SettingsService
	Config             *config.Config
}

type WebSocketHandler

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

func (*WebSocketHandler) ActorDiagnosticsStream

func (h *WebSocketHandler) ActorDiagnosticsStream(c *echo.Context) error

func (*WebSocketHandler) ContainerExec

func (h *WebSocketHandler) ContainerExec(c *echo.Context) error

func (*WebSocketHandler) ContainerLogs

func (h *WebSocketHandler) ContainerLogs(c *echo.Context) error

func (*WebSocketHandler) ContainerStats

func (h *WebSocketHandler) ContainerStats(c *echo.Context) error

func (*WebSocketHandler) ContainersStats

func (h *WebSocketHandler) ContainersStats(c *echo.Context) error

func (*WebSocketHandler) DiagnosticsStream

func (h *WebSocketHandler) DiagnosticsStream(c *echo.Context) error

func (*WebSocketHandler) ProjectLogs

func (h *WebSocketHandler) ProjectLogs(c *echo.Context) error

func (*WebSocketHandler) ServerLogsStream

func (h *WebSocketHandler) ServerLogsStream(c *echo.Context) error

func (*WebSocketHandler) ServiceLogs

func (h *WebSocketHandler) ServiceLogs(c *echo.Context) error

func (*WebSocketHandler) SystemStats

func (h *WebSocketHandler) SystemStats(c *echo.Context) error

Jump to

Keyboard shortcuts

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