# Functions

DeterminePoolConfig first interrogates the label set of the Node this process runs on.It uses this information to select the specific PoolConfig file corresponding to the Node.Returns the selected PoolConfig file, the name of the file, or an error if it was impossible to determine which config file is applicable.
DeterminePoolType takes the name of CPU pool as defined in the CPUSets ConfigMap, and returns the type of CPU pool it represents.Type of the pool is determined based on the constant prefixes used in the name of the pool.A type can be shared, exclusive, or default.
NewCPUAnnotation returns a new CPUAnnotation.
ReadAllPoolConfigs reads all the CPU pools configured in the cluster, and returns them to the user in one big array.

# Constants

DefaultPoolID 是 CPU 池名称中的常量前缀.
ExclusivePoolID 是 CPU 池名称中的常量前缀.
MultiThreadHTPolicy 是 HT 策略池属性的多线程值的常量。设置此值时,所有兄弟一起分配用于独占请求.
SharedPoolID 是 CPU 池名称中的常量前缀.
SingleThreadHTPolicy 是 HT 策略池属性的单线程值的常量。设置该值时,只为独占请求分配物理线程.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PoolConfigDir defines the pool configuration file location.

# Structs

Container idenfifies container and defines the processes to be started.
Pool defines cpupool.
PoolConfig defines pool configuration for a node.
Process defines Process Information in pod annotation The information is used for setting CPU-Affinity.

# Type aliases

No description provided by the author