# Functions

Client is the central place to create a client for Atlas using specified API keys and a server URL.
No description provided by the author
No description provided by the author
ReadConnection reads Atlas API connection parameters from AtlasProject Secret or from the default Operator one if the former is not specified.
TraversePages reads page after page using 'reader' and applies the 'predicate' for each item on the page.

# Constants

Error indicates that the project is being removed while it still has clusters.
Error indicates that the cluster doesn't exist.
Error codes that Atlas may return that we are concerned about.
The error that Atlas API returns if the GET request is sent to read the project that either doesn't exist or the user doesn't have permissions for.
Resource not found.
Error indicates that the database user doesn't exist.

# Variables

ProductVersion is used for sending the current Operator version in the User-Agent string.

# Structs

Connection encapsulates Atlas connectivity information that is necessary to perform API requests.

# Interfaces

Paginated is the general interface for a single page returned by Atlas api.

# Type aliases

PageItemPredicate is the function that processes single item on the page and returns true if no further processing needs to be done (usually it's the search logic).
PageReader is the function that reads a single page by its number.