Documentation
¶
Index ¶
- type AutoscalerConfig
- type AutoscalerConfigExpander
- type CacertsRes
- type GoDuration
- type InitBody
- type InitRes
- type JoinBody
- type JoinRes
- type KubeConfigBody
- type KubeConfigRes
- type Labels
- type NodePoolName
- type PreInstallScript
- type ReadyRes
- type SshPublicKey
- type Taint
- type TaintEffect
- type Taints
- type UnmanagedPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalerConfig ¶
type AutoscalerConfig struct {
Expander []AutoscalerConfigExpander `json:"expander,omitempty"`
UnneededTime string `json:"unneededTime,omitempty"`
UnreadyTime string `json:"unreadyTime,omitempty"`
UtilizationThreshold float32 `json:"utilizationThreshold"`
}
type AutoscalerConfigExpander ¶
type AutoscalerConfigExpander string
const ( AutoscalerConfigExpanderRandom AutoscalerConfigExpander = "random" AutoscalerConfigExpanderMostPods AutoscalerConfigExpander = "most-pods" AutoscalerConfigExpanderLeastWaste AutoscalerConfigExpander = "least-waste" AutoscalerConfigExpanderPrice AutoscalerConfigExpander = "price" AutoscalerConfigExpanderPriority AutoscalerConfigExpander = "priority" )
type CacertsRes ¶
type CacertsRes struct {
Cacerts string `json:"cacerts,omitempty"`
}
type GoDuration ¶
type GoDuration string
type KubeConfigBody ¶
type KubeConfigRes ¶
type NodePoolName ¶
type NodePoolName string
type PreInstallScript ¶
type PreInstallScript string
type SshPublicKey ¶
type SshPublicKey string
type Taint ¶
type Taint struct {
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
Effect TaintEffect `json:"effect,omitempty"`
}
type TaintEffect ¶
type TaintEffect string
const ( TaintEffectNoSchedule TaintEffect = "NoSchedule" TaintEffectPreferNoSchedule TaintEffect = "PreferNoSchedule" TaintEffectNoExecute TaintEffect = "NoExecute" )
type UnmanagedPool ¶
Click to show internal directories.
Click to hide internal directories.