Documentation ¶
Index ¶
- Constants
- func New(_ runtime.Object, handler handle.UnitFrameworkHandle) (framework.Plugin, error)
- type VirtualKubelet
- func (i *VirtualKubelet) Locating(ctx context.Context, unit framework.ScheduleUnit, ...) (framework.NodeGroup, *framework.Status)
- func (i *VirtualKubelet) Name() string
- func (i *VirtualKubelet) PreparePreferNode(ctx context.Context, unitCycleState, state *framework.CycleState, pod *v1.Pod) *framework.Status
Constants ¶
View Source
const ( VirtualKubeletKey = "type" VirtualKubeletValue = "virtual-kubelet" )
View Source
const Name = "VirtualKubelet"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VirtualKubelet ¶
type VirtualKubelet struct {
// contains filtered or unexported fields
}
func (*VirtualKubelet) Locating ¶
func (i *VirtualKubelet) Locating(ctx context.Context, unit framework.ScheduleUnit, unitCycleState *framework.CycleState, nodeGroup framework.NodeGroup) (framework.NodeGroup, *framework.Status)
func (*VirtualKubelet) Name ¶
func (i *VirtualKubelet) Name() string
func (*VirtualKubelet) PreparePreferNode ¶
func (i *VirtualKubelet) PreparePreferNode(ctx context.Context, unitCycleState, state *framework.CycleState, pod *v1.Pod) *framework.Status
Click to show internal directories.
Click to hide internal directories.