kubernetesk8s.io/kubernetes/pkg/scheduler/framework/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/kubernetes/pkg/scheduler/framework/v1alpha1"

Index

Types

type AffinityTerm

type AffinityTerm = framework.AffinityTerm

AffinityTerm is a processed version of v1.PodAffinityTerm.

type HostPortInfo

type HostPortInfo = framework.HostPortInfo

HostPortInfo stores mapping from ip to a set of ProtocolPort

type ImageStateSummary

type ImageStateSummary = framework.ImageStateSummary

ImageStateSummary provides summarized information about the state of an image.

type NodeInfo

type NodeInfo = framework.NodeInfo

NodeInfo is node level aggregated information.

func NewNodeInfo

func NewNodeInfo(pods ...*v1.Pod) *NodeInfo

NewNodeInfo returns a ready to use empty NodeInfo object. If any pods are given in arguments, their information will be aggregated in the returned object.

type PodInfo

type PodInfo = framework.PodInfo

PodInfo is a wrapper to a Pod with additional pre-computed information to accelerate processing. This information is typically immutable (e.g., pre-processed inter-pod affinity selectors).

func NewPodInfo

func NewPodInfo(pod *v1.Pod) *PodInfo

NewPodInfo return a new PodInfo

type ProtocolPort

type ProtocolPort = framework.ProtocolPort

ProtocolPort represents a protocol port pair, e.g. tcp:80.

type QueuedPodInfo

type QueuedPodInfo = framework.QueuedPodInfo

QueuedPodInfo is a Pod wrapper with additional information related to the pod's status in the scheduling queue, such as the timestamp when it's added to the queue.

type Resource

type Resource = framework.Resource

Resource is a collection of compute resource.

func NewResource

func NewResource(rl v1.ResourceList) *Resource

NewResource creates a Resource from ResourceList

type TransientSchedulerInfo

type TransientSchedulerInfo = framework.TransientSchedulerInfo

TransientSchedulerInfo is a transient structure which is destructed at the end of each scheduling cycle. It consists of items that are valid for a scheduling cycle and is used for message passing across predicates and priorities. Some examples which could be used as fields are number of volumes being used on node, current utilization on node etc. IMPORTANT NOTE: Make sure that each field in this structure is documented along with usage. Expand this structure only when absolutely needed as this data structure will be created and destroyed during every scheduling cycle.

type WeightedAffinityTerm

type WeightedAffinityTerm = framework.WeightedAffinityTerm

WeightedAffinityTerm is a "processed" representation of v1.WeightedAffinityTerm.

Source Files

types.go

Version
v1.20.0-alpha.3
Published
Oct 20, 2020
Platform
js/wasm
Imports
2 packages
Last checked
10 minutes ago

Tools for package owners.