Documentation
¶
Overview ¶
Copyright 2021 Absa Group Limited
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Generated by GoLic, for more details see: https://github.com/AbsaOSS/golic
package controller extends `sigs.k8s.io/controller-runtime`
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcileResult ¶
type ReconcileResult struct {
// contains filtered or unexported fields
}
func NewReconcileResultHandler ¶
func NewReconcileResultHandler(duration time.Duration) *ReconcileResult
func (*ReconcileResult) Requeue ¶
func (r *ReconcileResult) Requeue() (ctrl.Result, error)
Requeue requeue loop after config.ReconcileRequeueSeconds this apply in case you didn't modify request resources. If so, reconciliation starts immediately see: https://github.com/operator-framework/operator-sdk/issues/1164
func (*ReconcileResult) RequeueError ¶
func (r *ReconcileResult) RequeueError(err error) (ctrl.Result, error)
RequeueError requeue loop immediately see default controller limiter: https://danielmangum.com/posts/controller-runtime-client-go-rate-limiting/
func (*ReconcileResult) RequeueNow ¶
func (r *ReconcileResult) RequeueNow() (ctrl.Result, error)
RequeueError requeue loop immediately with successful result