servicebinding

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL