localexec

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	handlers.HandlerLogger
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(listenAddr, configPath, executable, handlerType string, logger *slog.Logger) *Handler

NewHandler .

func (*Handler) ConfigPath

func (h *Handler) ConfigPath() string

ConfigPath CustomHandlerインターフェースの実装

func (*Handler) Handle

func (h *Handler) Handle(parentCtx context.Context, req *handler.HandleRequest, sender handlers.ResponseSender) error

func (*Handler) ListenAddress

func (h *Handler) ListenAddress() string

ListenAddress CustomHandlerインターフェースの実装

func (*Handler) Name

func (h *Handler) Name() string

Name ハンドラ名、"autoscaler-handlers-"というプレフィックスをつけない短い名前を返す

func (*Handler) PostHandle

func (h *Handler) PostHandle(parentCtx context.Context, req *handler.PostHandleRequest, sender handlers.ResponseSender) error

func (*Handler) PreHandle

func (h *Handler) PreHandle(parentCtx context.Context, req *handler.HandleRequest, sender handlers.ResponseSender) error

func (*Handler) Version

func (h *Handler) Version() string

Version .

Jump to

Keyboard shortcuts

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