Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDomainType = "DEFAULT" CustomDomainType = "CUSTOM" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
Domain 域名封装
func (*Domain) List ¶
func (d *Domain) List(userID user.ID, orgID uint64, runtimeID uint64) (*apistructs.DomainGroup, error)
List 查询域名列表
func (*Domain) Update ¶
func (d *Domain) Update(userID user.ID, orgID uint64, runtimeID uint64, group *apistructs.DomainGroup) error
Update 更新域名
type Option ¶
type Option func(*Domain)
Option 域名对象配置选项
func WithClusterSvc ¶
func WithClusterSvc(clusterSvc clusterpb.ClusterServiceServer) Option
func WithEventManager ¶
func WithEventManager(evMgr *events.EventManager) Option
WithEventManager 配置 EventManager
Click to show internal directories.
Click to hide internal directories.