ExistsNamespace return an indicator whether the specified namespace exists
(ctx context.Context, ns string)
| 87 | |
| 88 | // ExistsNamespace return an indicator whether the specified namespace exists |
| 89 | func (s *ClusterStore) ExistsNamespace(ctx context.Context, ns string) (bool, error) { |
| 90 | return s.e.Exists(ctx, appendPrefix(ns)) |
| 91 | } |
| 92 | |
| 93 | // CreateNamespace will create a namespace for clusters |
| 94 | func (s *ClusterStore) CreateNamespace(ctx context.Context, ns string) error { |