mapperutils

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyMatch

func AnyMatch[S ~[]E, E any](slice S, eql func(E) bool) bool

func EphemeralStorageLimit

func EphemeralStorageLimit[O pdoknlv3.WMSWFS](obj O) *resource.Quantity

func EphemeralStorageRequest

func EphemeralStorageRequest[O pdoknlv3.WMSWFS](obj O) *resource.Quantity

func GetContainerResourceLimit

func GetContainerResourceLimit[O pdoknlv3.WMSWFS](obj O, containerName string, resource corev1.ResourceName) *resource.Quantity

func GetContainerResourceRequest

func GetContainerResourceRequest[O pdoknlv3.WMSWFS](obj O, containerName string, resource corev1.ResourceName) *resource.Quantity

func GetNamespaceURI

func GetNamespaceURI(prefix string, ownerInfo *smoothoperatorv1.OwnerInfo) string

func UseEphemeralVolume

func UseEphemeralVolume[O pdoknlv3.WMSWFS](obj O) (bool, *resource.Quantity)

Use ephemeral volume when ephemeral storage is greater then 10Gi

Types

This section is empty.

Jump to

Keyboard shortcuts

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