Documentation ¶
Index ¶
- func ApplyGatewayStatusPatchIfNotEmpty(ctx context.Context, cl client.Client, logger logr.Logger, ...) (res op.Result, err error)
- func ApplyPatchIfNonEmpty[OwnerT *operatorv1beta1.DataPlane | *operatorv1beta1.ControlPlane, ...](ctx context.Context, cl client.Client, logger logr.Logger, ...) (res op.Result, deploy ResourceT, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyGatewayStatusPatchIfNotEmpty ¶
func ApplyGatewayStatusPatchIfNotEmpty(ctx context.Context, cl client.Client, logger logr.Logger, existingGateway *gatewayv1.Gateway, oldExistingGateway *gatewayv1.Gateway, ) (res op.Result, err error)
ApplyGatewayStatusPatchIfNotEmpty patches the provided gateways if the resulting patch between the provided existingGateway and oldExistingGateway is non empty.
func ApplyPatchIfNonEmpty ¶
func ApplyPatchIfNonEmpty[ OwnerT *operatorv1beta1.DataPlane | *operatorv1beta1.ControlPlane, ResourceT interface { *appsv1.Deployment | *autoscalingv2.HorizontalPodAutoscaler | *certmanagerv1.Certificate client.Object }, ]( ctx context.Context, cl client.Client, logger logr.Logger, existingResource ResourceT, oldExistingResource ResourceT, owner OwnerT, updated bool, ) (res op.Result, deploy ResourceT, err error)
ApplyPatchIfNonEmpty patches the provided resource if the resulting patch between the provided existingResource and the provided oldExistingResource is non empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.