scaler

package module
v0.0.0-...-1af7188 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: BSD-2-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(scaleEvent ScaleEvent)

Types

type ScaleEvent

type ScaleEvent struct {
	GroupName         string `json:"group_name"`
	Type              string `json:"scale_type"`
	MaxSizeUp         int64  `json:"scale_up_max_size"`
	MaxSizeDown       int64  `json:"scale_down_max_size"`
	ScaleInProtection bool   `json:"scale_in_protection"`
}

Jump to

Keyboard shortcuts

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