Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeSim ¶
type KubeSim struct { Clock clock.Clock MigrationClient *migration.Client // contains filtered or unexported fields }
KubeSim represents a simulated kubernetes cluster.
func NewKubeSim ¶
func NewKubeSim( conf *config.Config, queue queue.PodQueue, sched scheduler.Scheduler, metricClient *migration.Client) (*KubeSim, error)
NewKubeSim creates a new KubeSim with the given config, queue, and scheduler. Returns error if the configuration failed.
func (*KubeSim) AddSubmitter ¶
AddSubmitter adds the new submitter to this KubeSim.
Click to show internal directories.
Click to hide internal directories.