(ctx context.Context, ns, cluster string)
| 149 | } |
| 150 | |
| 151 | func (s *ClusterStore) existsCluster(ctx context.Context, ns, cluster string) (bool, error) { |
| 152 | return s.e.Exists(ctx, buildClusterKey(ns, cluster)) |
| 153 | } |
| 154 | |
| 155 | func (s *ClusterStore) GetCluster(ctx context.Context, ns, cluster string) (*Cluster, error) { |
| 156 | lock := s.getLock(ns, cluster) |
no test coverage detected