internal

package
v0.38.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DemandSafeParams

func DemandSafeParams(demandName string, demandNamespace string) map[string]interface{}

DemandSafeParams gets the safe params for a demand object

func DemandSafeParamsFromObj

func DemandSafeParamsFromObj(demand *v1alpha2.Demand) map[string]interface{}

DemandSafeParamsFromObj gets the safe params for a demand object

func FindInstanceGroupFromPodSpec

func FindInstanceGroupFromPodSpec(podSpec v1.PodSpec, instanceGroupLabel string) (string, bool)

FindInstanceGroupFromPodSpec extracts the instance group from a Pod spec.

func MatchPodInstanceGroup

func MatchPodInstanceGroup(pod1 *v1.Pod, pod2 *v1.Pod, instanceGroupLabel string) bool

MatchPodInstanceGroup compares instance group label on given Pod specs.

func PodSafeParams

func PodSafeParams(pod v1.Pod) map[string]interface{}

PodSafeParams gets the safe params for a driver pod

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL