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) GetOrgClusterRelationsByOrg ¶
func (c *Cmdb) GetOrgClusterRelationsByOrg(ctx context.Context, orgID string) (*orgpb.GetOrgClusterRelationsByOrgResponse, error)
GetOrgClusterRelationsByOrg 获取所有的企业集群关联关系
func (*Cmdb) QueryNotifyGroup ¶
func (c *Cmdb) QueryNotifyGroup(groupIDs []string) ([]*apistructs.NotifyGroup, error)
QueryNotifyGroup .
type Option ¶
type Option func(cmdb *Cmdb)
Option .
func WithOrgSvc ¶
func WithOrgSvc(orgSvc orgpb.OrgServiceServer) Option
Click to show internal directories.
Click to hide internal directories.