failuredomains

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 7

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