Documentation ¶
Index ¶
- func ExpectedPodCount(aw *workloadv1beta2.AppWrapper) int32
- func GetPodTemplateSpec(obj *unstructured.Unstructured, path string) (*v1.PodTemplateSpec, error)
- func GetRawTemplate(obj map[string]interface{}, path string) (map[string]interface{}, error)
- func GetReplicas(obj *unstructured.Unstructured, path string) (int32, error)
- func Replicas(ps workloadv1beta2.AppWrapperPodSet) int32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectedPodCount ¶
func ExpectedPodCount(aw *workloadv1beta2.AppWrapper) int32
func GetPodTemplateSpec ¶
func GetPodTemplateSpec(obj *unstructured.Unstructured, path string) (*v1.PodTemplateSpec, error)
GetPodTemplateSpec extracts a Kueue-compatible PodTemplateSpec at the given path within obj
func GetRawTemplate ¶
return the subobject found at the given path, or nil if the path is invalid
func GetReplicas ¶ added in v0.8.0
func GetReplicas(obj *unstructured.Unstructured, path string) (int32, error)
GetReplicas parses the value at the given path within obj as an int
func Replicas ¶
func Replicas(ps workloadv1beta2.AppWrapperPodSet) int32
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.