Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeSim ¶
type KubeSim struct {
// contains filtered or unexported fields
}
KubeSim represents a simulated kubernetes cluster.
func NewKubeSim ¶
func NewKubeSim( conf *config.Config, queue queue.PodQueue, sched scheduler.Scheduler, ) (*KubeSim, error)
NewKubeSim creates a new KubeSim with the given config, queue, and scheduler. Returns error if the configuration failed.
func NewKubeSimFromConfigPath ¶
func NewKubeSimFromConfigPath( confPath string, queue queue.PodQueue, sched scheduler.Scheduler, ) (*KubeSim, error)
NewKubeSimFromConfigPath creates a new KubeSim with config from confPath (excluding file path), 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.