Documentation ¶
Index ¶
- func Add(mgr manager.Manager) error
- func Cause(err error) error
- func FlagSet() *pflag.FlagSet
- func New(msg string) error
- func Newf(msg string, args ...interface{}) error
- func SetClusterFailed(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func SetClusterOK(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func SetClusterRebalancing(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func SetClusterResetPassword(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func SetClusterScaling(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func SetClusterUpdating(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
- func Wrap(err error, msg string) error
- func Wrapf(err error, msg string, args ...interface{}) error
- type ErrorType
- type IWaitHandle
- type ReconcileDistributedRedisCluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new DistributedRedisCluster Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func SetClusterFailed ¶
func SetClusterFailed(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
func SetClusterOK ¶
func SetClusterOK(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
func SetClusterRebalancing ¶ added in v0.2.0
func SetClusterRebalancing(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
func SetClusterResetPassword ¶ added in v0.2.4
func SetClusterResetPassword(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
func SetClusterScaling ¶
func SetClusterScaling(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
func SetClusterUpdating ¶ added in v0.2.1
func SetClusterUpdating(status *redisv1alpha1.DistributedRedisClusterStatus, reason string)
Types ¶
type ErrorType ¶
type ErrorType uint
ErrorType is the type of an error
type IWaitHandle ¶ added in v0.2.0
type ReconcileDistributedRedisCluster ¶
type ReconcileDistributedRedisCluster struct {
// contains filtered or unexported fields
}
ReconcileDistributedRedisCluster reconciles a DistributedRedisCluster object
func (*ReconcileDistributedRedisCluster) Reconcile ¶
func (r *ReconcileDistributedRedisCluster) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a DistributedRedisCluster object and makes changes based on the state read and what is in the DistributedRedisCluster.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.