Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateCollections = []func(db *Deployments) error{}
Functions ¶
This section is empty.
Types ¶
type DeploymentIndex ¶
type DeploymentIndex struct { Deployment deploymentmodel.Deployment `json:"deployment" bson:"deployment"` DeviceGroups []string `json:"device_groups" bson:"device_groups"` Id string `json:"id" bson:"id"` }
type Deployments ¶
type Deployments struct {
// contains filtered or unexported fields
}
func (*Deployments) GetDeploymentByDeviceGroupId ¶
func (this *Deployments) GetDeploymentByDeviceGroupId(deviceGroupId string) (result []deploymentmodel.Deployment, err error)
func (*Deployments) RemoveDeployment ¶
func (this *Deployments) RemoveDeployment(deploymentId string) (err error)
func (*Deployments) SetDeployment ¶
func (this *Deployments) SetDeployment(element deploymentmodel.Deployment) (err error)
Click to show internal directories.
Click to hide internal directories.