reactor

package
v0.5.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationReactor

type AllocationReactor interface {
	UpdateAllocation(ctx context.Context, allocation commonstate.Allocation) error
}

func NewPodAllocationReactor

func NewPodAllocationReactor(podFetcher pod.PodFetcher, client kubernetes.Interface) AllocationReactor

type DummyAllocationReactor

type DummyAllocationReactor struct{}

func (DummyAllocationReactor) UpdateAllocation

type PodAllocation

type PodAllocation interface {
	NeedUpdateAllocation(pod *v1.Pod) bool
	UpdateAllocation(pod *v1.Pod) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL