Documentation ¶
Index ¶
- Variables
- type Mongo
- func (this *Mongo) GetEventDescriptionsByDeviceAndService(deviceId string, serviceId string) (result []model.EventDesc, err error)
- func (this *Mongo) GetEventDescriptionsByDeviceGroup(deviceGroupId string) (result []model.EventDesc, err error)
- func (this *Mongo) GetEventDescriptionsByEventId(eventId string) (result []model.EventDesc, err error)
- func (this *Mongo) GetEventDescriptionsByImportId(importId string) (result []model.EventDesc, err error)
- func (this *Mongo) GetEventDescriptionsByServiceId(serviceId string) (result []model.EventDesc, err error)
- func (this *Mongo) RemoveEventDescriptionsByDeploymentId(deploymentId string) (deletedCount int64, err error)
- func (this *Mongo) SetEventDescription(element model.EventDesc) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateCollections = []func(db *Mongo) error{}
View Source
var DescBson = getBsonFieldObject[model.EventDesc]()
View Source
var ErrReleaseNotFound = errors.New("release not found")
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) GetEventDescriptionsByDeviceAndService ¶
func (*Mongo) GetEventDescriptionsByDeviceGroup ¶
func (*Mongo) GetEventDescriptionsByEventId ¶
func (*Mongo) GetEventDescriptionsByImportId ¶
func (*Mongo) GetEventDescriptionsByServiceId ¶
func (*Mongo) RemoveEventDescriptionsByDeploymentId ¶
Click to show internal directories.
Click to hide internal directories.