Documentation ¶
Index ¶
- func DemandSafeParams(demandName string, demandNamespace string) map[string]interface{}
- func DemandSafeParamsFromObj(demand *v1alpha2.Demand) map[string]interface{}
- func FindInstanceGroupFromPodSpec(podSpec v1.PodSpec, instanceGroupLabel string) (string, bool)
- func MatchPodInstanceGroup(pod1 *v1.Pod, pod2 *v1.Pod, instanceGroupLabel string) bool
- func PodSafeParams(pod v1.Pod) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DemandSafeParams ¶
DemandSafeParams gets the safe params for a demand object
func DemandSafeParamsFromObj ¶
DemandSafeParamsFromObj gets the safe params for a demand object
func FindInstanceGroupFromPodSpec ¶
FindInstanceGroupFromPodSpec extracts the instance group from a Pod spec.
func MatchPodInstanceGroup ¶
MatchPodInstanceGroup compares instance group label on given Pod specs.
func PodSafeParams ¶
PodSafeParams gets the safe params for a driver pod
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.