failuredomains

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 7 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(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