package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
IsAlignmentGuaranteed return true if the given policy guarantees that either the compute resources will be allocated within a NUMA boundary, or the allocation will fail at all.
NewBestEffortPolicy returns best-effort policy.
NewContainerScope returns a container scope.
NewFakeManager returns an instance of FakeManager.
NewFakeManagerWithHint returns an instance of fake topology manager with specified topology hints.
NewFakeManagerWithPolicy returns an instance of fake topology manager with specified policy.
No description provided by the author
NewManager creates a new TopologyManager based on provided policy and scope.
NewNonePolicy returns none policy.
NewNoneScope returns a none scope.
No description provided by the author
NewPodScope returns a pod scope.
No description provided by the author
NewRestrictedPolicy returns restricted policy.
NewSingleNumaNodePolicy returns single-numa-node policy.

# Constants

ErrorTopologyAffinity represents the type for a TopologyAffinityError.
No description provided by the author
PolicyBestEffort policy name.
PolicyNone policy name.
PolicyRestricted policy name.
PolicySingleNumaNode policy name.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
TopologyAffinityError represents an resource alignment error.
TopologyHint is a struct containing the NUMANodeAffinity for a Container.

# Interfaces

HintProvider is an interface for components that want to collaborate to achieve globally optimal concrete resource alignment with respect to NUMA locality.
Manager interface provides methods for Kubelet to manage pod topology hints.
Policy interface for Topology Manager Pod Admit Result.
Scope interface for Topology Manager.
Store interface is to allow Hint Providers to retrieve pod affinity.

# Type aliases

No description provided by the author