Documentation ¶
Index ¶
- Variables
- func AddTagsToResource(resourceARN string, tags []*elasticache.Tag, cachesvc *elasticache.ElastiCache, ...) error
- func BuilElastiCacheTags(tags map[string]string) []*elasticache.Tag
- func UserAccount(iamsvc *iam.IAM) (string, error)
- type CacheCluster
- type CacheClusterDetails
- type ElastiCacheCluster
- func (r *ElastiCacheCluster) Create(ID string, cacheClusterDetails CacheClusterDetails) error
- func (r *ElastiCacheCluster) Delete(ID string) error
- func (r *ElastiCacheCluster) Describe(ID string) (CacheClusterDetails, error)
- func (r *ElastiCacheCluster) Modify(ID string, cacheClusterDetails CacheClusterDetails, applyImmediately bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCacheClusterDoesNotExist = errors.New("elasticache cluster does not exist")
)
Functions ¶
func AddTagsToResource ¶
func AddTagsToResource(resourceARN string, tags []*elasticache.Tag, cachesvc *elasticache.ElastiCache, logger lager.Logger) error
func BuilElastiCacheTags ¶
func BuilElastiCacheTags(tags map[string]string) []*elasticache.Tag
Types ¶
type CacheCluster ¶
type CacheCluster interface { Describe(ID string) (CacheClusterDetails, error) Create(ID string, cacheClusterDetails CacheClusterDetails) error Modify(ID string, cacheClusterDetails CacheClusterDetails, applyImmediately bool) error Delete(ID string) error }
type CacheClusterDetails ¶
type ElastiCacheCluster ¶
type ElastiCacheCluster struct {
// contains filtered or unexported fields
}
func NewElastiCacheCluster ¶
func NewElastiCacheCluster( region string, iamsvc *iam.IAM, cachesvc *elasticache.ElastiCache, logger lager.Logger, ) *ElastiCacheCluster
func (*ElastiCacheCluster) Create ¶
func (r *ElastiCacheCluster) Create(ID string, cacheClusterDetails CacheClusterDetails) error
func (*ElastiCacheCluster) Delete ¶
func (r *ElastiCacheCluster) Delete(ID string) error
func (*ElastiCacheCluster) Describe ¶
func (r *ElastiCacheCluster) Describe(ID string) (CacheClusterDetails, error)
func (*ElastiCacheCluster) Modify ¶
func (r *ElastiCacheCluster) Modify(ID string, cacheClusterDetails CacheClusterDetails, applyImmediately bool) error
Click to show internal directories.
Click to hide internal directories.