failuredomains

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Overview

Package failuredomains implements FailureDomain utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PickFewest

func PickFewest(ctx context.Context, failureDomains clusterv1.FailureDomains, machines collections.Machines) *string

PickFewest returns the failure domain with the fewest number of machines.

func PickMost

func PickMost(ctx context.Context, 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