actions

package
v0.0.0-...-c112795 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureRedisCacheActionManager

type AzureRedisCacheActionManager struct {
	rediscaches.AzureRedisManager
}

AzureRedisCacheActionManager creates a new RedisCacheManager

func NewAzureRedisCacheActionManager

func NewAzureRedisCacheActionManager(creds config.Credentials, secretClient secrets.SecretClient, scheme *runtime.Scheme) *AzureRedisCacheActionManager

NewAzureRedisCacheActionManager creates a new RedisCacheManager

func (*AzureRedisCacheActionManager) Delete

func (*AzureRedisCacheActionManager) Ensure

func (*AzureRedisCacheActionManager) ForceReboot

func (r *AzureRedisCacheActionManager) ForceReboot(ctx context.Context, resourceGroup string, cacheName string, actionName v1alpha1.RedisCacheActionName, shardID *int32) error

func (*AzureRedisCacheActionManager) GetParents

func (*AzureRedisCacheActionManager) GetStatus

GetStatus gets the ASOStatus

func (*AzureRedisCacheActionManager) RegeneratePrimaryAccessKey

func (r *AzureRedisCacheActionManager) RegeneratePrimaryAccessKey(ctx context.Context, resourceGroup string, cacheName string) error

RegeneratePrimaryAccessKey regenerates either the primary or secondary access keys

func (*AzureRedisCacheActionManager) RegenerateSecondaryAccessKey

func (r *AzureRedisCacheActionManager) RegenerateSecondaryAccessKey(ctx context.Context, resourceGroup string, cacheName string) error

RegenerateSecondaryAccessKey regenerates either the primary or secondary access keys

type RedisCacheActionManager

type RedisCacheActionManager interface {
	RegeneratePrimaryAccessKey(ctx context.Context, resourceGroup string, cacheName string) (string, error)

	RegenerateSecondaryAccessKey(ctx context.Context, resourceGroup string, cacheName string) (string, error)

	ForceReboot(ctx context.Context, resourceGroup string, cacheName string) error

	// also embed async client methods
	resourcemanager.ARMClient
}

RedisCacheActionManager for RedisCache

Jump to

Keyboard shortcuts

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