Documentation
¶
Index ¶
- type Cluster
- func (srv *Cluster) Close()
- func (srv *Cluster) Create(ctx context.Context, ...) (model.ClusterModel, error)
- func (srv *Cluster) Delete(ctx context.Context, clusterId uint64) error
- func (srv *Cluster) DeleteByCreator(ctx context.Context, userid uint64) error
- func (srv *Cluster) Evict(id uint64)
- func (srv *Cluster) Get(ctx context.Context, id uint64) (model.ClusterModel, error)
- func (srv *Cluster) GetAny(ctx context.Context, where map[string]interface{}) ([]*model.ClusterModel, error)
- func (srv *Cluster) GetCache(id uint64) (model.ClusterModel, error)
- func (srv *Cluster) GetList(ctx context.Context) ([]*model.ClusterList, error)
- func (srv *Cluster) Update(ctx context.Context, update map[string]interface{}, clusterId uint64) (*model.ClusterModel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.