utils

package
v0.0.0-...-ae3d3cc Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeAffinity

func MergeAffinity(dest, src v1.Affinity) *v1.Affinity

MergeAffinity Merge new onto old, overwriting any existing values in old

func MergeLocalObjectReference

func MergeLocalObjectReference(dest, src []v1.LocalObjectReference) []v1.LocalObjectReference

func MergeResourceRequirements

func MergeResourceRequirements(dest, src v1.ResourceRequirements) *v1.ResourceRequirements

MergeResourceRequirements Merge src onto dest, overwriting any existing values in dest

func MergeTolerations

func MergeTolerations(dest, src []v1.Toleration) []v1.Toleration

MergeTolerations Merge new onto old, overwriting any existing values in old

func MergeTopologySpreadConstraints

func MergeTopologySpreadConstraints(dest, src []v1.TopologySpreadConstraint) []v1.TopologySpreadConstraint

MergeTopologySpreadConstraints

func ToPointer

func ToPointer[T any](v T) *T

Types

This section is empty.

Jump to

Keyboard shortcuts

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