handlers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapCommandHandler

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

func (*BootstrapCommandHandler) Handle

type ClientStatsCommandHandler

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

func (*ClientStatsCommandHandler) Handle

type CommandHandlerInterface

type CommandHandlerInterface interface {
	Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
}

type CommandManager

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

func NewCommandManagerWithGRPC

func NewCommandManagerWithGRPC(grpcClient *elchigrpc.Client) *CommandManager

NewCommandManagerWithGRPC creates command manager with gRPC client

func (*CommandManager) HandleCommand

func (m *CommandManager) HandleCommand(ctx context.Context, cmd *client.Command) *client.CommandResponse

type CommandRegistry

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

func NewCommandRegistry

func NewCommandRegistry(services *services.Services) *CommandRegistry

func (*CommandRegistry) GetHandler

func (*CommandRegistry) Register

func (r *CommandRegistry) Register(cmdType client.CommandType, handler CommandHandlerInterface)

type DeployCommandHandler

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

func (*DeployCommandHandler) Handle

type EnvoyVersionCommandHandler

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

func (*EnvoyVersionCommandHandler) Handle

type FilebeatCommandHandler

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

func (*FilebeatCommandHandler) Handle

type FrrCommandHandler

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

func (*FrrCommandHandler) Handle

type GeneralLogCommandHandler

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

func (*GeneralLogCommandHandler) Handle

type NetworkCommandHandler

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

func (*NetworkCommandHandler) Handle

type ProxyCommandHandler

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

func (*ProxyCommandHandler) Handle

type RsyslogCommandHandler

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

func (*RsyslogCommandHandler) Handle

type SystemdCommandHandler

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

func (*SystemdCommandHandler) Handle

type UndeployCommandHandler

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

func (*UndeployCommandHandler) Handle

type UpgradeListenerCommandHandler

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

func (*UpgradeListenerCommandHandler) Handle

type WafVersionCommandHandler

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

func (*WafVersionCommandHandler) Handle

Jump to

Keyboard shortcuts

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