Documentation ¶
Index ¶
- type AzureRedisCacheManager
- func (r *AzureRedisCacheManager) CreateRedisCache(ctx context.Context, instance azurev1alpha1.RedisCache) (*redis.ResourceType, error)
- func (rc *AzureRedisCacheManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (r *AzureRedisCacheManager) DeleteRedisCache(ctx context.Context, groupName string, redisCacheName string) (result autorest.Response, err error)
- func (rc *AzureRedisCacheManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (rc *AzureRedisCacheManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (r *AzureRedisCacheManager) GetRedisCache(ctx context.Context, groupName string, redisCacheName string) (result redis.ResourceType, err error)
- func (g *AzureRedisCacheManager) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
- type RedisCacheManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureRedisCacheManager ¶
type AzureRedisCacheManager struct {
rediscaches.AzureRedisManager
}
AzureRedisCacheManager creates a new RedisCacheManager
func NewAzureRedisCacheManager ¶
func NewAzureRedisCacheManager(creds config.Credentials, secretClient secrets.SecretClient, scheme *runtime.Scheme) *AzureRedisCacheManager
NewAzureRedisCacheManager creates a new RedisCacheManager
func (*AzureRedisCacheManager) CreateRedisCache ¶
func (r *AzureRedisCacheManager) CreateRedisCache( ctx context.Context, instance azurev1alpha1.RedisCache) (*redis.ResourceType, error)
CreateRedisCache creates a new RedisCache
func (*AzureRedisCacheManager) Delete ¶
func (rc *AzureRedisCacheManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete drops a rediscache
func (*AzureRedisCacheManager) DeleteRedisCache ¶
func (r *AzureRedisCacheManager) DeleteRedisCache(ctx context.Context, groupName string, redisCacheName string) (result autorest.Response, err error)
DeleteRedisCache removes the resource group named by env var
func (*AzureRedisCacheManager) Ensure ¶
func (rc *AzureRedisCacheManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure creates a rediscache
func (*AzureRedisCacheManager) GetParents ¶
func (rc *AzureRedisCacheManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents returns the parents of rediscache
func (*AzureRedisCacheManager) GetRedisCache ¶
func (r *AzureRedisCacheManager) GetRedisCache(ctx context.Context, groupName string, redisCacheName string) (result redis.ResourceType, err error)
GetRedisCache returns a redis cache object if it exists
func (*AzureRedisCacheManager) GetStatus ¶
func (g *AzureRedisCacheManager) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
GetStatus gets the ASOStatus
type RedisCacheManager ¶
type RedisCacheManager interface { // CreateRedisCache creates a new RedisCache CreateRedisCache(ctx context.Context, instance azurev1alpha1.RedisCache) (*redis.ResourceType, error) // DeleteRedisCache removes the resource group named by env var DeleteRedisCache(ctx context.Context, groupName string, redisCacheName string) (result autorest.Response, err error) // also embed async client methods resourcemanager.ARMClient }
RedisCacheManager for RedisCache
Click to show internal directories.
Click to hide internal directories.