licenses

package
v4.3.1008+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CPUCapacityGracePeriod int64 = defaultCPUCapacityGracePeriod
)

Configuration

Functions

func LicenseInit

func LicenseInit(config *Config) error

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

Jump to

Keyboard shortcuts

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