cache

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureReplicationGroup

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

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

Types

type ReplicationGroupClaimController

type ReplicationGroupClaimController struct{}

A ReplicationGroupClaimController reconciles RedisCluster claims with ReplicationGroups, dynamically provisioning them if needed.

func (*ReplicationGroupClaimController) SetupWithManager

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

SetupWithManager adds a controller that reconciles RedisCluster resource claims.

type ReplicationGroupClaimDefaultingController

type ReplicationGroupClaimDefaultingController struct{}

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

func (*ReplicationGroupClaimDefaultingController) SetupWithManager

SetupWithManager sets up the ReplicationGroupClaimDefaultingController using the supplied manager.

type ReplicationGroupClaimSchedulingController

type ReplicationGroupClaimSchedulingController struct{}

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

func (*ReplicationGroupClaimSchedulingController) SetupWithManager

SetupWithManager sets up the ReplicationGroupClaimSchedulingController using the supplied manager.

type ReplicationGroupController

type ReplicationGroupController struct{}

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

func (*ReplicationGroupController) SetupWithManager

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

SetupWithManager creates a new ReplicationGroup 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