Documentation ¶
Index ¶
- func ExtractKeyValueFromTaint(taints []corev1.Taint) map[string]string
- func GenerateMachineNodePoolName(machineGroupName string) string
- func GenerateReservationResourceLabel(machineGroup, machineType string) map[string]string
- func GenerateReservationResourceName(machineGroup, machineType string) string
- func GenerateService(machineType, machineGroup string, svc *corev1.Service)
- func GenerateSleeperContainer() corev1.Container
- func GenerateStatefulSet(machineType *imperatorv1alpha1.MachineType, machineGroup string, replica int32, ...)
- func GetMachineGroup(machineLabels map[string]string) string
- func GetMachineTypeUsage(availableMachine []imperatorv1alpha1.AvailableMachineCondition, ...) *imperatorv1alpha1.UsageCondition
- func GetPodConditionTypeMap(podConditions []corev1.PodCondition) map[corev1.PodConditionType]corev1.PodCondition
- func GetScheduleMachineTypeKeys(machineTypes []imperatorv1alpha1.NodePoolMachineType) []string
- func GetTaintKeyIndex(taints []corev1.Taint, key string) *int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateService ¶
func GenerateStatefulSet ¶
func GenerateStatefulSet(machineType *imperatorv1alpha1.MachineType, machineGroup string, replica int32, sts *appsv1.StatefulSet)
func GetMachineGroup ¶
func GetMachineTypeUsage ¶
func GetMachineTypeUsage(availableMachine []imperatorv1alpha1.AvailableMachineCondition, machineTypeName string) *imperatorv1alpha1.UsageCondition
func GetPodConditionTypeMap ¶
func GetPodConditionTypeMap(podConditions []corev1.PodCondition) map[corev1.PodConditionType]corev1.PodCondition
func GetScheduleMachineTypeKeys ¶
func GetScheduleMachineTypeKeys(machineTypes []imperatorv1alpha1.NodePoolMachineType) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.