type statusStrategy … func NewStatusStrategy(strategy customResourceStrategy) statusStrategy { … } // GetResetFields returns the set of fields that get reset by the strategy // and should not be modified by the user. func (a statusStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { … } func (a statusStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { … } // ValidateUpdate is the default update validation for an end user updating status. func (a statusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList { … } // WarningsOnUpdate returns warnings for the given update. func (statusStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string { … }