sidecar

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(service *Service, logger *logging.Logger) *Handler

func (*Handler) HandleOperation

func (h *Handler) HandleOperation(c echo.Context) error

func (*Handler) Health

func (h *Handler) Health(c echo.Context) error

type OperationRequest

type OperationRequest struct {
	Command   string   `json:"command"`
	Options   []string `json:"options"`
	Services  []string `json:"services"`
	StackPath string   `json:"stack_path"`
}

type Service

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

func NewService

func NewService(cfg *config.Config, logger *logging.Logger) *Service

func (*Service) ExecuteOperation

func (s *Service) ExecuteOperation(_ context.Context, req OperationRequest) error

Jump to

Keyboard shortcuts

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