cache

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRedis

ConfigureRedis configures the supplied resource (presumed to be a Redis) using the supplied resource claim (presumed to be a RedisCluster) and resource class.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles Redis read from the Kubernetes API with an external store, typically the Azure API.

func (*Reconciler) Reconcile

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

Reconcile Azure Cache resources with the Azure API.

type RedisClaimController

type RedisClaimController struct{}

RedisClaimController is responsible for adding the Redis claim controller and its corresponding reconciler to the manager with any runtime configuration.

func (*RedisClaimController) SetupWithManager

func (c *RedisClaimController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds a controller that reconciles RedisCluster resource claims.

type RedisController

type RedisController struct{}

RedisController is responsible for adding the Redis controller and its corresponding reconciler to the manager with any runtime configuration.

func (*RedisController) SetupWithManager

func (c *RedisController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new Redis Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and start it when the Manager is Started.

Jump to

Keyboard shortcuts

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