Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoOpPodListProcessor ¶
type NoOpPodListProcessor struct { }
NoOpPodListProcessor is returning pod lists without processing them.
func (*NoOpPodListProcessor) CleanUp ¶
func (p *NoOpPodListProcessor) CleanUp()
CleanUp cleans up the processor's internal structures.
func (*NoOpPodListProcessor) Process ¶
func (p *NoOpPodListProcessor) Process(context *context.AutoscalingContext, unschedulablePods []*apiv1.Pod, allScheduled []*apiv1.Pod, nodes []*apiv1.Node) ([]*apiv1.Pod, []*apiv1.Pod, error)
Process processes lists of unschedulable and sheduled pods before scaling of the cluster.
type PodListProcessor ¶
type PodListProcessor interface { Process(context *context.AutoscalingContext, unschedulablePods []*apiv1.Pod, allScheduled []*apiv1.Pod, nodes []*apiv1.Node) ([]*apiv1.Pod, []*apiv1.Pod, error) CleanUp() }
PodListProcessor processes lists of unschedulable and sheduled pods before scaling of the cluster.
func NewDefaultPodListProcessor ¶
func NewDefaultPodListProcessor() PodListProcessor
NewDefaultPodListProcessor creates an instance of PodListProcessor.
Click to show internal directories.
Click to hide internal directories.