elb

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServersHandler

type ServersHandler struct {
	handlers.HandlerLogger
	*builtins.SakuraCloudAPIClient
}

ServersHandler ELB配下のサーバのアタッチ/デタッチを行うためのハンドラ

リクエストされたリソースの直近の親リソースがELBの場合に処理を行う

  • PreHandle: ELBからのデタッチ
  • Handle: なにもしない
  • PostHandle: ELBへのアタッチ

アタッチ/デタッチは各サーバのEnabledを制御することで行う もしELBにサーバが1台しか登録されていない場合はサービス停止が発生するため注意が必要

func NewServersHandler

func NewServersHandler() *ServersHandler

func (*ServersHandler) Name

func (h *ServersHandler) Name() string

func (*ServersHandler) PostHandle

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

func (*ServersHandler) PreHandle

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

func (*ServersHandler) Version

func (h *ServersHandler) Version() string

type VerticalScaleHandler

type VerticalScaleHandler struct {
	handlers.HandlerLogger
	*builtins.SakuraCloudAPIClient
}

func NewVerticalScaleHandler

func NewVerticalScaleHandler() *VerticalScaleHandler

func (*VerticalScaleHandler) Handle

func (*VerticalScaleHandler) Name

func (h *VerticalScaleHandler) Name() string

func (*VerticalScaleHandler) Version

func (h *VerticalScaleHandler) Version() string

Jump to

Keyboard shortcuts

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