kubernetes/pkg/kubelet/cm/cpumanager/policy_options.go

const FullPCPUsOnlyOption

const DistributeCPUsAcrossNUMAOption

const AlignBySocketOption

const DistributeCPUsAcrossCoresOption

var alphaOptions

var betaOptions

var stableOptions

// CheckPolicyOptionAvailable verifies if the given option can be used depending on the Feature Gate Settings.
// returns nil on success, or an error describing the failure on error.
func CheckPolicyOptionAvailable(option string) error {}

type StaticPolicyOptions

// NewStaticPolicyOptions creates a StaticPolicyOptions struct from the user configuration.
func NewStaticPolicyOptions(policyOptions map[string]string) (StaticPolicyOptions, error) {}

// ValidateStaticPolicyOptions ensures that the requested policy options are compatible with the machine on which the CPUManager is running.
func ValidateStaticPolicyOptions(opts StaticPolicyOptions, topology *topology.CPUTopology, topologyManager topologymanager.Store) error {}