()
| 41 | } |
| 42 | |
| 43 | func NewMockClusterStore() *MockClusterStore { |
| 44 | return &MockClusterStore{ |
| 45 | ClusterStore: store.NewClusterStore(engine.NewMock()), |
| 46 | clusters: make(map[string]*store.Cluster), |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | func (s *MockClusterStore) CreateCluster(ctx context.Context, ns string, cluster *store.Cluster) error { |
| 51 | s.mu.Lock() |
no test coverage detected