Documentation ¶
Index ¶
- func MergeAffinity(dest, src v1.Affinity) *v1.Affinity
- func MergeLocalObjectReference(dest, src []v1.LocalObjectReference) []v1.LocalObjectReference
- func MergeResourceRequirements(dest, src v1.ResourceRequirements) *v1.ResourceRequirements
- func MergeTolerations(dest, src []v1.Toleration) []v1.Toleration
- func MergeTopologySpreadConstraints(dest, src []v1.TopologySpreadConstraint) []v1.TopologySpreadConstraint
- func ToPointer[T any](v T) *T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeAffinity ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.