Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CPUCapacityGracePeriod int64 = defaultCPUCapacityGracePeriod
)
Configuration
Functions ¶
func LicenseInit ¶
Types ¶
type CPUCapacity ¶
type CPUCapacity struct {
GracePeriod int64
}
func NewCPUCapacity ¶
func NewCPUCapacity() *CPUCapacity
type CapacityConfig ¶
type CapacityConfig struct {
CPU *CPUCapacity
}
func NewCapacityConfig ¶
func NewCapacityConfig() *CapacityConfig
type Config ¶
type Config struct {
Capacity *CapacityConfig
}
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.