Help us shape the future of Go! Take the 2026 Go Developer Survey

schedule

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAffinityPlan

func GetAffinityPlan(ctx context.Context, resourceInfo *types.NodeResourceInfo, volumeRequest types.VolumeBindings, originVolumePlan types.VolumePlan, originVolumeRequest types.VolumeBindings) (types.VolumePlan, types.Disks, error)

func GetVolumeCapacity added in v0.1.1

func GetVolumeCapacity(resourceInfo *types.NodeResourceInfo, volumeRequest types.VolumeBindings, maxDeployCount int) int

GetVolumeCapacity counts the plans GetVolumePlans would return without materializing them.

func GetVolumePlans

func GetVolumePlans(ctx context.Context, resourceInfo *types.NodeResourceInfo, volumeRequest types.VolumeBindings, maxDeployCount int) ([]types.VolumePlan, []types.Disks)

Types

This section is empty.

Jump to

Keyboard shortcuts

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