Documentation ¶
Index ¶
- type ServiceBinding
- func (s ServiceBinding) Create(obj interface{}, _ map[string]string) error
- func (s ServiceBinding) Delete(obj interface{}) error
- func (s ServiceBinding) Get(cols map[string]string) (interface{}, error)
- func (s ServiceBinding) GetByPrimaryKey(id string) (interface{}, error)
- func (s ServiceBinding) GetList(cols map[string]string) (interface{}, error)
- func (s ServiceBinding) GetListByStatusSets(status sets.String) (interface{}, error)
- func (s ServiceBinding) Update(obj interface{}, cols ...string) error
- func (s ServiceBinding) UpdateStatusMsg(obj interface{}, status, msg string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBinding ¶
type ServiceBinding struct {
// contains filtered or unexported fields
}
ServiceBinding the dao layer of service binding for database CRUD
func (ServiceBinding) Create ¶
func (s ServiceBinding) Create(obj interface{}, _ map[string]string) error
Create insert a data record to the database
func (ServiceBinding) Delete ¶
func (s ServiceBinding) Delete(obj interface{}) error
Delete the service binding
func (ServiceBinding) Get ¶
func (s ServiceBinding) Get(cols map[string]string) (interface{}, error)
Get the service binding from database and filter by cols
func (ServiceBinding) GetByPrimaryKey ¶
func (s ServiceBinding) GetByPrimaryKey(id string) (interface{}, error)
GetByPrimaryKey get the service binding by the primary key (id)
func (ServiceBinding) GetList ¶
func (s ServiceBinding) GetList(cols map[string]string) (interface{}, error)
GetList get service binding list, and filter by cols
func (ServiceBinding) GetListByStatusSets ¶
func (s ServiceBinding) GetListByStatusSets(status sets.String) (interface{}, error)
GetListByStatusSets get service binding list, and filters by status
func (ServiceBinding) Update ¶
func (s ServiceBinding) Update(obj interface{}, cols ...string) error
Update the service binding to the database with cols
func (ServiceBinding) UpdateStatusMsg ¶
func (s ServiceBinding) UpdateStatusMsg(obj interface{}, status, msg string) error
UpdateStatusMsg update the status massage for service binding
Click to show internal directories.
Click to hide internal directories.