Documentation ¶
Index ¶
Constants ¶
View Source
const (
ExecutorNameVirtualNodeOnly = "VirtualNodeOnly"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface { OnPodCreating(selector *resource.Selector, pod *v1.Pod) ([]PatchInfo, error) OnPodUnscheduled(selector *resource.Selector, pod *v1.Pod) (*utils.PatchOption, error) }
func NewVirtualNodeOnlyExecutor ¶
func NewVirtualNodeOnlyExecutor() Executor
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *Manager
func (*Manager) OnPodCreating ¶
func (*Manager) OnPodUnscheduled ¶
type VirtualNodeOnlyExecutor ¶
type VirtualNodeOnlyExecutor struct { }
func (*VirtualNodeOnlyExecutor) OnPodCreating ¶
func (*VirtualNodeOnlyExecutor) OnPodUnscheduled ¶
func (e *VirtualNodeOnlyExecutor) OnPodUnscheduled(selector *resource.Selector, pod *v1.Pod) (*utils.PatchOption, error)
Click to show internal directories.
Click to hide internal directories.