Documentation ¶
Overview ¶
Package failuredomains implements FailureDomain utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PickFewest ¶
func PickFewest(failureDomains clusterv1.FailureDomains, machines collections.Machines) *string
PickFewest returns the failure domain with the fewest number of machines.
func PickMost ¶
func PickMost(failureDomains clusterv1.FailureDomains, groupMachines, machines collections.Machines) *string
PickMost returns a failure domain that is in machines and has most of the group of machines on.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.