redis

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCluster

func AddCluster(mgr manager.Manager) error

AddCluster creates a new RedisCluster Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type CloudMemorystoreInstanceHandler

type CloudMemorystoreInstanceHandler struct{}

CloudMemorystoreInstanceHandler dynamically provisions Cloud Memorystore instances given a resource class.

func (*CloudMemorystoreInstanceHandler) Find

Find a CloudMemorystoreInstance instance.

func (*CloudMemorystoreInstanceHandler) Provision

Provision a new CloudMemorystoreInstance resource.

func (*CloudMemorystoreInstanceHandler) SetBindStatus

SetBindStatus marks the supplied CloudMemorystoreInstance as bound or unbound in the Kubernetes API.

type Reconciler

type Reconciler struct {
	*corecontroller.Reconciler
}

Reconciler is the reconciler for RedisCluster objects

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile the desired with the actual state of a RedisCluster.

type RedisHandler

type RedisHandler struct{} // nolint:golint

RedisHandler dynamically provisions Redis resources given a resource class.

func (*RedisHandler) Find

Find a Redis resource.

func (*RedisHandler) Provision

Provision a new Redis resource.

func (*RedisHandler) SetBindStatus

func (h *RedisHandler) SetBindStatus(n types.NamespacedName, c client.Client, bound bool) error

SetBindStatus marks the supplied Redis resource as bound or unbound in the Kubernetes API.

type ReplicationGroupHandler

type ReplicationGroupHandler struct{}

ReplicationGroupHandler dynamically provisions ReplicationGroup resources given a resource class.

func (*ReplicationGroupHandler) Find

Find a ReplicationGroup resource.

func (*ReplicationGroupHandler) Provision

Provision a new ReplicationGroup resource.

func (*ReplicationGroupHandler) SetBindStatus

func (h *ReplicationGroupHandler) SetBindStatus(n types.NamespacedName, c client.Client, bound bool) error

SetBindStatus marks the supplied ReplicationGroup resource as bound or unbound in the Kubernetes API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL