Interface NamespacesClient
- All Known Implementing Classes:
NamespacesClientImpl
public interface NamespacesClient
The API interface exposed by the YellowDog Namespaces Service
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteNamespacePolicy
(String namespace) Deletes the namespace policy for the specified namespace if it exists.Returns a search client for searching namespace policies.getNamespacePolicy
(String namespace) Requests the namespace policy for the specified namespace.void
saveNamespacePolicy
(NamespacePolicy namespacePolicy) Submits a namespace policy to either save or update.
-
Method Details
-
saveNamespacePolicy
Submits a namespace policy to either save or update.- Parameters:
namespacePolicy
- the namespace policy to submit
-
getNamespacePolicy
Requests the namespace policy for the specified namespace.- Parameters:
namespace
- the namespace- Returns:
- the namespace policy
-
deleteNamespacePolicy
Deletes the namespace policy for the specified namespace if it exists.- Parameters:
namespace
- the namespace
-
getNamespacePolicies
Returns a search client for searching namespace policies.- Parameters:
search
- the search criteria- Returns:
- a search client for searching namespace policies
-