Documentation ¶
Index ¶
- func CheckLock(lock int64) bool
- func CloudDimension(spootID string) *cloudwatch.Dimension
- func DataPoint() *int64
- func Divider() int64
- func FallbackCheck(trigger bool, lock, scaling string) bool
- func Fleettype() string
- func GetRegion()
- func GetTrigger(data int64) bool
- func IDMetric() string
- func IgnoreFleet(iamRole string) bool
- func MakeLock(lock int64) bool
- func MetricName() *string
- func NameSpace() *string
- func QueryData(dimension *cloudwatch.Dimension) *cloudwatch.MetricDataQuery
- func ScanType() *string
- func Speed() int64
- func Statistic() *string
- func TimeConfig() int64
- func Unit() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudDimension ¶
func CloudDimension(spootID string) *cloudwatch.Dimension
CloudDimension return struct to query the data to the AWS
func DataPoint ¶
func DataPoint() *int64
DataPoint get the total of past to look. This config come from file
func FallbackCheck ¶
FallbackCheck verify if have a lock REMOVER!!!
func GetTrigger ¶
GetTrigger returns true if you need to enable fallback
func IgnoreFleet ¶
IgnoreFleet returns true if the fleet does not need to monitor
func QueryData ¶
func QueryData(dimension *cloudwatch.Dimension) *cloudwatch.MetricDataQuery
QueryData return struct to query the data to the AWS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.