(ctx context.Context, ns string, cluster *store.Cluster)
| 48 | } |
| 49 | |
| 50 | func (s *MockClusterStore) CreateCluster(ctx context.Context, ns string, cluster *store.Cluster) error { |
| 51 | s.mu.Lock() |
| 52 | defer s.mu.Unlock() |
| 53 | s.clusters[cluster.Name] = cluster |
| 54 | return nil |
| 55 | } |
| 56 | |
| 57 | func (s *MockClusterStore) GetCluster(ctx context.Context, ns, cluster string) (*store.Cluster, error) { |
| 58 | s.mu.Lock() |
no outgoing calls
no test coverage detected