Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FromCluster represent an existing cluster without pods FromCluster = "Cluster" // FromSnapshot represent a snapshot FromSnapshot = "Snapshot" // ExitWhenAllScheduled means exit when all pods have been scheduled once ExitWhenAllScheduled = "AllScheduled" // ExitWhenAllSucceed means exit when all pods have been scheduled successfully ExitWhenAllSucceed = "AllSucceed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerSimulationConfig ¶
type SchedulerSimulationConfig struct { Options *SchedulerSimulationOptions InitObjs []runtime.Object }
func NewSchedulerSimulationConfig ¶
func NewSchedulerSimulationConfig(option *SchedulerSimulationOptions) *SchedulerSimulationConfig
type SchedulerSimulationOptions ¶
type SchedulerSimulationOptions struct { cmds.Options // Cluster, Snapshot SourceFrom string ExitCondition string IgnorePodsOnExcludeNodes bool }
func NewSchedulerSimulationOptions ¶
func NewSchedulerSimulationOptions() *SchedulerSimulationOptions
func (*SchedulerSimulationOptions) AddFlags ¶
func (s *SchedulerSimulationOptions) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.