Documentation ¶
Index ¶
- type DdbDataStore
- func (db DdbDataStore) DeleteServiceBinding(id string) error
- func (db DdbDataStore) DeleteServiceInstance(sid string) error
- func (db DdbDataStore) GetParam(paramname string) (value string, err error)
- func (db DdbDataStore) GetServiceBinding(id string) (*serviceinstance.ServiceBinding, error)
- func (db DdbDataStore) GetServiceDefinition(serviceuuid string) (*osb.Service, error)
- func (db DdbDataStore) GetServiceInstance(sid string) (*serviceinstance.ServiceInstance, error)
- func (db DdbDataStore) PutParam(paramname string, paramvalue string) error
- func (db DdbDataStore) PutServiceBinding(sb serviceinstance.ServiceBinding) error
- func (db DdbDataStore) PutServiceDefinition(sd osb.Service) error
- func (db DdbDataStore) PutServiceInstance(si serviceinstance.ServiceInstance) error
- type Param
- type ServiceItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DdbDataStore ¶
type DdbDataStore struct { Accountid string Accountuuid uuid.UUID Brokerid string Region string Ddb dynamodb.DynamoDB Tablename string }
DdbDataStore is a DynamoDB implementation of DataStore.
func (DdbDataStore) DeleteServiceBinding ¶
func (db DdbDataStore) DeleteServiceBinding(id string) error
DeleteServiceBinding deletes the service binding.
func (DdbDataStore) DeleteServiceInstance ¶
func (db DdbDataStore) DeleteServiceInstance(sid string) error
DeleteServiceInstance deletes the service instance.
func (DdbDataStore) GetParam ¶
func (db DdbDataStore) GetParam(paramname string) (value string, err error)
GetParam fetches parameter from Dynamo
func (DdbDataStore) GetServiceBinding ¶
func (db DdbDataStore) GetServiceBinding(id string) (*serviceinstance.ServiceBinding, error)
GetServiceBinding returns the specified service binding.
func (DdbDataStore) GetServiceDefinition ¶
func (db DdbDataStore) GetServiceDefinition(serviceuuid string) (*osb.Service, error)
GetServiceDefinition fetches given catalog service definition from Dynamo
func (DdbDataStore) GetServiceInstance ¶
func (db DdbDataStore) GetServiceInstance(sid string) (*serviceinstance.ServiceInstance, error)
GetServiceInstance fetches given service instance from Dynamo
func (DdbDataStore) PutParam ¶
func (db DdbDataStore) PutParam(paramname string, paramvalue string) error
PutParam puts parameters into Dynamo
func (DdbDataStore) PutServiceBinding ¶
func (db DdbDataStore) PutServiceBinding(sb serviceinstance.ServiceBinding) error
PutServiceBinding stores the service binding.
func (DdbDataStore) PutServiceDefinition ¶
func (db DdbDataStore) PutServiceDefinition(sd osb.Service) error
PutServiceDefinition push catalog service definition to DynamoDb
func (DdbDataStore) PutServiceInstance ¶
func (db DdbDataStore) PutServiceInstance(si serviceinstance.ServiceInstance) error
PutServiceInstance stores given service instance in Dynamo
Click to show internal directories.
Click to hide internal directories.