You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

computeclustermodel.go 655 B

123456789101112131415161718192021222324
  1. package model
  2. import "github.com/zeromicro/go-zero/core/stores/sqlx"
  3. var _ ComputeClusterModel = (*customComputeClusterModel)(nil)
  4. type (
  5. // ComputeClusterModel is an interface to be customized, add more methods here,
  6. // and implement the added methods in customComputeClusterModel.
  7. ComputeClusterModel interface {
  8. computeClusterModel
  9. }
  10. customComputeClusterModel struct {
  11. *defaultComputeClusterModel
  12. }
  13. )
  14. // NewComputeClusterModel returns a model for the database table.
  15. func NewComputeClusterModel(conn sqlx.SqlConn) ComputeClusterModel {
  16. return &customComputeClusterModel{
  17. defaultComputeClusterModel: newComputeClusterModel(conn),
  18. }
  19. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.