Documentation ¶
Index ¶
- func SetStatusConditions(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, ...) error
- func TransformObject(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, ...) error
- func UpdateScaledJobStatus(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, ...) error
- func UpdateScaledObjectStatus(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, ...) error
- func UpdateTriggerAuthenticationStatusFromTriggers(ctx context.Context, logger logr.Logger, client runtimeclient.Client, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetStatusConditions ¶
func SetStatusConditions(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, object interface{}, conditions *kedav1alpha1.Conditions) error
SetStatusConditions patches given object with passed list of conditions based on the object's type or returns an error.
func TransformObject ¶
func TransformObject(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, object interface{}, target interface{}, transform func(runtimeclient.Object, interface{}) error) error
TransformObject patches the given object with the targeted passed to it through a transformer function or returns an error.
func UpdateScaledJobStatus ¶ added in v2.16.0
func UpdateScaledJobStatus(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, scaledJob *kedav1alpha1.ScaledJob, status *kedav1alpha1.ScaledJobStatus) error
UpdateScaledJobStatus patches the given ScaledObject with the updated status passed to it or returns an error.
func UpdateScaledObjectStatus ¶
func UpdateScaledObjectStatus(ctx context.Context, client runtimeclient.StatusClient, logger logr.Logger, scaledObject *kedav1alpha1.ScaledObject, status *kedav1alpha1.ScaledObjectStatus) error
UpdateScaledObjectStatus patches the given ScaledObject with the updated status passed to it or returns an error.
func UpdateTriggerAuthenticationStatusFromTriggers ¶
func UpdateTriggerAuthenticationStatusFromTriggers(ctx context.Context, logger logr.Logger, client runtimeclient.Client, namespace string, scaleTriggers []kedav1alpha1.ScaleTriggers, statusHandler func(*kedav1alpha1.TriggerAuthenticationStatus) *kedav1alpha1.TriggerAuthenticationStatus) (string, error)
UpdateTriggerAuthenticationStatusFromTriggers patches triggerAuthenticationStatus From the given Triggers or returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.