Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTransientReconcileError ¶ added in v0.2.0
IsTransientReconcileError returns true if the provided error is a transient ReconcileError.
Types ¶
type ReconcileError ¶
type ReconcileError struct {
// contains filtered or unexported fields
}
ReconcileError represents an error that may be fixed by waiting.
func WithTransientError ¶
func WithTransientError(err error, requeueAfter time.Duration) *ReconcileError
WithTransientError wraps the error in a ReconcileError with requeueAfter duration.
func (*ReconcileError) Error ¶
func (t *ReconcileError) Error() string
Error returns the error message for a ReconcileError.
func (*ReconcileError) RequeueAfter ¶
func (t *ReconcileError) RequeueAfter() time.Duration
RequeueAfter returns requestAfter value.
type Reconciler ¶
type Reconciler interface {
Reconcile(ctx context.Context) error
Delete(ctx context.Context) error
}
Reconciler is a generic interface for a controller reconciler which has Reconcile and Delete methods.
type ServiceReconciler ¶
type ServiceReconciler interface {
Name() string
Reconciler
}
ServiceReconciler is a Scaleway service reconciler which can reconcile a Scaleway service.
Directories
¶
| Path | Synopsis |
|---|---|
|
mock_client
Package mock_client is a generated GoMock package.
|
Package mock_client is a generated GoMock package. |
|
mock_common
Package mock_common is a generated GoMock package.
|
Package mock_common is a generated GoMock package. |
|
k8s
|
|
Click to show internal directories.
Click to hide internal directories.