Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmdb ¶
type Cmdb struct {
// contains filtered or unexported fields
}
Cmdb .
func (*Cmdb) QueryAllOrgClusterRelation ¶
func (c *Cmdb) QueryAllOrgClusterRelation() ([]*OrgClusterRelationDTO, error)
QueryAllOrgClusterRelation 获取所有的企业集群关联关系
func (*Cmdb) QueryNotifyGroup ¶
func (c *Cmdb) QueryNotifyGroup(groupIDs []string) ([]*apistructs.NotifyGroup, error)
QueryNotifyGroup .
type OrgClusterRelationDTO ¶
type OrgClusterRelationDTO struct { ID uint64 `json:"id"` OrgID uint64 `json:"orgId"` OrgName string `json:"orgName"` ClusterID uint64 `json:"clusterId"` ClusterName string `json:"clusterName"` Creator string `json:"creator"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
OrgClusterRelationDTO 企业对应集群关系结构
Click to show internal directories.
Click to hide internal directories.