Documentation
¶
Overview ¶
Package autodetect is for auto-detecting traits from the environment (platform, APIs, ...).
Index ¶
Constants ¶
View Source
const DefaultAutoscalingVersion = AutoscalingVersionV2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoDetect ¶
type AutoDetect interface {
Platform() (platform.Platform, error)
HPAVersion() (AutoscalingVersion, error)
}
AutoDetect provides an assortment of routines that auto-detect traits based on the runtime.
type AutoscalingVersion ¶ added in v0.57.2
type AutoscalingVersion int
const ( AutoscalingVersionV2 AutoscalingVersion = iota AutoscalingVersionV2Beta2 AutoscalingVersionUnknown )
func (AutoscalingVersion) String ¶ added in v0.57.2
func (v AutoscalingVersion) String() string
Click to show internal directories.
Click to hide internal directories.