Documentation ¶
Overview ¶
Package storage implements a Database Access Object (DAO)
Index ¶
- type BindRequestDetails
- type Encryptor
- type JSONObject
- type ServiceBindingCredentials
- type ServiceInstanceDetails
- type Storage
- func (s *Storage) CheckAllRecords() error
- func (s *Storage) CreateServiceBindingCredentials(binding ServiceBindingCredentials) error
- func (s *Storage) DeleteBindRequestDetails(bindingID string, instanceID string) error
- func (s *Storage) DeleteProvisionRequestDetails(serviceInstanceID string) error
- func (s *Storage) DeleteServiceBindingCredentials(bindingID, serviceInstanceID string) error
- func (s *Storage) DeleteServiceInstanceDetails(guid string) error
- func (s *Storage) DeleteTerraformDeployment(id string) error
- func (s *Storage) ExistsServiceBindingCredentials(bindingID, serviceInstanceID string) (bool, error)
- func (s *Storage) ExistsServiceInstanceDetails(guid string) (bool, error)
- func (s *Storage) ExistsTerraformDeployment(id string) (bool, error)
- func (s *Storage) GetAllTerraformDeployments() ([]TerraformDeploymentListEntry, error)
- func (s *Storage) GetBindRequestDetails(bindingID string, instanceID string) (JSONObject, error)
- func (s *Storage) GetProvisionRequestDetails(serviceInstanceID string) (JSONObject, error)
- func (s *Storage) GetServiceBindingCredentials(bindingID, serviceInstanceID string) (ServiceBindingCredentials, error)
- func (s *Storage) GetServiceBindingIDsForServiceInstance(serviceInstanceID string) ([]string, error)
- func (s *Storage) GetServiceInstanceDetails(guid string) (ServiceInstanceDetails, error)
- func (s *Storage) GetServiceInstancesIDs() (ids []string, err error)
- func (s *Storage) GetTerraformDeployment(id string) (TerraformDeployment, error)
- func (s *Storage) StoreBindRequestDetails(bindRequestDetails BindRequestDetails) error
- func (s *Storage) StoreProvisionRequestDetails(serviceInstanceID string, details JSONObject) error
- func (s *Storage) StoreServiceInstanceDetails(d ServiceInstanceDetails) error
- func (s *Storage) StoreTerraformDeployment(t TerraformDeployment) error
- func (s *Storage) UpdateAllRecords() error
- type TerraformDeployment
- type TerraformDeploymentListEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindRequestDetails ¶
type BindRequestDetails struct { ServiceInstanceGUID string ServiceBindingGUID string RequestDetails JSONObject }
type JSONObject ¶ added in v0.10.0
type ServiceBindingCredentials ¶
type ServiceBindingCredentials struct { ServiceGUID string ServiceInstanceGUID string BindingGUID string Credentials JSONObject }
type ServiceInstanceDetails ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CheckAllRecords ¶ added in v0.10.0
func (*Storage) CreateServiceBindingCredentials ¶
func (s *Storage) CreateServiceBindingCredentials(binding ServiceBindingCredentials) error
func (*Storage) DeleteBindRequestDetails ¶
func (*Storage) DeleteProvisionRequestDetails ¶
func (*Storage) DeleteServiceBindingCredentials ¶
func (*Storage) DeleteServiceInstanceDetails ¶
func (*Storage) DeleteTerraformDeployment ¶
func (*Storage) ExistsServiceBindingCredentials ¶
func (*Storage) ExistsServiceInstanceDetails ¶
func (*Storage) ExistsTerraformDeployment ¶
func (*Storage) GetAllTerraformDeployments ¶ added in v0.11.0
func (s *Storage) GetAllTerraformDeployments() ([]TerraformDeploymentListEntry, error)
func (*Storage) GetBindRequestDetails ¶
func (s *Storage) GetBindRequestDetails(bindingID string, instanceID string) (JSONObject, error)
func (*Storage) GetProvisionRequestDetails ¶
func (s *Storage) GetProvisionRequestDetails(serviceInstanceID string) (JSONObject, error)
func (*Storage) GetServiceBindingCredentials ¶
func (s *Storage) GetServiceBindingCredentials(bindingID, serviceInstanceID string) (ServiceBindingCredentials, error)
func (*Storage) GetServiceBindingIDsForServiceInstance ¶ added in v0.11.0
func (*Storage) GetServiceInstanceDetails ¶
func (s *Storage) GetServiceInstanceDetails(guid string) (ServiceInstanceDetails, error)
func (*Storage) GetServiceInstancesIDs ¶ added in v0.13.0
func (*Storage) GetTerraformDeployment ¶
func (s *Storage) GetTerraformDeployment(id string) (TerraformDeployment, error)
func (*Storage) StoreBindRequestDetails ¶
func (s *Storage) StoreBindRequestDetails(bindRequestDetails BindRequestDetails) error
func (*Storage) StoreProvisionRequestDetails ¶
func (s *Storage) StoreProvisionRequestDetails(serviceInstanceID string, details JSONObject) error
func (*Storage) StoreServiceInstanceDetails ¶
func (s *Storage) StoreServiceInstanceDetails(d ServiceInstanceDetails) error
func (*Storage) StoreTerraformDeployment ¶
func (s *Storage) StoreTerraformDeployment(t TerraformDeployment) error
func (*Storage) UpdateAllRecords ¶
type TerraformDeployment ¶
type TerraformDeployment struct { ID string Workspace workspace.Workspace LastOperationType string LastOperationState string LastOperationMessage string }
func (*TerraformDeployment) TFWorkspace ¶ added in v0.11.0
func (deployment *TerraformDeployment) TFWorkspace() *workspace.TerraformWorkspace
Source Files ¶
Click to show internal directories.
Click to hide internal directories.