localexec

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 7 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 *log.Logger) *Handler

NewHandler .

func (*Handler) ConfigPath

func (h *Handler) ConfigPath() string

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

func (*Handler) Handle

func (h *Handler) Handle(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(req *handler.PostHandleRequest, sender handlers.ResponseSender) error

func (*Handler) PreHandle

func (h *Handler) PreHandle(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