var generation …
type ActionType …
const Add …
const Delete …
const UpdateNodeAllocatable …
const UpdateNodeLabel …
const UpdateNodeTaint …
const UpdateNodeCondition …
const UpdateNodeAnnotation …
const UpdatePodLabel …
const UpdatePodScaleDown …
const UpdatePodTolerations …
const UpdatePodSchedulingGatesEliminated …
const UpdatePodGeneratedResourceClaim …
const updatePodOther …
const All …
const Update …
const none …
var basicActionTypes …
var podActionTypes …
var nodeActionTypes …
func (a ActionType) String() string { … }
type EventResource …
const Pod …
const assignedPod …
const unschedulablePod …
const Node …
const PersistentVolume …
const PersistentVolumeClaim …
const CSINode …
const CSIDriver …
const VolumeAttachment …
const CSIStorageCapacity …
const StorageClass …
const ResourceClaim …
const ResourceSlice …
const DeviceClass …
const WildCard …
var allResources …
type ClusterEventWithHint …
type QueueingHintFn …
type QueueingHint …
const QueueSkip …
const Queue …
func (s QueueingHint) String() string { … }
type ClusterEvent …
func (ce ClusterEvent) Label() string { … }
func AllClusterEventLabels() []string { … }
func (ce ClusterEvent) IsWildCard() bool { … }
func (ce ClusterEvent) Match(incomingEvent ClusterEvent) bool { … }
func (r EventResource) match(resource EventResource) bool { … }
func UnrollWildCardResource() []ClusterEventWithHint { … }
type QueuedPodInfo …
func (pqi *QueuedPodInfo) DeepCopy() *QueuedPodInfo { … }
type PodInfo …
func (pi *PodInfo) DeepCopy() *PodInfo { … }
func (pi *PodInfo) Update(pod *v1.Pod) error { … }
type AffinityTerm …
func (at *AffinityTerm) Matches(pod *v1.Pod, nsLabels labels.Set) bool { … }
type WeightedAffinityTerm …
const ExtenderName …
type Diagnosis …
type FitError …
const NoNodeAvailableMsg …
func (d *Diagnosis) AddPluginStatus(sts *Status) { … }
func (f *FitError) Error() string { … }
func newAffinityTerm(pod *v1.Pod, term *v1.PodAffinityTerm) (*AffinityTerm, error) { … }
func GetAffinityTerms(pod *v1.Pod, v1Terms []v1.PodAffinityTerm) ([]AffinityTerm, error) { … }
func getWeightedAffinityTerms(pod *v1.Pod, v1Terms []v1.WeightedPodAffinityTerm) ([]WeightedAffinityTerm, error) { … }
func NewPodInfo(pod *v1.Pod) (*PodInfo, error) { … }
func GetPodAffinityTerms(affinity *v1.Affinity) (terms []v1.PodAffinityTerm) { … }
func GetPodAntiAffinityTerms(affinity *v1.Affinity) (terms []v1.PodAffinityTerm) { … }
func getNamespacesFromPodAffinityTerm(pod *v1.Pod, podAffinityTerm *v1.PodAffinityTerm) sets.Set[string] { … }
type ImageStateSummary …
func (iss *ImageStateSummary) Snapshot() *ImageStateSummary { … }
type NodeInfo …
var _ …
func (n *NodeInfo) GetName() string { … }
func (n *NodeInfo) GetNamespace() string { … }
func nextGeneration() int64 { … }
type Resource …
func NewResource(rl v1.ResourceList) *Resource { … }
func (r *Resource) Add(rl v1.ResourceList) { … }
func (r *Resource) Clone() *Resource { … }
func (r *Resource) AddScalar(name v1.ResourceName, quantity int64) { … }
func (r *Resource) SetScalar(name v1.ResourceName, quantity int64) { … }
func (r *Resource) SetMaxResource(rl v1.ResourceList) { … }
func NewNodeInfo(pods ...*v1.Pod) *NodeInfo { … }
func (n *NodeInfo) Node() *v1.Node { … }
func (n *NodeInfo) Snapshot() *NodeInfo { … }
func (n *NodeInfo) String() string { … }
func (n *NodeInfo) AddPodInfo(podInfo *PodInfo) { … }
func (n *NodeInfo) AddPod(pod *v1.Pod) { … }
func podWithAffinity(p *v1.Pod) bool { … }
func podWithRequiredAntiAffinity(p *v1.Pod) bool { … }
func removeFromSlice(logger klog.Logger, s []*PodInfo, k string) ([]*PodInfo, bool) { … }
func (n *NodeInfo) RemovePod(logger klog.Logger, pod *v1.Pod) error { … }
func (n *NodeInfo) update(pod *v1.Pod, sign int64) { … }
func calculateResource(pod *v1.Pod) (Resource, int64, int64) { … }
func (n *NodeInfo) updateUsedPorts(pod *v1.Pod, add bool) { … }
func (n *NodeInfo) updatePVCRefCounts(pod *v1.Pod, add bool) { … }
func (n *NodeInfo) SetNode(node *v1.Node) { … }
func (n *NodeInfo) RemoveNode() { … }
func GetPodKey(pod *v1.Pod) (string, error) { … }
func GetNamespacedName(namespace, name string) string { … }
const DefaultBindAllHostIP …
type ProtocolPort …
func NewProtocolPort(protocol string, port int32) *ProtocolPort { … }
type HostPortInfo …
func (h HostPortInfo) Add(ip, protocol string, port int32) { … }
func (h HostPortInfo) Remove(ip, protocol string, port int32) { … }
func (h HostPortInfo) Len() int { … }
func (h HostPortInfo) CheckConflict(ip, protocol string, port int32) bool { … }
func (h HostPortInfo) sanitize(ip, protocol *string) { … }