package
0.1.3
Repository: https://github.com/alibaba/open-simulator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateClusterResourceFromClient returns a ResourceTypes struct by kube-client that connects a real cluster.
CreateClusterResourceFromClusterConfig return a ResourceTypes struct based on the cluster config.
No description provided by the author
GenerateValidPodsFromAppResources generate valid pods from resources.
GetAndSetSchedulerConfig gets scheduler CompletedConfig and sets the list of scheduler bind plugins to Simon.
GetObjectFromYamlContent decodes the yaml content and returns the kubernetes objects.
No description provided by the author
No description provided by the author
No description provided by the author
MatchAndSetLocalStorageAnnotationOnNode add storage information configured by json file, belonging to the node that matches the json file name, to annotation of this node.
NewSimulator generates all components that will be needed to simulate scheduling and returns a complete simulator.
Simulate 参数 1.
No description provided by the author
WithKubeConfig sets kubeconfig for Simulator, the default value is "".
No description provided by the author
WithSchedulerConfig sets schedulerConfig for Simulator, the default value is "".

# Constants

GetValidPodExcludeDaemonSet gets valid pod by resources exclude DaemonSet that needs to be handled specially.

# Structs

No description provided by the author
已成功调度的 Pod 信息.
No description provided by the author
仿真结果.
Simulator is used to simulate a cluster and pods scheduling.
无法成功调度的 Pod 信息.

# Type aliases

Option configures a Simulator.
No description provided by the author
No description provided by the author