cache

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRedis

func ConfigureRedis(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error

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 RedisClaimController

type RedisClaimController struct{}

A RedisClaimController reconciles RedisCluster claims with Azure Redis resources, dynamically provisioning them if needed.

func (*RedisClaimController) SetupWithManager

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

SetupWithManager sets up the RedisClaimController using the supplied manager.

type RedisClaimDefaultingController

type RedisClaimDefaultingController struct{}

A RedisClaimDefaultingController reconciles RedisCluster claims that omit their resource ref, class ref, and class selector by choosing a default Azure Redis resource class if one exists.

func (*RedisClaimDefaultingController) SetupWithManager

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

SetupWithManager sets up the RedisClaimDefaultingController using the supplied manager.

type RedisClaimSchedulingController

type RedisClaimSchedulingController struct{}

A RedisClaimSchedulingController reconciles RedisCluster claims that include a class selector but omit their class and resource references by picking a random matching Azure Redis class, if any.

func (*RedisClaimSchedulingController) SetupWithManager

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

SetupWithManager sets up the RedisClaimSchedulingController using the supplied manager.

type RedisController

type RedisController struct{}

RedisController is responsible for adding the MySQLServer 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 MySQLServer RedisController and adds it to the Manager with default RBAC. The Manager will set fields on the RedisController 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