Documentation
¶
Index ¶
- type Dao
- func (d *Dao) Auth(c context.Context, cookie string) (msg map[string]interface{}, err error)
- func (d *Dao) Close()
- func (d *Dao) NodeTree(c context.Context, token, bu, team string) (nodes []*model.Node, err error)
- func (d *Dao) OpsMemcaches(c context.Context) (mcs []*model.OpsCacheMemcache, err error)
- func (d *Dao) OpsRediss(c context.Context) (mcs []*model.OpsCacheRedis, err error)
- func (d *Dao) OverlordClusters(c context.Context, zone, appid string) (ocs []*model.OverlordCluster, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) Role(c context.Context, token string) (nodes *model.CacheData, err error)
- func (d *Dao) Token(c context.Context, body string) (msg map[string]interface{}, err error)
- func (d *Dao) Tree(c context.Context, token string) (data interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
Dao dao.
func (*Dao) OpsMemcaches ¶
OpsMemcaches get all ops mc.
func (*Dao) OverlordClusters ¶
func (d *Dao) OverlordClusters(c context.Context, zone, appid string) (ocs []*model.OverlordCluster, err error)
OverlordClusters get all overlord clusters.
Click to show internal directories.
Click to hide internal directories.