Documentation
¶
Index ¶
- type Catalog
- type Config
- type Cost
- type DashboardClient
- type ElastiCacheBroker
- func (b *ElastiCacheBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.BindingResponse, error)
- func (b *ElastiCacheBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, ...) (bool, error)
- func (b *ElastiCacheBroker) LastOperation(instanceID string) (brokerapi.LastOperationResponse, error)
- func (b *ElastiCacheBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, acceptsIncomplete bool) (brokerapi.ProvisioningResponse, bool, error)
- func (b *ElastiCacheBroker) Services() brokerapi.CatalogResponse
- func (b *ElastiCacheBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
- func (b *ElastiCacheBroker) Update(instanceID string, details brokerapi.UpdateDetails, acceptsIncomplete bool) (bool, error)
- type ElastiCacheProperties
- type ProvisionParameters
- type Service
- type ServiceMetadata
- type ServicePlan
- type ServicePlanMetadata
- type UpdateParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
Services []Service `json:"services,omitempty"`
}
func (Catalog) FindService ¶
func (Catalog) FindServicePlan ¶
func (c Catalog) FindServicePlan(planID string) (plan ServicePlan, found bool)
type Config ¶
type DashboardClient ¶
type ElastiCacheBroker ¶
type ElastiCacheBroker struct {
// contains filtered or unexported fields
}
func New ¶
func New( config Config, cacheCluster awselasticache.CacheCluster, logger lager.Logger, ) *ElastiCacheBroker
func (*ElastiCacheBroker) Bind ¶
func (b *ElastiCacheBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.BindingResponse, error)
func (*ElastiCacheBroker) Deprovision ¶
func (b *ElastiCacheBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, acceptsIncomplete bool) (bool, error)
func (*ElastiCacheBroker) LastOperation ¶
func (b *ElastiCacheBroker) LastOperation(instanceID string) (brokerapi.LastOperationResponse, error)
func (*ElastiCacheBroker) Provision ¶
func (b *ElastiCacheBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, acceptsIncomplete bool) (brokerapi.ProvisioningResponse, bool, error)
func (*ElastiCacheBroker) Services ¶
func (b *ElastiCacheBroker) Services() brokerapi.CatalogResponse
func (*ElastiCacheBroker) Unbind ¶
func (b *ElastiCacheBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
func (*ElastiCacheBroker) Update ¶
func (b *ElastiCacheBroker) Update(instanceID string, details brokerapi.UpdateDetails, acceptsIncomplete bool) (bool, error)
type ElastiCacheProperties ¶
type ElastiCacheProperties struct {
CacheInstanceClass string `json:"cache_instance_class"`
Engine string `json:"engine"`
EngineVersion string `json:"engine_version"`
AutoMinorVersionUpgrade bool `json:"auto_minor_version_upgrade,omitempty"`
Port int64 `json:"port,omitempty"`
NumCacheNodes int64 `json:"num_cache_nodes,omitempty"`
CacheSecurityGroups []string `json:"cache_security_groups,omitempty"`
CacheSubnetGroupName string `json:"cache_subnet_group_name,omitempty"`
}
func (ElastiCacheProperties) Validate ¶
func (eq ElastiCacheProperties) Validate() error
type ProvisionParameters ¶
type ProvisionParameters struct {
}
type Service ¶
type Service struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Bindable bool `json:"bindable,omitempty"`
Tags []string `json:"tags,omitempty"`
Metadata *ServiceMetadata `json:"metadata,omitempty"`
Requires []string `json:"requires,omitempty"`
PlanUpdateable bool `json:"plan_updateable"`
Plans []ServicePlan `json:"plans,omitempty"`
DashboardClient *DashboardClient `json:"dashboard_client,omitempty"`
}
type ServiceMetadata ¶
type ServiceMetadata struct {
DisplayName string `json:"displayName,omitempty"`
ImageURL string `json:"imageUrl,omitempty"`
LongDescription string `json:"longDescription,omitempty"`
ProviderDisplayName string `json:"providerDisplayName,omitempty"`
DocumentationURL string `json:"documentationUrl,omitempty"`
SupportURL string `json:"supportUrl,omitempty"`
}
type ServicePlan ¶
type ServicePlan struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Metadata *ServicePlanMetadata `json:"metadata,omitempty"`
Free bool `json:"free"`
ElastiCacheProperties ElastiCacheProperties `json:"elasticache_properties,omitempty"`
}
func (ServicePlan) Validate ¶
func (sp ServicePlan) Validate() error
type ServicePlanMetadata ¶
type UpdateParameters ¶
type UpdateParameters struct {
ApplyImmediately bool `mapstructure:"apply_immediately"`
}
Click to show internal directories.
Click to hide internal directories.