failuredomains

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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