Documentation
¶
Index ¶
- type BootstrapCommandHandler
- type ClientStatsCommandHandler
- type CommandHandlerInterface
- type CommandManager
- type CommandRegistry
- type DeployCommandHandler
- type EnvoyVersionCommandHandler
- type FilebeatCommandHandler
- type FrrCommandHandler
- type GeneralLogCommandHandler
- type NetworkCommandHandler
- type ProxyCommandHandler
- type RsyslogCommandHandler
- type ShieldCommandHandler
- type SystemdCommandHandler
- type UndeployCommandHandler
- type UpgradeListenerCommandHandler
- type WafVersionCommandHandler
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 ¶
func (h *BootstrapCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type ClientStatsCommandHandler ¶
type ClientStatsCommandHandler struct {
// contains filtered or unexported fields
}
func (*ClientStatsCommandHandler) Handle ¶
func (h *ClientStatsCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type CommandHandlerInterface ¶
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 (r *CommandRegistry) GetHandler(cmdType client.CommandType) (CommandHandlerInterface, bool)
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 ¶
func (h *DeployCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type EnvoyVersionCommandHandler ¶
type EnvoyVersionCommandHandler struct {
// contains filtered or unexported fields
}
func (*EnvoyVersionCommandHandler) Handle ¶
func (h *EnvoyVersionCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type FilebeatCommandHandler ¶
type FilebeatCommandHandler struct {
// contains filtered or unexported fields
}
func (*FilebeatCommandHandler) Handle ¶
func (h *FilebeatCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type FrrCommandHandler ¶
type FrrCommandHandler struct {
// contains filtered or unexported fields
}
func (*FrrCommandHandler) Handle ¶
func (h *FrrCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type GeneralLogCommandHandler ¶
type GeneralLogCommandHandler struct {
// contains filtered or unexported fields
}
func (*GeneralLogCommandHandler) Handle ¶
func (h *GeneralLogCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type NetworkCommandHandler ¶
type NetworkCommandHandler struct {
// contains filtered or unexported fields
}
func (*NetworkCommandHandler) Handle ¶
func (h *NetworkCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type ProxyCommandHandler ¶
type ProxyCommandHandler struct {
// contains filtered or unexported fields
}
func (*ProxyCommandHandler) Handle ¶
func (h *ProxyCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type RsyslogCommandHandler ¶
type RsyslogCommandHandler struct {
// contains filtered or unexported fields
}
func (*RsyslogCommandHandler) Handle ¶
func (h *RsyslogCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type ShieldCommandHandler ¶ added in v1.2.0
type ShieldCommandHandler struct {
// contains filtered or unexported fields
}
func (*ShieldCommandHandler) Handle ¶ added in v1.2.0
func (h *ShieldCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type SystemdCommandHandler ¶
type SystemdCommandHandler struct {
// contains filtered or unexported fields
}
func (*SystemdCommandHandler) Handle ¶
func (h *SystemdCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type UndeployCommandHandler ¶
type UndeployCommandHandler struct {
// contains filtered or unexported fields
}
func (*UndeployCommandHandler) Handle ¶
func (h *UndeployCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type UpgradeListenerCommandHandler ¶
type UpgradeListenerCommandHandler struct {
// contains filtered or unexported fields
}
func (*UpgradeListenerCommandHandler) Handle ¶
func (h *UpgradeListenerCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
type WafVersionCommandHandler ¶
type WafVersionCommandHandler struct {
// contains filtered or unexported fields
}
func (*WafVersionCommandHandler) Handle ¶
func (h *WafVersionCommandHandler) Handle(ctx context.Context, cmd *client.Command) *client.CommandResponse
Click to show internal directories.
Click to hide internal directories.