store

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPAddress

func IPAddress() string

IPAddress gets the client's public ip by calling the atlas private endpoint.

Types

type AWSPeeringConnectionCreator

type AWSPeeringConnectionCreator interface {
	AWSContainers(string) ([]atlasv2.CloudProviderContainer, error)
	PeeringConnectionCreator
}

type AccessLogsLister

type AccessLogsLister interface {
	AccessLogsByHostname(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
	AccessLogsByClusterName(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
}

type AccessLogsListerByClusterName

type AccessLogsListerByClusterName interface {
	AccessLogsByClusterName(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
}

type AccessLogsListerByHostname

type AccessLogsListerByHostname interface {
	AccessLogsByHostname(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
}

type AlertAcknowledger

type AlertAcknowledger interface {
	AcknowledgeAlert(*admin.AcknowledgeAlertApiParams) (*admin.AlertViewForNdsGroup, error)
}

type AlertConfigurationCreator

type AlertConfigurationCreator interface {
	CreateAlertConfiguration(*admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
}

type AlertConfigurationDeleter

type AlertConfigurationDeleter interface {
	DeleteAlertConfiguration(string, string) error
}

type AlertConfigurationDescriber

type AlertConfigurationDescriber interface {
	AlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}

type AlertConfigurationDisabler

type AlertConfigurationDisabler interface {
	DisableAlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}

type AlertConfigurationEnabler

type AlertConfigurationEnabler interface {
	EnableAlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}

type AlertConfigurationLister

type AlertConfigurationLister interface {
	AlertConfigurations(*admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error)
}

type AlertConfigurationUpdater

type AlertConfigurationUpdater interface {
	UpdateAlertConfiguration(*admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
}

type AlertDescriber

type AlertDescriber interface {
	Alert(*admin.GetAlertApiParams) (*admin.AlertViewForNdsGroup, error)
}

type AlertLister

type AlertLister interface {
	Alerts(*admin.ListAlertsApiParams) (*admin.PaginatedAlert, error)
}

type AllClustersLister

type AllClustersLister interface {
	ClusterLister
	ServerlessInstanceLister
}

type AtlasClusterConfigurationOptionsDescriber

type AtlasClusterConfigurationOptionsDescriber interface {
	AtlasClusterConfigurationOptions(string, string) (*admin.ClusterDescriptionProcessArgs, error)
}

type AtlasClusterConfigurationOptionsUpdater

type AtlasClusterConfigurationOptionsUpdater interface {
	UpdateAtlasClusterConfigurationOptions(string, string, *admin.ClusterDescriptionProcessArgs) (*admin.ClusterDescriptionProcessArgs, error)
}

type AtlasClusterGetterUpdater

type AtlasClusterGetterUpdater interface {
	ClusterDescriber
	ClusterUpdater
}

type AtlasSharedClusterDescriber

type AtlasSharedClusterDescriber interface {
	AtlasSharedCluster(string, string) (*atlas.Cluster, error)
}

type AtlasSharedClusterGetterUpgrader

type AtlasSharedClusterGetterUpgrader interface {
	AtlasSharedClusterDescriber
	ClusterUpgrader
}

type AuditingDescriber

type AuditingDescriber interface {
	Auditing(string) (*atlasv2.AuditLog, error)
}

type AuditingUpdater

type AuditingUpdater interface {
	UpdateAuditingConfig(string, *atlasv2.AuditLog) (*atlasv2.AuditLog, error)
}

type AuthenticatedConfig

type AuthenticatedConfig interface {
	CredentialsGetter
	ServiceGetter
}

AuthenticatedConfig an interface of the methods needed to set up a Store.

type AzurePeeringConnectionCreator

type AzurePeeringConnectionCreator interface {
	AzureContainers(string) ([]atlasv2.CloudProviderContainer, error)
	PeeringConnectionCreator
}

type CloudProviderAccessRoleAuthorizer

type CloudProviderAccessRoleAuthorizer interface {
	AuthorizeCloudProviderAccessRole(string, string, *atlas.CloudProviderAccessRoleRequest) (*atlasv2.CloudProviderAccessRole, error)
}

CloudProviderAccessRoleAuthorizer encapsulates the logic to manage different cloud providers.

type CloudProviderAccessRoleCreator

type CloudProviderAccessRoleCreator interface {
	CreateCloudProviderAccessRole(string, string) (*atlasv2.CloudProviderAccessRole, error)
}

type CloudProviderAccessRoleDeauthorizer

type CloudProviderAccessRoleDeauthorizer interface {
	DeauthorizeCloudProviderAccessRoles(*atlas.CloudProviderDeauthorizationRequest) error
}

type CloudProviderAccessRoleLister

type CloudProviderAccessRoleLister interface {
	CloudProviderAccessRoles(string) (*atlasv2.CloudProviderAccessRoles, error)
}

type CloudProviderRegionsLister

type CloudProviderRegionsLister interface {
	CloudProviderRegions(string, string, []string) (*atlasv2.PaginatedApiAtlasProviderRegions, error)
}

type ClusterCreator

type ClusterCreator interface {
	CreateCluster(v15 *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
}

type ClusterDeleter

type ClusterDeleter interface {
	DeleteCluster(string, string) error
}

type ClusterDescriber

type ClusterDescriber interface {
	AtlasCluster(string, string) (*admin.AdvancedClusterDescription, error)
}

type ClusterLister

type ClusterLister interface {
	ProjectClusters(string, *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error)
}

type ClusterPauser

type ClusterPauser interface {
	PauseCluster(string, string) (*admin.AdvancedClusterDescription, error)
}

type ClusterStarter

type ClusterStarter interface {
	StartCluster(string, string) (*admin.AdvancedClusterDescription, error)
}

type ClusterTester

type ClusterTester interface {
	TestClusterFailover(string, string) error
}

type ClusterUpdater

type ClusterUpdater interface {
	UpdateCluster(string, string, *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
}

type ClusterUpgrader

type ClusterUpgrader interface {
	UpgradeCluster(string, *atlas.Cluster) (*atlas.Cluster, error)
}

type CompliancePolicyCopyProtectionDisabler

type CompliancePolicyCopyProtectionDisabler interface {
	DisableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyCopyProtectionEnabler

type CompliancePolicyCopyProtectionEnabler interface {
	EnableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyDescriber

type CompliancePolicyDescriber interface {
	DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
}

type CompliancePolicyEnabler

type CompliancePolicyEnabler interface {
	EnableCompliancePolicy(projectID, authorizedEmail, authorizedFirstName, authorizedLastName string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyEncryptionAtRestDisabler

type CompliancePolicyEncryptionAtRestDisabler interface {
	DisableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyEncryptionAtRestEnabler

type CompliancePolicyEncryptionAtRestEnabler interface {
	EnableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyEncryptionAtRestUpdater

type CompliancePolicyEncryptionAtRestUpdater interface {
	UpdateEncryptionAtRest(projectID string, enable bool) (*atlasv2.DataProtectionSettings20231001, error)
}

type CompliancePolicyOnDemandPolicyCreator

type CompliancePolicyOnDemandPolicyCreator interface {
	CreateOnDemandPolicy(projectID string, policy *atlasv2.BackupComplianceOnDemandPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyPointInTimeRestoresEnabler

type CompliancePolicyPointInTimeRestoresEnabler interface {
	EnablePointInTimeRestore(projectID string, restoreWindowDays int) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyScheduledPolicyCreator

type CompliancePolicyScheduledPolicyCreator interface {
	CreateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyScheduledPolicyDeleter

type CompliancePolicyScheduledPolicyDeleter interface {
	DeleteScheduledPolicy(projectID, scheduledPolicyID string) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyScheduledPolicyUpdater

type CompliancePolicyScheduledPolicyUpdater interface {
	UpdateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
	CompliancePolicyDescriber
}

type CompliancePolicyUpdater

type CompliancePolicyUpdater interface {
	CompliancePolicyDescriber
	UpdateCompliancePolicy(projectID string, opts *atlasv2.DataProtectionSettings20231001) (*atlasv2.DataProtectionSettings20231001, error)
}

type ConnectedOrgConfigsDeleter

type ConnectedOrgConfigsDeleter interface {
	DeleteConnectedOrgConfig(federationSettingsID string, orgID string) error
}

type ConnectedOrgConfigsDescriber

type ConnectedOrgConfigsDescriber interface {
	GetConnectedOrgConfig(opts *atlasv2.GetConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
}

type ConnectedOrgConfigsLister

type ConnectedOrgConfigsLister interface {
	ListConnectedOrgConfigs(opts *atlasv2.ListConnectedOrgConfigsApiParams) (*atlasv2.PaginatedConnectedOrgConfigs, error)
}

type ConnectedOrgConfigsUpdater

type ConnectedOrgConfigsUpdater interface {
	UpdateConnectedOrgConfig(opts *atlasv2.UpdateConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
}

type ConnectionCreator

type ConnectionCreator interface {
	CreateConnection(string, string, *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
}

type ConnectionDeleter

type ConnectionDeleter interface {
	DeleteConnection(string, string, string) error
}

type ConnectionUpdater

type ConnectionUpdater interface {
	UpdateConnection(string, string, string, *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
}

type ContainersDeleter

type ContainersDeleter interface {
	DeleteContainer(string, string) error
}

type ContainersListOptions

type ContainersListOptions struct {
	ListOptions
	ProviderName string
}

type ContainersLister

type ContainersLister interface {
	ContainersByProvider(string, *atlas.ContainersListOptions) ([]atlasv2.CloudProviderContainer, error)
	AllContainers(string, *atlas.ListOptions) ([]atlasv2.CloudProviderContainer, error)
}

type CredentialsGetter

type CredentialsGetter interface {
	PublicAPIKey() string
	PrivateAPIKey() string
	Token() (*atlasauth.Token, error)
	AuthType() config.AuthMechanism
}

CredentialsGetter interface for how to get credentials when Store must be authenticated.

type CustomDNSDescriber

type CustomDNSDescriber interface {
	DescribeCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}

type CustomDNSDisabler

type CustomDNSDisabler interface {
	DisableCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}

type CustomDNSEnabler

type CustomDNSEnabler interface {
	EnableCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}

type DBUserCertificateCreator

type DBUserCertificateCreator interface {
	CreateDBUserCertificate(string, string, int) (string, error)
}

type DBUserCertificateLister

type DBUserCertificateLister interface {
	DBUserCertificates(string, string, *atlas.ListOptions) (*atlasv2.PaginatedUserCert, error)
}

type DataFederationCreator

type DataFederationCreator interface {
	CreateDataFederation(string, *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
}

type DataFederationDeleter

type DataFederationDeleter interface {
	DeleteDataFederation(string, string) error
}

type DataFederationDescriber

type DataFederationDescriber interface {
	DataFederation(string, string) (*admin.DataLakeTenant, error)
}

type DataFederationLister

type DataFederationLister interface {
	DataFederationList(string) ([]admin.DataLakeTenant, error)
}

type DataFederationLogDownloader

type DataFederationLogDownloader interface {
	DataFederationLogs(string, string, int64, int64) (io.ReadCloser, error)
}

type DataFederationPrivateEndpointCreator

type DataFederationPrivateEndpointCreator interface {
	CreateDataFederationPrivateEndpoint(string, *admin.PrivateNetworkEndpointIdEntry) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
}

type DataFederationPrivateEndpointDeleter

type DataFederationPrivateEndpointDeleter interface {
	DeleteDataFederationPrivateEndpoint(string, string) error
}

type DataFederationPrivateEndpointDescriber

type DataFederationPrivateEndpointDescriber interface {
	DataFederationPrivateEndpoint(string, string) (*admin.PrivateNetworkEndpointIdEntry, error)
}

type DataFederationPrivateEndpointLister

type DataFederationPrivateEndpointLister interface {
	DataFederationPrivateEndpoints(string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
}

type DataFederationQueryLimitCreator

type DataFederationQueryLimitCreator interface {
	CreateDataFederationQueryLimit(string, string, string, *admin.DataFederationTenantQueryLimit) (*admin.DataFederationTenantQueryLimit, error)
}

type DataFederationQueryLimitDeleter

type DataFederationQueryLimitDeleter interface {
	DeleteDataFederationQueryLimit(string, string, string) error
}

type DataFederationQueryLimitDescriber

type DataFederationQueryLimitDescriber interface {
	DataFederationQueryLimit(string, string, string) (*admin.DataFederationTenantQueryLimit, error)
}

type DataFederationQueryLimitLister

type DataFederationQueryLimitLister interface {
	DataFederationQueryLimits(string, string) ([]admin.DataFederationTenantQueryLimit, error)
}

type DataFederationStore

type DataFederationStore interface {
	DataFederationLister
	DataFederationDescriber
}

type DataFederationUpdater

type DataFederationUpdater interface {
	UpdateDataFederation(string, string, *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
}

type DataLakeCreator

type DataLakeCreator interface {
	CreateDataLake(string, *atlas.DataLakeCreateRequest) (*atlas.DataLake, error)
}

type DataLakeDeleter

type DataLakeDeleter interface {
	DeleteDataLake(string, string) error
}

type DataLakeDescriber

type DataLakeDescriber interface {
	DataLake(string, string) (*atlas.DataLake, error)
}

type DataLakeLister

type DataLakeLister interface {
	DataLakes(string) ([]atlas.DataLake, error)
}

type DataLakePrivateEndpointCreator

type DataLakePrivateEndpointCreator interface {
	DataLakeCreatePrivateEndpoint(string, *atlasv2.PrivateNetworkEndpointIdEntry) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)
}

type DataLakePrivateEndpointDeleter

type DataLakePrivateEndpointDeleter interface {
	DataLakeDeletePrivateEndpoint(string, string) error
}

type DataLakePrivateEndpointDescriber

type DataLakePrivateEndpointDescriber interface {
	DataLakePrivateEndpoint(string, string) (*atlasv2.PrivateNetworkEndpointIdEntry, error)
}

type DataLakePrivateEndpointLister

type DataLakePrivateEndpointLister interface {
	DataLakePrivateEndpoints(*atlasv2.ListDataFederationPrivateEndpointsApiParams) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)
}

type DataLakeUpdater

type DataLakeUpdater interface {
	UpdateDataLake(string, string, *atlas.DataLakeUpdateRequest) (*atlas.DataLake, error)
}

type DatabaseRoleCreator

type DatabaseRoleCreator interface {
	CreateDatabaseRole(string, *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
}

type DatabaseRoleDeleter

type DatabaseRoleDeleter interface {
	DeleteDatabaseRole(string, string) error
}

type DatabaseRoleDescriber

type DatabaseRoleDescriber interface {
	DatabaseRole(string, string) (*atlasv2.UserCustomDBRole, error)
}

type DatabaseRoleLister

type DatabaseRoleLister interface {
	DatabaseRoles(string) ([]atlasv2.UserCustomDBRole, error)
}

type DatabaseRoleUpdater

type DatabaseRoleUpdater interface {
	UpdateDatabaseRole(string, string, *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
	DatabaseRole(string, string) (*atlasv2.UserCustomDBRole, error)
}

type DatabaseUserCreator

type DatabaseUserCreator interface {
	CreateDatabaseUser(*atlasv2.CloudDatabaseUser) (*atlasv2.CloudDatabaseUser, error)
}

type DatabaseUserDeleter

type DatabaseUserDeleter interface {
	DeleteDatabaseUser(string, string, string) error
}

type DatabaseUserDescriber

type DatabaseUserDescriber interface {
	DatabaseUser(string, string, string) (*atlasv2.CloudDatabaseUser, error)
}

type DatabaseUserLister

type DatabaseUserLister interface {
	DatabaseUsers(groupID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error)
}

type DatabaseUserUpdater

type DatabaseUserUpdater interface {
	UpdateDatabaseUser(*atlasv2.UpdateDatabaseUserApiParams) (*atlasv2.CloudDatabaseUser, error)
}

type DefaultVersionGetter

type DefaultVersionGetter interface {
	DefaultMongoDBVersion() (string, error)
}

type EncryptionAtRestDescriber

type EncryptionAtRestDescriber interface {
	EncryptionAtRest(string) (*atlasv2.EncryptionAtRest, error)
}

type EventLister

type EventLister interface {
	OrganizationEventLister
	ProjectEventLister
}

type EventsSender

type EventsSender interface {
	SendEvents(body interface{}) error
}

type ExportBucketsCreator

type ExportBucketsCreator interface {
	CreateExportBucket(string, *atlasv2.DiskBackupSnapshotAWSExportBucket) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
}

type ExportBucketsDeleter

type ExportBucketsDeleter interface {
	DeleteExportBucket(string, string) error
}

type ExportBucketsDescriber

type ExportBucketsDescriber interface {
	DescribeExportBucket(string, string) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
}

type ExportBucketsLister

type ExportBucketsLister interface {
	ExportBuckets(string, *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshotExportBucket, error)
}

type ExportJobsCreator

type ExportJobsCreator interface {
	CreateExportJob(string, string, *atlasv2.DiskBackupExportJobRequest) (*atlasv2.DiskBackupExportJob, error)
}

type ExportJobsDescriber

type ExportJobsDescriber interface {
	ExportJob(string, string, string) (*atlasv2.DiskBackupExportJob, error)
}

type ExportJobsLister

type ExportJobsLister interface {
	ExportJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasDiskBackupExportJob, error)
}

type FederationSettingsDescriber

type FederationSettingsDescriber interface {
	FederationSetting(opts *atlasv2.GetFederationSettingsApiParams) (*atlasv2.OrgFederationSettings, error)
}

type GCPPeeringConnectionCreator

type GCPPeeringConnectionCreator interface {
	GCPContainers(string) ([]atlasv2.CloudProviderContainer, error)
	PeeringConnectionCreator
}

type GlobalClusterDescriber

type GlobalClusterDescriber interface {
	GlobalCluster(string, string) (*atlasv2.GeoSharding, error)
}

type IPInfoDescriber

type IPInfoDescriber interface {
	IPInfo() (*atlas.IPInfo, error)
}

type IdentityProviderCreator

type IdentityProviderCreator interface {
	CreateIdentityProvider(*atlasv2.CreateIdentityProviderApiParams) (*atlasv2.FederationOidcIdentityProvider, error)
}

type IdentityProviderDeleter

type IdentityProviderDeleter interface {
	DeleteIdentityProvider(string, string) error
}

type IdentityProviderDescriber

type IdentityProviderDescriber interface {
	IdentityProvider(opts *atlasv2.GetIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
}

type IdentityProviderJwkRevoker

type IdentityProviderJwkRevoker interface {
	RevokeJwksFromIdentityProvider(string, string) error
}

type IdentityProviderLister

type IdentityProviderLister interface {
	IdentityProviders(opts *atlasv2.ListIdentityProvidersApiParams) (*atlasv2.PaginatedFederationIdentityProvider, error)
}

type IdentityProviderUpdater

type IdentityProviderUpdater interface {
	UpdateIdentityProvider(opts *atlasv2.UpdateIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
}

type IndexCreator

type IndexCreator interface {
	CreateIndex(string, string, *atlasv2.DatabaseRollingIndexRequest) error
}

type IntegrationCreator

type IntegrationCreator interface {
	CreateIntegration(string, string, *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error)
}

type IntegrationDeleter

type IntegrationDeleter interface {
	DeleteIntegration(string, string) error
}

type IntegrationDescriber

type IntegrationDescriber interface {
	Integration(string, string) (*atlasv2.ThirdPartyIntegration, error)
}

type IntegrationLister

type IntegrationLister interface {
	Integrations(string) (*atlasv2.PaginatedIntegration, error)
}

type InterfaceEndpointCreator

type InterfaceEndpointCreator interface {
	CreateInterfaceEndpoint(string, string, string, *atlasv2.CreateEndpointRequest) (*atlasv2.PrivateLinkEndpoint, error)
}

type InterfaceEndpointCreatorDeprecated

type InterfaceEndpointCreatorDeprecated interface {
	CreateInterfaceEndpointDeprecated(string, string, string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
}

type InterfaceEndpointDeleter

type InterfaceEndpointDeleter interface {
	DeleteInterfaceEndpoint(string, string, string, string) error
}

type InterfaceEndpointDeleterDeprecated

type InterfaceEndpointDeleterDeprecated interface {
	DeleteInterfaceEndpointDeprecated(string, string, string) error
}

type InterfaceEndpointDescriber

type InterfaceEndpointDescriber interface {
	InterfaceEndpoint(string, string, string, string) (*atlasv2.PrivateLinkEndpoint, error)
}

type InterfaceEndpointDescriberDeprecated

type InterfaceEndpointDescriberDeprecated interface {
	InterfaceEndpointDeprecated(string, string, string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
}

type LDAPConfigurationDeleter

type LDAPConfigurationDeleter interface {
	DeleteLDAPConfiguration(string) error
}

type LDAPConfigurationDescriber

type LDAPConfigurationDescriber interface {
	GetStatusLDAPConfiguration(string, string) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
}

type LDAPConfigurationGetter

type LDAPConfigurationGetter interface {
	GetLDAPConfiguration(string) (*atlasv2.UserSecurity, error)
}

type LDAPConfigurationSaver

type LDAPConfigurationSaver interface {
	SaveLDAPConfiguration(string, *atlasv2.UserSecurity) (*atlasv2.UserSecurity, error)
}

type LDAPConfigurationVerifier

type LDAPConfigurationVerifier interface {
	VerifyLDAPConfiguration(string, *atlasv2.LDAPVerifyConnectivityJobRequestParams) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
}

type LinkTokenCreator

type LinkTokenCreator interface {
	CreateLinkToken(string, *atlasv2.TargetOrgRequest) (*atlasv2.TargetOrg, error)
}

type LinkTokenDeleter

type LinkTokenDeleter interface {
	DeleteLinkToken(string) error
}

type LinkTokenStore

type LinkTokenStore interface {
	LinkTokenCreator
	LinkTokenDeleter
}

type ListOptions

type ListOptions struct {
	PageNum      int
	ItemsPerPage int
	IncludeCount bool
}

type LiveMigrationCreator

type LiveMigrationCreator interface {
	LiveMigrationCreate(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error)
}

type LiveMigrationCutoverCreator

type LiveMigrationCutoverCreator interface {
	CreateLiveMigrationCutover(string, string) error
}

type LiveMigrationDescriber

type LiveMigrationDescriber interface {
	LiveMigrationDescribe(string, string) (*atlasv2.LiveMigrationResponse, error)
}

type LiveMigrationValidationsCreator

type LiveMigrationValidationsCreator interface {
	CreateValidation(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error)
}

type LiveMigrationValidationsDescriber

type LiveMigrationValidationsDescriber interface {
	GetValidationStatus(string, string) (*atlasv2.LiveImportValidation, error)
}

type LogsDownloader

type LogsDownloader interface {
	DownloadLog(*atlasv2.GetHostLogsApiParams) (io.ReadCloser, error)
}

type MaintenanceWindowClearer

type MaintenanceWindowClearer interface {
	ClearMaintenanceWindow(string) error
}

type MaintenanceWindowDeferrer

type MaintenanceWindowDeferrer interface {
	DeferMaintenanceWindow(string) error
}

type MaintenanceWindowDescriber

type MaintenanceWindowDescriber interface {
	MaintenanceWindow(string) (*atlasv2.GroupMaintenanceWindow, error)
}

type MaintenanceWindowUpdater

type MaintenanceWindowUpdater interface {
	UpdateMaintenanceWindow(string, *atlasv2.GroupMaintenanceWindow) error
}

type MatcherFieldsLister

type MatcherFieldsLister interface {
	MatcherFields() ([]string, error)
}

type OnlineArchiveCreator

type OnlineArchiveCreator interface {
	CreateOnlineArchive(string, string, *atlasv2.BackupOnlineArchiveCreate) (*atlasv2.BackupOnlineArchive, error)
}

type OnlineArchiveDeleter

type OnlineArchiveDeleter interface {
	DeleteOnlineArchive(string, string, string) error
}

type OnlineArchiveDescriber

type OnlineArchiveDescriber interface {
	OnlineArchive(string, string, string) (*atlasv2.BackupOnlineArchive, error)
}

type OnlineArchiveLister

type OnlineArchiveLister interface {
	OnlineArchives(string, string, *atlas.ListOptions) (*atlasv2.PaginatedOnlineArchive, error)
}

type OnlineArchiveUpdater

type OnlineArchiveUpdater interface {
	UpdateOnlineArchive(string, string, *atlasv2.BackupOnlineArchive) (*atlasv2.BackupOnlineArchive, error)
}

type OperatorDBUsersStore

type OperatorDBUsersStore interface {
	DatabaseUserLister
}

type OperatorOrgStore

type OperatorOrgStore interface {
	OrganizationAPIKeyCreator
	ProjectAPIKeyAssigner
}

type OperatorTeamsStore

type OperatorTeamsStore interface {
	TeamDescriber
	ProjectTeamLister
	TeamUserLister
}

type Option

type Option func(s *Store) error

Option is any configuration for Store. New will take a list of Option and process them sequentially. The store package provides a list of pointers and preset set of Option you can use but you can implement your own.

func AuthenticatedPreset

func AuthenticatedPreset(c AuthenticatedConfig) Option

AuthenticatedPreset is the default Option when connecting to the public API with authentication.

func Options

func Options(opts ...Option) Option

Options turns a list of Option instances into a single Option. This is a helper when combining multiple Option.

func Service

func Service(service string) Option

Service configures the Store service, valid options are cloud, cloud-manager, and ops-manager.

func Telemetry

func Telemetry() Option

func UnauthenticatedPreset

func UnauthenticatedPreset(c ServiceGetter) Option

UnauthenticatedPreset is the default Option when connecting to the public API without authentication.

func WithAuthentication

func WithAuthentication(c CredentialsGetter) Option

WithAuthentication sets the store credentials.

func WithBaseURL

func WithBaseURL(configURL string) Option

WithBaseURL sets the base URL for the underling HTTP client. the url should not contain any path, to add the public API path use WithPublicPathBaseURL.

func WithContext

func WithContext(ctx context.Context) Option

WithContext sets the store context.

type OrgProjectLister

type OrgProjectLister interface {
	ProjectLister
	GetOrgProjects(string, *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
}

type OrganizationAPIKeyAccessListCreator

type OrganizationAPIKeyAccessListCreator interface {
	CreateOrganizationAPIKeyAccessList(*admin.CreateApiKeyAccessListApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
}

type OrganizationAPIKeyAccessListDeleter

type OrganizationAPIKeyAccessListDeleter interface {
	DeleteOrganizationAPIKeyAccessList(string, string, string) error
}

type OrganizationAPIKeyAccessListLister

type OrganizationAPIKeyAccessListLister interface {
	OrganizationAPIKeyAccessLists(*admin.ListApiKeyAccessListsEntriesApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
}

type OrganizationAPIKeyCreator

type OrganizationAPIKeyCreator interface {
	CreateOrganizationAPIKey(string, *atlasv2.CreateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
}

type OrganizationAPIKeyDeleter

type OrganizationAPIKeyDeleter interface {
	DeleteOrganizationAPIKey(string, string) error
}

type OrganizationAPIKeyDescriber

type OrganizationAPIKeyDescriber interface {
	OrganizationAPIKey(string, string) (*atlasv2.ApiKeyUserDetails, error)
}

type OrganizationAPIKeyLister

type OrganizationAPIKeyLister interface {
	OrganizationAPIKeys(string, *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
}

type OrganizationAPIKeyUpdater

type OrganizationAPIKeyUpdater interface {
	UpdateOrganizationAPIKey(string, string, *atlasv2.UpdateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
}

type OrganizationCreator

type OrganizationCreator interface {
	CreateAtlasOrganization(*atlasv2.CreateOrganizationRequest) (*atlasv2.CreateOrganizationResponse, error)
}

type OrganizationDeleter

type OrganizationDeleter interface {
	DeleteOrganization(string) error
}

type OrganizationDescriber

type OrganizationDescriber interface {
	Organization(string) (*atlasv2.AtlasOrganization, error)
}

type OrganizationEventLister

type OrganizationEventLister interface {
	OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error)
}

type OrganizationInvitationDeleter

type OrganizationInvitationDeleter interface {
	DeleteInvitation(string, string) error
}

type OrganizationInvitationDescriber

type OrganizationInvitationDescriber interface {
	OrganizationInvitation(string, string) (*atlasv2.OrganizationInvitation, error)
}

type OrganizationInvitationLister

type OrganizationInvitationLister interface {
	OrganizationInvitations(*atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error)
}

type OrganizationInvitationUpdater

type OrganizationInvitationUpdater interface {
	UpdateOrganizationInvitation(string, string, *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
}

type OrganizationInviter

type OrganizationInviter interface {
	InviteUser(string, *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
}

type OrganizationLister

type OrganizationLister interface {
	Organizations(*atlasv2.ListOrganizationsApiParams) (*atlasv2.PaginatedOrganization, error)
}

type PeeringConnectionDeleter

type PeeringConnectionDeleter interface {
	DeletePeeringConnection(string, string) error
}

type PeeringConnectionDescriber

type PeeringConnectionDescriber interface {
	PeeringConnection(string, string) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)
}

type PeeringConnectionLister

type PeeringConnectionLister interface {
	PeeringConnections(string, *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)
}

type PerformanceAdvisorIndexesLister

type PerformanceAdvisorIndexesLister interface {
	PerformanceAdvisorIndexes(*atlasv2.ListSuggestedIndexesApiParams) (*atlasv2.PerformanceAdvisorResponse, error)
}

type PerformanceAdvisorNamespacesLister

type PerformanceAdvisorNamespacesLister interface {
	PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error)
}

type PerformanceAdvisorSlowOperationThresholdDisabler

type PerformanceAdvisorSlowOperationThresholdDisabler interface {
	DisablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowOperationThresholdEnabler

type PerformanceAdvisorSlowOperationThresholdEnabler interface {
	EnablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowQueriesLister

type PerformanceAdvisorSlowQueriesLister interface {
	PerformanceAdvisorSlowQueries(*atlasv2.ListSlowQueriesApiParams) (*atlasv2.PerformanceAdvisorSlowQueryList, error)
}

type PipelineAvailableSchedulesLister

type PipelineAvailableSchedulesLister interface {
	PipelineAvailableSchedules(string, string) ([]atlasv2.DiskBackupApiPolicyItem, error)
}

type PipelineAvailableSnapshotsLister

type PipelineAvailableSnapshotsLister interface {
	PipelineAvailableSnapshots(string, string, *time.Time, *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshot, error)
}

type PipelineDatasetDeleter

type PipelineDatasetDeleter interface {
	DeletePipelineDataset(string, string, string) error
}

type PipelineRunsDescriber

type PipelineRunsDescriber interface {
	PipelineRun(string, string, string) (*atlasv2.IngestionPipelineRun, error)
}

type PipelineRunsLister

type PipelineRunsLister interface {
	PipelineRuns(string, string) (*atlasv2.PaginatedPipelineRun, error)
}

type PipelinesCreator

type PipelinesCreator interface {
	CreatePipeline(string, atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
}

type PipelinesDeleter

type PipelinesDeleter interface {
	DeletePipeline(string, string) error
}

type PipelinesDescriber

type PipelinesDescriber interface {
	Pipeline(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}

type PipelinesLister

type PipelinesLister interface {
	Pipelines(string) ([]atlasv2.DataLakeIngestionPipeline, error)
}

type PipelinesPauser

type PipelinesPauser interface {
	PipelinePause(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}

type PipelinesResumer

type PipelinesResumer interface {
	PipelineResume(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}

type PipelinesTriggerer

type PipelinesTriggerer interface {
	PipelineTrigger(string, string, string) (*atlasv2.IngestionPipelineRun, error)
}

type PipelinesUpdater

type PipelinesUpdater interface {
	UpdatePipeline(string, string, atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
}

type PrivateEndpointCreator

type PrivateEndpointCreator interface {
	CreatePrivateEndpoint(string, *atlasv2.CloudProviderEndpointServiceRequest) (*atlasv2.EndpointService, error)
}

type PrivateEndpointCreatorDeprecated

type PrivateEndpointCreatorDeprecated interface {
	CreatePrivateEndpointDeprecated(string, *atlas.PrivateEndpointConnectionDeprecated) (*atlas.PrivateEndpointConnectionDeprecated, error)
}

type PrivateEndpointDeleter

type PrivateEndpointDeleter interface {
	DeletePrivateEndpoint(string, string, string) error
}

type PrivateEndpointDeleterDeprecated

type PrivateEndpointDeleterDeprecated interface {
	DeletePrivateEndpointDeprecated(string, string) error
}

type PrivateEndpointDescriber

type PrivateEndpointDescriber interface {
	PrivateEndpoint(string, string, string) (*atlasv2.EndpointService, error)
}

type PrivateEndpointDescriberDeprecated

type PrivateEndpointDescriberDeprecated interface {
	PrivateEndpointDeprecated(string, string) (*atlas.PrivateEndpointConnectionDeprecated, error)
}

type PrivateEndpointLister

type PrivateEndpointLister interface {
	PrivateEndpoints(string, string) ([]atlasv2.EndpointService, error)
}

type PrivateEndpointListerDeprecated

type PrivateEndpointListerDeprecated interface {
	PrivateEndpointsDeprecated(string, *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error)
}

type ProcessDatabaseLister

type ProcessDatabaseLister interface {
	ProcessDatabases(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDatabase, error)
}

type ProcessDatabaseMeasurementsLister

type ProcessDatabaseMeasurementsLister interface {
	ProcessDatabaseMeasurements(*atlasv2.GetDatabaseMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}

type ProcessDescriber

type ProcessDescriber interface {
	Process(*atlasv2.GetAtlasProcessApiParams) (*atlasv2.ApiHostViewAtlas, error)
}

type ProcessDiskMeasurementsLister

type ProcessDiskMeasurementsLister interface {
	ProcessDiskMeasurements(*atlasv2.GetDiskMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}

type ProcessDisksLister

type ProcessDisksLister interface {
	ProcessDisks(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDiskPartition, error)
}

type ProcessLister

type ProcessLister interface {
	Processes(*atlasv2.ListAtlasProcessesApiParams) (*atlasv2.PaginatedHostViewAtlas, error)
}

type ProcessMeasurementLister

type ProcessMeasurementLister interface {
	ProcessMeasurements(*atlasv2.GetHostMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}

type ProjectAPIKeyAssigner

type ProjectAPIKeyAssigner interface {
	AssignProjectAPIKey(string, string, *atlasv2.UpdateAtlasProjectApiKey) error
}

type ProjectAPIKeyCreator

type ProjectAPIKeyCreator interface {
	CreateProjectAPIKey(string, *atlasv2.CreateAtlasProjectApiKey) (*atlasv2.ApiKeyUserDetails, error)
}

type ProjectAPIKeyDeleter

type ProjectAPIKeyDeleter interface {
	DeleteProjectAPIKey(string, string) error
}

type ProjectAPIKeyLister

type ProjectAPIKeyLister interface {
	ProjectAPIKeys(string, *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
}

type ProjectCreator

type ProjectCreator interface {
	CreateProject(*atlasv2.CreateProjectApiParams) (*atlasv2.Group, error)
}

type ProjectDeleter

type ProjectDeleter interface {
	DeleteProject(string) error
}

type ProjectDescriber

type ProjectDescriber interface {
	Project(string) (*atlasv2.Group, error)
	ProjectByName(string) (*atlasv2.Group, error)
}

type ProjectEventLister

type ProjectEventLister interface {
	ProjectEvents(opts *admin.ListProjectEventsApiParams) (*admin.GroupPaginatedEvent, error)
}

type ProjectIPAccessListCreator

type ProjectIPAccessListCreator interface {
	CreateProjectIPAccessList([]*atlasv2.NetworkPermissionEntry) (*atlasv2.PaginatedNetworkAccess, error)
}

type ProjectIPAccessListDeleter

type ProjectIPAccessListDeleter interface {
	DeleteProjectIPAccessList(string, string) error
}

type ProjectIPAccessListDescriber

type ProjectIPAccessListDescriber interface {
	IPAccessList(string, string) (*atlasv2.NetworkPermissionEntry, error)
}

type ProjectIPAccessListLister

type ProjectIPAccessListLister interface {
	ProjectIPAccessLists(string, *ListOptions) (*atlasv2.PaginatedNetworkAccess, error)
}

type ProjectInvitationDeleter

type ProjectInvitationDeleter interface {
	DeleteProjectInvitation(string, string) error
}

type ProjectInvitationDescriber

type ProjectInvitationDescriber interface {
	ProjectInvitation(string, string) (*atlasv2.GroupInvitation, error)
}

type ProjectInvitationLister

type ProjectInvitationLister interface {
	ProjectInvitations(*atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error)
}

type ProjectInvitationUpdater

type ProjectInvitationUpdater interface {
	UpdateProjectInvitation(string, string, *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
}

type ProjectInviter

type ProjectInviter interface {
	InviteUserToProject(string, *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
}

type ProjectLister

type ProjectLister interface {
	Projects(*ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
}

type ProjectSettingsDescriber

type ProjectSettingsDescriber interface {
	ProjectSettings(string) (*atlasv2.GroupSettings, error)
}

type ProjectSettingsUpdater

type ProjectSettingsUpdater interface {
	UpdateProjectSettings(string, *atlasv2.GroupSettings) (*atlasv2.GroupSettings, error)
}

type ProjectTeamAdder

type ProjectTeamAdder interface {
	AddTeamsToProject(string, []atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
}

type ProjectTeamDeleter

type ProjectTeamDeleter interface {
	DeleteTeamFromProject(string, string) error
}

type ProjectTeamLister

type ProjectTeamLister interface {
	ProjectTeams(string, *ListOptions) (*atlasv2.PaginatedTeamRole, error)
}

type ProjectUpdater

type ProjectUpdater interface {
	UpdateProject(*atlasv2.UpdateProjectApiParams) (*atlasv2.Group, error)
}

type ProjectUserDeleter

type ProjectUserDeleter interface {
	DeleteUserFromProject(string, string) error
}

type ProjectUsersLister

type ProjectUsersLister interface {
	ProjectUsers(string, *ListOptions) (*atlasv2.PaginatedAppUser, error)
}

type RegionalizedPrivateEndpointSettingDescriber

type RegionalizedPrivateEndpointSettingDescriber interface {
	RegionalizedPrivateEndpointSetting(string) (*atlasv2.ProjectSettingItem, error)
}

type RegionalizedPrivateEndpointSettingUpdater

type RegionalizedPrivateEndpointSettingUpdater interface {
	UpdateRegionalizedPrivateEndpointSetting(string, bool) (*atlasv2.ProjectSettingItem, error)
}

type RestoreJobsCreator

type RestoreJobsCreator interface {
	CreateRestoreJobs(string, string, *atlasv2.DiskBackupSnapshotRestoreJob) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
}

type RestoreJobsDescriber

type RestoreJobsDescriber interface {
	RestoreJob(string, string, string) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
}

type RestoreJobsLister

type RestoreJobsLister interface {
	RestoreJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error)
}

type SampleDataAdder

type SampleDataAdder interface {
	AddSampleData(string, string) (*admin.SampleDatasetStatus, error)
}

type SampleDataStatusDescriber

type SampleDataStatusDescriber interface {
	SampleDataStatus(string, string) (*admin.SampleDatasetStatus, error)
}

type ScheduleDeleter

type ScheduleDeleter interface {
	DeleteSchedule(string, string) error
}

type ScheduleDescriber

type ScheduleDescriber interface {
	DescribeSchedule(string, string) (*atlasv2.DiskBackupSnapshotSchedule, error)
}

type ScheduleDescriberUpdater

type ScheduleDescriberUpdater interface {
	DescribeSchedule(string, string) (*atlasv2.DiskBackupSnapshotSchedule, error)
	UpdateSchedule(string, string, *atlasv2.DiskBackupSnapshotSchedule) (*atlasv2.DiskBackupSnapshotSchedule, error)
}

type SearchIndexCreator

type SearchIndexCreator interface {
	CreateSearchIndexes(string, string, *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
	SearchIndex(string, string, string) (*atlasv2.ClusterSearchIndex, error)
}

type SearchIndexDeleter

type SearchIndexDeleter interface {
	DeleteSearchIndex(string, string, string) error
}

type SearchIndexDescriber

type SearchIndexDescriber interface {
	SearchIndex(string, string, string) (*atlasv2.ClusterSearchIndex, error)
}

type SearchIndexLister

type SearchIndexLister interface {
	SearchIndexes(string, string, string, string) ([]atlasv2.ClusterSearchIndex, error)
}

type SearchIndexUpdater

type SearchIndexUpdater interface {
	UpdateSearchIndexes(string, string, string, *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
}

type SearchNodesDeleter

type SearchNodesDeleter interface {
	DeleteSearchNodes(string, string) error
	SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error)
}

type SearchNodesLister

type SearchNodesLister interface {
	SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error)
}

type ServerlessInstanceCreator

type ServerlessInstanceCreator interface {
	CreateServerlessInstance(string, *atlasv2.ServerlessInstanceDescriptionCreate) (*atlasv2.ServerlessInstanceDescription, error)
}

type ServerlessInstanceDeleter

type ServerlessInstanceDeleter interface {
	DeleteServerlessInstance(string, string) error
}

type ServerlessInstanceDescriber

type ServerlessInstanceDescriber interface {
	GetServerlessInstance(string, string) (*atlasv2.ServerlessInstanceDescription, error)
}

type ServerlessInstanceLister

type ServerlessInstanceLister interface {
	ServerlessInstances(string, *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error)
}

type ServerlessInstanceUpdater

type ServerlessInstanceUpdater interface {
	UpdateServerlessInstance(string, string, *atlasv2.ServerlessInstanceDescriptionUpdate) (*atlasv2.ServerlessInstanceDescription, error)
}

type ServerlessPrivateEndpointsLister

type ServerlessPrivateEndpointsLister interface {
	ServerlessPrivateEndpoints(string, string) ([]atlasv2.ServerlessTenantEndpoint, error)
}

type ServerlessRestoreJobsCreator

type ServerlessRestoreJobsCreator interface {
	ServerlessCreateRestoreJobs(string, string, *atlasv2.ServerlessBackupRestoreJob) (*atlasv2.ServerlessBackupRestoreJob, error)
}

type ServerlessRestoreJobsDescriber

type ServerlessRestoreJobsDescriber interface {
	ServerlessRestoreJob(string, string, string) (*atlasv2.ServerlessBackupRestoreJob, error)
}

type ServerlessRestoreJobsLister

type ServerlessRestoreJobsLister interface {
	ServerlessRestoreJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupRestoreJob, error)
}

type ServerlessSnapshotsDescriber

type ServerlessSnapshotsDescriber interface {
	ServerlessSnapshot(string, string, string) (*atlasv2.ServerlessBackupSnapshot, error)
}

type ServerlessSnapshotsLister

type ServerlessSnapshotsLister interface {
	ServerlessSnapshots(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error)
}

type ServiceGetter

type ServiceGetter interface {
	Service() string
	OpsManagerURL() string
}

ServiceGetter is a basic interface for service and base url settings.

type SnapshotsCreator

type SnapshotsCreator interface {
	CreateSnapshot(string, string, *atlasv2.DiskBackupOnDemandSnapshotRequest) (*atlasv2.DiskBackupSnapshot, error)
}

type SnapshotsDeleter

type SnapshotsDeleter interface {
	DeleteSnapshot(string, string, string) error
}

type SnapshotsDescriber

type SnapshotsDescriber interface {
	Snapshot(string, string, string) (*atlasv2.DiskBackupReplicaSet, error)
}

type SnapshotsLister

type SnapshotsLister interface {
	Snapshots(string, string, *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupReplicaSet, error)
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) (*Store, error)

New returns a new Store based on the given list of Option.

Usage:

// get a new Store for Atlas
store := store.New(Service("cloud"))

// get a new Store for the public API based on a Config interface
store := store.New(AuthenticatedPreset(config))

// get a new Store for the private API based on a Config interface
store := store.New(PrivateAuthenticatedPreset(config))

func (*Store) AWSContainers

func (s *Store) AWSContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)

AWSContainers encapsulates the logic to manage different cloud providers.

func (*Store) AccessLogsByClusterName

func (s *Store) AccessLogsByClusterName(groupID, clusterName string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)

AccessLogsByClusterName encapsulates the logic to manage different cloud providers.

func (*Store) AccessLogsByHostname

func (s *Store) AccessLogsByHostname(groupID, hostname string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)

AccessLogsByHostname encapsulates the logic to manage different cloud providers.

func (*Store) AcknowledgeAlert

func (s *Store) AcknowledgeAlert(params *admin.AcknowledgeAlertApiParams) (*admin.AlertViewForNdsGroup, error)

AcknowledgeAlert encapsulate the logic to manage different cloud providers.

func (*Store) AddSampleData

func (s *Store) AddSampleData(groupID, clusterName string) (*admin.SampleDatasetStatus, error)

AddSampleData encapsulate the logic to manage different cloud providers.

func (*Store) AddTeamsToProject

func (s *Store) AddTeamsToProject(projectID string, teams []atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)

AddTeamsToProject encapsulates the logic to manage different cloud providers.

func (*Store) AddUsersToTeam

func (s *Store) AddUsersToTeam(orgID, teamID string, users []atlasv2.AddUserToTeam) (*atlasv2.PaginatedApiAppUser, error)

AddUsersToTeam encapsulates the logic to manage different cloud providers.

func (*Store) Alert

Alert encapsulate the logic to manage different cloud providers.

func (*Store) AlertConfiguration

func (s *Store) AlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)

func (*Store) AlertConfigurations

func (s *Store) AlertConfigurations(params *admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error)

AlertConfigurations encapsulate the logic to manage different cloud providers.

func (*Store) Alerts

func (s *Store) Alerts(params *admin.ListAlertsApiParams) (*admin.PaginatedAlert, error)

Alerts encapsulate the logic to manage different cloud providers.

func (*Store) AllContainers

func (s *Store) AllContainers(projectID string, opts *atlas.ListOptions) ([]atlasv2.CloudProviderContainer, error)

AllContainers encapsulates the logic to manage different cloud providers.

func (*Store) AssignProjectAPIKey

func (s *Store) AssignProjectAPIKey(projectID, apiKeyID string, input *atlasv2.UpdateAtlasProjectApiKey) error

AssignProjectAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) AtlasCluster

func (s *Store) AtlasCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)

AtlasCluster encapsulates the logic to manage different cloud providers.

func (*Store) AtlasClusterConfigurationOptions

func (s *Store) AtlasClusterConfigurationOptions(projectID, name string) (*admin.ClusterDescriptionProcessArgs, error)

AtlasClusterConfigurationOptions encapsulates the logic to manage different cloud providers.

func (*Store) AtlasSharedCluster

func (s *Store) AtlasSharedCluster(projectID, name string) (*atlas.Cluster, error)

AtlasSharedCluster encapsulates the logic to fetch details of one shared cluster.

func (*Store) AtlasStream

func (s *Store) AtlasStream(projectID, name string) (*atlasv2.StreamsTenant, error)

func (*Store) Auditing

func (s *Store) Auditing(projectID string) (*atlasv2.AuditLog, error)

func (*Store) AuthorizeCloudProviderAccessRole

func (s *Store) AuthorizeCloudProviderAccessRole(groupID, roleID string, req *atlas.CloudProviderAccessRoleRequest) (*atlasv2.CloudProviderAccessRole, error)

AuthorizeCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

func (*Store) AzureContainers

func (s *Store) AzureContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)

AzureContainers encapsulates the logic to manage different cloud providers.

func (*Store) ClearMaintenanceWindow

func (s *Store) ClearMaintenanceWindow(projectID string) error

ClearMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) CloudProviderAccessRoles

func (s *Store) CloudProviderAccessRoles(groupID string) (*atlasv2.CloudProviderAccessRoles, error)

CloudProviderAccessRoles encapsulates the logic to manage different cloud providers.

func (*Store) CloudProviderRegions

func (s *Store) CloudProviderRegions(projectID, tier string, providerName []string) (*atlasv2.PaginatedApiAtlasProviderRegions, error)

CloudProviderRegions encapsulates the logic to manage different cloud providers.

func (*Store) ContainersByProvider

func (s *Store) ContainersByProvider(projectID string, opts *atlas.ContainersListOptions) ([]atlasv2.CloudProviderContainer, error)

ContainersByProvider encapsulates the logic to manage different cloud providers.

func (*Store) CreateAlertConfiguration

func (s *Store) CreateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)

CreateAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) CreateAtlasOrganization

CreateAtlasOrganization encapsulate the logic to manage different cloud providers.

func (*Store) CreateCloudProviderAccessRole

func (s *Store) CreateCloudProviderAccessRole(groupID, provider string) (*atlasv2.CloudProviderAccessRole, error)

CreateCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

func (*Store) CreateCluster

CreateCluster encapsulate the logic to manage different cloud providers.

func (*Store) CreateConnection

func (s *Store) CreateConnection(projectID, tenantName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)

CreateConnection encapsulates the logic to manage different cloud providers.

func (*Store) CreateContainer

func (s *Store) CreateContainer(projectID string, container *atlasv2.CloudProviderContainer) (*atlasv2.CloudProviderContainer, error)

CreateContainer encapsulates the logic to manage different cloud providers.

func (*Store) CreateDBUserCertificate

func (s *Store) CreateDBUserCertificate(projectID, username string, monthsUntilExpiration int) (string, error)

CreateDBUserCertificate creates a new Atlas managed certificates for a database user.

func (*Store) CreateDataFederation

func (s *Store) CreateDataFederation(projectID string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)

CreateDataFederation encapsulates the logic to manage different cloud providers.

func (*Store) CreateDataFederationPrivateEndpoint

func (s *Store) CreateDataFederationPrivateEndpoint(projectID string, opts *admin.PrivateNetworkEndpointIdEntry) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)

CreateDataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) CreateDataFederationQueryLimit

func (s *Store) CreateDataFederationQueryLimit(projectID, tenantName, limitName string, opts *admin.DataFederationTenantQueryLimit) (*admin.DataFederationTenantQueryLimit, error)

CreateDataFederationQueryLimit encapsulates the logic to manage different cloud providers.

func (*Store) CreateDataLake

func (s *Store) CreateDataLake(projectID string, dataLake *atlas.DataLakeCreateRequest) (*atlas.DataLake, error)

CreateDataLake encapsulate the logic to manage different cloud providers.

func (*Store) CreateDatabaseRole

func (s *Store) CreateDatabaseRole(groupID string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)

CreateDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) CreateDatabaseUser

func (s *Store) CreateDatabaseUser(user *atlasv2.CloudDatabaseUser) (*atlasv2.CloudDatabaseUser, error)

CreateDatabaseUser encapsulate the logic to manage different cloud providers.

func (*Store) CreateExportBucket

CreateExportBucket encapsulates the logic to manage different cloud providers.

func (*Store) CreateExportJob

func (s *Store) CreateExportJob(projectID, clusterName string, job *atlasv2.DiskBackupExportJobRequest) (*atlasv2.DiskBackupExportJob, error)

CreateExportJob encapsulates the logic to manage different cloud providers.

func (*Store) CreateIdentityProvider

CreateIdentityProvider encapsulate the logic to manage different cloud providers.

func (*Store) CreateIndex

func (s *Store) CreateIndex(projectID, clusterName string, index *atlasv2.DatabaseRollingIndexRequest) error

CreateIndex encapsulate the logic to manage different cloud providers.

func (*Store) CreateIntegration

func (s *Store) CreateIntegration(projectID, integrationType string, integration *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error)

CreateIntegration encapsulates the logic to manage different cloud providers.

func (*Store) CreateInterfaceEndpoint

func (s *Store) CreateInterfaceEndpoint(projectID, provider, endpointServiceID string, createRequest *atlasv2.CreateEndpointRequest) (*atlasv2.PrivateLinkEndpoint, error)

CreateInterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) CreateInterfaceEndpointDeprecated

func (s *Store) CreateInterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)

CreateInterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) CreateLinkToken

func (s *Store) CreateLinkToken(orgID string, linkToken *atlasv2.TargetOrgRequest) (*atlasv2.TargetOrg, error)

CreateLinkToken encapsulate the logic to manage different cloud providers.

func (*Store) CreateLiveMigrationCutover

func (s *Store) CreateLiveMigrationCutover(groupID, liveMigrationID string) error

CreateLiveMigrationCutover encapsulate the logic to manage different cloud providers.

func (*Store) CreateOnDemandPolicy

func (s *Store) CreateOnDemandPolicy(projectID string, policy *atlasv2.BackupComplianceOnDemandPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) CreateOnlineArchive

func (s *Store) CreateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchiveCreate) (*atlasv2.BackupOnlineArchive, error)

CreateOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKey

func (s *Store) CreateOrganizationAPIKey(orgID string, input *atlasv2.CreateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)

CreateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKeyAccessList

func (s *Store) CreateOrganizationAPIKeyAccessList(params *admin.CreateApiKeyAccessListApiParams) (*admin.PaginatedApiUserAccessListResponse, error)

CreateOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.

func (*Store) CreatePeeringConnection

CreatePeeringConnection encapsulates the logic to manage different cloud providers.

func (*Store) CreatePipeline

func (s *Store) CreatePipeline(projectID string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)

CreatePipeline encapsulates the logic to manage different cloud providers.

func (*Store) CreatePrivateEndpoint

func (s *Store) CreatePrivateEndpoint(projectID string, r *atlasv2.CloudProviderEndpointServiceRequest) (*atlasv2.EndpointService, error)

CreatePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) CreatePrivateEndpointDeprecated

func (s *Store) CreatePrivateEndpointDeprecated(projectID string, r *atlas.PrivateEndpointConnectionDeprecated) (*atlas.PrivateEndpointConnectionDeprecated, error)

CreatePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) CreateProject

func (s *Store) CreateProject(params *atlasv2.CreateProjectApiParams) (*atlasv2.Group, error)

CreateProject encapsulates the logic to manage different cloud providers.

func (*Store) CreateProjectAPIKey

func (s *Store) CreateProjectAPIKey(projectID string, apiKeyInput *atlasv2.CreateAtlasProjectApiKey) (*atlasv2.ApiKeyUserDetails, error)

CreateProjectAPIKey creates an API Keys for a project.

func (*Store) CreateProjectIPAccessList

func (s *Store) CreateProjectIPAccessList(entries []*atlasv2.NetworkPermissionEntry) (*atlasv2.PaginatedNetworkAccess, error)

CreateProjectIPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) CreateRestoreJobs

func (s *Store) CreateRestoreJobs(projectID, clusterName string, request *atlasv2.DiskBackupSnapshotRestoreJob) (*atlasv2.DiskBackupSnapshotRestoreJob, error)

CreateRestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) CreateScheduledPolicy

func (s *Store) CreateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) CreateSearchIndexes

func (s *Store) CreateSearchIndexes(projectID, clusterName string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)

CreateSearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) CreateSearchNodes

func (s *Store) CreateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)

func (*Store) CreateServerlessInstance

func (s *Store) CreateServerlessInstance(projectID string, cluster *atlasv2.ServerlessInstanceDescriptionCreate) (*atlasv2.ServerlessInstanceDescription, error)

CreateServerlessInstance encapsulate the logic to manage different cloud providers.

func (*Store) CreateSnapshot

func (s *Store) CreateSnapshot(projectID, clusterName string, request *atlasv2.DiskBackupOnDemandSnapshotRequest) (*atlasv2.DiskBackupSnapshot, error)

CreateSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) CreateStream

func (s *Store) CreateStream(projectID string, processor *atlasv2.StreamsTenant) (*atlasv2.StreamsTenant, error)

func (*Store) CreateTeam

func (s *Store) CreateTeam(orgID string, team *atlasv2.Team) (*atlasv2.Team, error)

func (*Store) CreateUser

func (s *Store) CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error)

CreateUser encapsulates the logic to manage different cloud providers.

func (*Store) CreateValidation

func (s *Store) CreateValidation(groupID string, liveMigration *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error)

CreateValidation encapsulate the logic to manage different cloud providers.

func (*Store) DBUserCertificates

func (s *Store) DBUserCertificates(projectID, username string, opts *atlas.ListOptions) (*atlasv2.PaginatedUserCert, error)

DBUserCertificates retrieves the current Atlas managed certificates for a database user.

func (*Store) DataFederation

func (s *Store) DataFederation(projectID, id string) (*admin.DataLakeTenant, error)

DataFederation encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationList

func (s *Store) DataFederationList(projectID string) ([]admin.DataLakeTenant, error)

DataFederationList encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationLogs

func (s *Store) DataFederationLogs(projectID, id string, startDate, endDate int64) (io.ReadCloser, error)

DataFederationLogs encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationPrivateEndpoint

func (s *Store) DataFederationPrivateEndpoint(projectID, id string) (*admin.PrivateNetworkEndpointIdEntry, error)

DataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationPrivateEndpoints

func (s *Store) DataFederationPrivateEndpoints(projectID string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)

DataFederationPrivateEndpoints encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationQueryLimit

func (s *Store) DataFederationQueryLimit(projectID, tenantName, limitName string) (*admin.DataFederationTenantQueryLimit, error)

DataFederationQueryLimit encapsulates the logic to manage different cloud providers.

func (*Store) DataFederationQueryLimits

func (s *Store) DataFederationQueryLimits(projectID, tenantName string) ([]admin.DataFederationTenantQueryLimit, error)

DataFederationQueryLimits encapsulates the logic to manage different cloud providers.

func (*Store) DataLake

func (s *Store) DataLake(projectID, name string) (*atlas.DataLake, error)

DataLake encapsulate the logic to manage different cloud providers.

func (*Store) DataLakeCreatePrivateEndpoint

func (s *Store) DataLakeCreatePrivateEndpoint(projectID string, r *atlasv2.PrivateNetworkEndpointIdEntry) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)

DataLakeCreatePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakeDeletePrivateEndpoint

func (s *Store) DataLakeDeletePrivateEndpoint(projectID, endpointID string) error

DataLakeDeletePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakePrivateEndpoint

func (s *Store) DataLakePrivateEndpoint(projectID, privateLinkID string) (*atlasv2.PrivateNetworkEndpointIdEntry, error)

DataLakePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakePrivateEndpoints

DataLakePrivateEndpoints encapsulates the logic to manage different cloud providers.

func (*Store) DataLakes

func (s *Store) DataLakes(projectID string) ([]atlas.DataLake, error)

DataLakes encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseRole

func (s *Store) DatabaseRole(groupID, roleName string) (*atlasv2.UserCustomDBRole, error)

DatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseRoles

func (s *Store) DatabaseRoles(projectID string) ([]atlasv2.UserCustomDBRole, error)

DatabaseRoles encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseUser

func (s *Store) DatabaseUser(authDB, groupID, username string) (*atlasv2.CloudDatabaseUser, error)

func (*Store) DatabaseUsers

func (s *Store) DatabaseUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error)

func (*Store) DeauthorizeCloudProviderAccessRoles

func (s *Store) DeauthorizeCloudProviderAccessRoles(req *atlas.CloudProviderDeauthorizationRequest) error

DeauthorizeCloudProviderAccessRoles encapsulates the logic to manage different cloud providers.

func (*Store) DefaultMongoDBVersion

func (s *Store) DefaultMongoDBVersion() (string, error)

DefaultMongoDBVersion encapsulates the logic to manage different cloud providers.

func (*Store) DeferMaintenanceWindow

func (s *Store) DeferMaintenanceWindow(projectID string) error

DeferMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) DeleteAlertConfiguration

func (s *Store) DeleteAlertConfiguration(projectID, id string) error

DeleteAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) DeleteCluster

func (s *Store) DeleteCluster(projectID, name string) error

DeleteCluster encapsulate the logic to manage different cloud providers.

func (*Store) DeleteConnectedOrgConfig

func (s *Store) DeleteConnectedOrgConfig(federationSettingsID string, orgID string) error

DeleteConnectedOrgConfig encapsulate the logic to manage different cloud providers.

func (*Store) DeleteConnection

func (s *Store) DeleteConnection(projectID, tenantName, connectionName string) error

DeleteConnection encapsulates the logic to manage different cloud providers.

func (*Store) DeleteContainer

func (s *Store) DeleteContainer(projectID, containerID string) error

DeleteContainer encapsulates the logic to manage different cloud providers.

func (*Store) DeleteDataFederation

func (s *Store) DeleteDataFederation(projectID, id string) error

DeleteDataFederation encapsulates the logic to manage different cloud providers.

func (*Store) DeleteDataFederationPrivateEndpoint

func (s *Store) DeleteDataFederationPrivateEndpoint(projectID, id string) error

DeleteDataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeleteDataFederationQueryLimit

func (s *Store) DeleteDataFederationQueryLimit(projectID, tenantName, limitName string) error

DeleteDataFederationQueryLimit encapsulates the logic to manage different cloud providers.

func (*Store) DeleteDataLake

func (s *Store) DeleteDataLake(projectID, name string) error

DeleteDataLake encapsulate the logic to manage different cloud providers.

func (*Store) DeleteDatabaseRole

func (s *Store) DeleteDatabaseRole(groupID, roleName string) error

DeleteDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) DeleteDatabaseUser

func (s *Store) DeleteDatabaseUser(authDB, groupID, username string) error

func (*Store) DeleteExportBucket

func (s *Store) DeleteExportBucket(projectID, bucketID string) error

DeleteExportBucket encapsulates the logic to manage different cloud providers.

func (*Store) DeleteIdentityProvider

func (s *Store) DeleteIdentityProvider(federationSettingsID string, identityProviderID string) error

DeleteIdentityProvider encapsulate the logic to manage different cloud providers.

func (*Store) DeleteIntegration

func (s *Store) DeleteIntegration(projectID, integrationType string) error

DeleteIntegration encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInterfaceEndpoint

func (s *Store) DeleteInterfaceEndpoint(projectID, provider, endpointServiceID, privateEndpointID string) error

DeleteInterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInterfaceEndpointDeprecated

func (s *Store) DeleteInterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) error

DeleteInterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInvitation

func (s *Store) DeleteInvitation(orgID, invitationID string) error

DeleteInvitation encapsulate the logic to manage different cloud providers.

func (*Store) DeleteLDAPConfiguration

func (s *Store) DeleteLDAPConfiguration(projectID string) error

DeleteLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) DeleteLinkToken

func (s *Store) DeleteLinkToken(orgID string) error

DeleteLinkToken encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOnlineArchive

func (s *Store) DeleteOnlineArchive(projectID, clusterName, archiveID string) error

DeleteOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOrganization

func (s *Store) DeleteOrganization(id string) error

DeleteOrganization encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOrganizationAPIKey

func (s *Store) DeleteOrganizationAPIKey(orgID, id string) error

DeleteOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOrganizationAPIKeyAccessList

func (s *Store) DeleteOrganizationAPIKeyAccessList(orgID, apiKeyID, ipAddress string) error

DeleteOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.

func (*Store) DeletePeeringConnection

func (s *Store) DeletePeeringConnection(projectID, peerID string) error

DeletePeeringConnection encapsulates the logic to manage different cloud providers.

func (*Store) DeletePipeline

func (s *Store) DeletePipeline(projectID, id string) error

DeletePipeline encapsulates the logic to manage different cloud providers.

func (*Store) DeletePipelineDataset

func (s *Store) DeletePipelineDataset(projectID, pipelineName, id string) error

DeletePipelineDataset encapsulates the logic to manage different cloud providers.

func (*Store) DeletePrivateEndpoint

func (s *Store) DeletePrivateEndpoint(projectID, provider, privateLinkID string) error

DeletePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeletePrivateEndpointDeprecated

func (s *Store) DeletePrivateEndpointDeprecated(projectID, privateLinkID string) error

DeletePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProject

func (s *Store) DeleteProject(projectID string) error

DeleteProject encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProjectAPIKey

func (s *Store) DeleteProjectAPIKey(projectID, id string) error

DeleteProjectAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProjectIPAccessList

func (s *Store) DeleteProjectIPAccessList(projectID, entry string) error

DeleteProjectIPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) DeleteProjectInvitation

func (s *Store) DeleteProjectInvitation(groupID, invitationID string) error

DeleteProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) DeleteSchedule

func (s *Store) DeleteSchedule(projectID, clusterName string) error

DeleteSchedule encapsulates the logic to manage different cloud providers.

func (*Store) DeleteScheduledPolicy

func (s *Store) DeleteScheduledPolicy(projectID, scheduledPolicyID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) DeleteSearchIndex

func (s *Store) DeleteSearchIndex(projectID, clusterName, indexID string) error

DeleteSearchIndex encapsulate the logic to manage different cloud providers.

func (*Store) DeleteSearchNodes

func (s *Store) DeleteSearchNodes(projectID, clusterName string) error

func (*Store) DeleteServerlessInstance

func (s *Store) DeleteServerlessInstance(projectID, name string) error

DeleteServerlessInstance encapsulate the logic to manage different cloud providers.

func (*Store) DeleteSnapshot

func (s *Store) DeleteSnapshot(projectID, clusterName, snapshotID string) error

DeleteSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) DeleteStream

func (s *Store) DeleteStream(projectID, name string) error

func (*Store) DeleteTeam

func (s *Store) DeleteTeam(orgID, teamID string) error

DeleteTeam encapsulates the logic to manage different cloud providers.

func (*Store) DeleteTeamFromProject

func (s *Store) DeleteTeamFromProject(projectID, teamID string) error

DeleteTeamFromProject encapsulates the logic to manage different cloud providers.

func (*Store) DeleteUserFromProject

func (s *Store) DeleteUserFromProject(projectID, userID string) error

DeleteUserFromProject encapsulates the logic to manage different cloud providers.

func (*Store) DescribeCompliancePolicy

func (s *Store) DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) DescribeCustomDNS

func (s *Store) DescribeCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)

DescribeCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) DescribeExportBucket

func (s *Store) DescribeExportBucket(projectID, bucketID string) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)

DescribeExportBucket encapsulates the logic to manage different cloud providers.

func (*Store) DescribeSchedule

func (s *Store) DescribeSchedule(projectID, clusterName string) (*atlasv2.DiskBackupSnapshotSchedule, error)

DescribeSchedule encapsulates the logic to manage different cloud providers.

func (*Store) DisableAlertConfiguration

func (s *Store) DisableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)

DisableAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) DisableCopyProtection

func (s *Store) DisableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) DisableCustomDNS

func (s *Store) DisableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)

DisableCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) DisableEncryptionAtRest

func (s *Store) DisableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) DisablePerformanceAdvisorSlowOperationThreshold

func (s *Store) DisablePerformanceAdvisorSlowOperationThreshold(projectID string) error

DisablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.

func (*Store) DisableX509Configuration

func (s *Store) DisableX509Configuration(projectID string) error

DisableX509Configuration disables customer-managed X.509 configuration for an Atlas project.

func (*Store) DownloadAuditLog

func (s *Store) DownloadAuditLog(request *atlasv2.DownloadStreamTenantAuditLogsApiParams) (io.ReadCloser, error)

func (*Store) DownloadLog

func (s *Store) DownloadLog(params *atlasv2.GetHostLogsApiParams) (io.ReadCloser, error)

DownloadLog encapsulates the logic to manage different cloud providers.

func (*Store) EnableAlertConfiguration

func (s *Store) EnableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)

EnableAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) EnableCompliancePolicy

func (s *Store) EnableCompliancePolicy(projectID, authorizedEmail, authorizedFirstName, authorizedLastName string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) EnableCopyProtection

func (s *Store) EnableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) EnableCustomDNS

func (s *Store) EnableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)

EnableCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) EnableEncryptionAtRest

func (s *Store) EnableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) EnablePerformanceAdvisorSlowOperationThreshold

func (s *Store) EnablePerformanceAdvisorSlowOperationThreshold(projectID string) error

EnablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.

func (*Store) EnablePointInTimeRestore

func (s *Store) EnablePointInTimeRestore(projectID string, restoreWindowDays int) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) EncryptionAtRest

func (s *Store) EncryptionAtRest(projectID string) (*atlasv2.EncryptionAtRest, error)

func (*Store) ExportBuckets

func (s *Store) ExportBuckets(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshotExportBucket, error)

ExportBuckets encapsulates the logic to manage different cloud providers.

func (*Store) ExportJob

func (s *Store) ExportJob(projectID, clusterName, bucketID string) (*atlasv2.DiskBackupExportJob, error)

ExportJob encapsulates the logic to manage different cloud providers.

func (*Store) ExportJobs

func (s *Store) ExportJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasDiskBackupExportJob, error)

ExportJobs encapsulates the logic to manage different cloud providers.

func (*Store) FederationSetting

FederationSetting encapsulate the logic to manage different cloud providers.

func (*Store) GCPContainers

func (s *Store) GCPContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)

GCPContainers encapsulates the logic to manage different cloud providers.

func (*Store) GetConnectedOrgConfig

func (s *Store) GetConnectedOrgConfig(opts *atlasv2.GetConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)

GetConnectedOrgConfig encapsulate the logic to manage different cloud providers.

func (*Store) GetLDAPConfiguration

func (s *Store) GetLDAPConfiguration(projectID string) (*atlasv2.UserSecurity, error)

GetLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) GetOrgProjects

func (s *Store) GetOrgProjects(orgID string, opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)

GetOrgProjects encapsulates the logic to manage different cloud providers.

func (*Store) GetServerlessInstance

func (s *Store) GetServerlessInstance(projectID, clusterName string) (*atlasv2.ServerlessInstanceDescription, error)

GetServerlessInstance encapsulates the logic to manage different cloud providers.

func (*Store) GetStatusLDAPConfiguration

func (s *Store) GetStatusLDAPConfiguration(projectID, requestID string) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)

GetStatusLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) GetValidationStatus

func (s *Store) GetValidationStatus(groupID, liveMigrationID string) (*atlasv2.LiveImportValidation, error)

GetValidationStatus encapsulate the logic to manage different cloud providers.

func (*Store) GlobalCluster

func (s *Store) GlobalCluster(projectID, instanceName string) (*atlasv2.GeoSharding, error)

func (*Store) IPAccessList

func (s *Store) IPAccessList(projectID, name string) (*atlasv2.NetworkPermissionEntry, error)

IPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) IPInfo

func (s *Store) IPInfo() (*atlas.IPInfo, error)

IPInfo encapsulates the logic to manage different cloud providers.

func (*Store) IdentityProvider

IdentityProvider encapsulate the logic to manage different cloud providers.

func (*Store) IdentityProviders

IdentityProviders encapsulate the logic to manage different cloud providers.

func (*Store) Integration

func (s *Store) Integration(projectID, integrationType string) (*atlasv2.ThirdPartyIntegration, error)

Integration encapsulates the logic to manage different cloud providers.

func (*Store) Integrations

func (s *Store) Integrations(projectID string) (*atlasv2.PaginatedIntegration, error)

Integrations encapsulates the logic to manage different cloud providers.

func (*Store) InterfaceEndpoint

func (s *Store) InterfaceEndpoint(projectID, cloudProvider, endpointServiceID, privateEndpointID string) (*atlasv2.PrivateLinkEndpoint, error)

InterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) InterfaceEndpointDeprecated

func (s *Store) InterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)

InterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) InviteUser

InviteUser encapsulates the logic to manage different cloud providers.

func (*Store) InviteUserToProject

func (s *Store) InviteUserToProject(groupID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)

InviteUserToProject encapsulate the logic to manage different cloud providers.

func (*Store) ListConnectedOrgConfigs

ListConnectedOrgConfigs encapsulate the logic to manage different cloud providers.

func (*Store) LiveMigrationCreate

func (s *Store) LiveMigrationCreate(groupID string, liveMigrationRequest *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error)

LiveMigrationCreate encapsulates the logic to manage different cloud providers.

func (*Store) LiveMigrationDescribe

func (s *Store) LiveMigrationDescribe(groupID, migrationID string) (*atlasv2.LiveMigrationResponse, error)

LiveMigrationDescribe encapsulates the logic to manage different cloud providers.

func (*Store) MaintenanceWindow

func (s *Store) MaintenanceWindow(projectID string) (*atlasv2.GroupMaintenanceWindow, error)

MaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) MatcherFields

func (s *Store) MatcherFields() ([]string, error)

MatcherFields encapsulate the logic to manage different cloud providers.

func (*Store) OnlineArchive

func (s *Store) OnlineArchive(projectID, clusterName, archiveID string) (*atlasv2.BackupOnlineArchive, error)

OnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) OnlineArchives

func (s *Store) OnlineArchives(projectID, clusterName string, lstOpt *atlas.ListOptions) (*atlasv2.PaginatedOnlineArchive, error)

OnlineArchives encapsulate the logic to manage different cloud providers.

func (*Store) Organization

func (s *Store) Organization(id string) (*atlasv2.AtlasOrganization, error)

Organization encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationAPIKey

func (s *Store) OrganizationAPIKey(orgID, apiKeyID string) (*atlasv2.ApiKeyUserDetails, error)

OrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeyAccessLists

OrganizationAPIKeyAccessLists encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeys

func (s *Store) OrganizationAPIKeys(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)

OrganizationAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationEvents

func (s *Store) OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error)

OrganizationEvents encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationInvitation

func (s *Store) OrganizationInvitation(orgID, invitationID string) (*atlasv2.OrganizationInvitation, error)

OrganizationInvitation encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationInvitations

func (s *Store) OrganizationInvitations(params *atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error)

OrganizationInvitations encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationUsers

func (s *Store) OrganizationUsers(organizationID string, opts *atlas.ListOptions) (*atlasv2.PaginatedAppUser, error)

OrganizationUsers encapsulates the logic to manage different cloud providers.

func (*Store) Organizations

Organizations encapsulate the logic to manage different cloud providers.

func (*Store) PauseCluster

func (s *Store) PauseCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)

PauseCluster encapsulate the logic to manage different cloud providers.

func (*Store) PeeringConnection

func (s *Store) PeeringConnection(projectID, peerID string) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)

PeeringConnection encapsulates the logic to manage different cloud providers.

func (*Store) PeeringConnections

func (s *Store) PeeringConnections(projectID string, opts *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)

PeeringConnections encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorIndexes

func (s *Store) PerformanceAdvisorIndexes(opts *atlasv2.ListSuggestedIndexesApiParams) (*atlasv2.PerformanceAdvisorResponse, error)

PerformanceAdvisorIndexes encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorNamespaces

func (s *Store) PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error)

PerformanceAdvisorNamespaces encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorSlowQueries

func (s *Store) PerformanceAdvisorSlowQueries(opts *atlasv2.ListSlowQueriesApiParams) (*atlasv2.PerformanceAdvisorSlowQueryList, error)

PerformanceAdvisorSlowQueries encapsulates the logic to manage different cloud providers.

func (*Store) Pipeline

func (s *Store) Pipeline(projectID, id string) (*atlasv2.DataLakeIngestionPipeline, error)

Pipeline encapsulates the logic to manage different cloud providers.

func (*Store) PipelineAvailableSchedules

func (s *Store) PipelineAvailableSchedules(projectID, pipelineName string) ([]atlasv2.DiskBackupApiPolicyItem, error)

PipelineAvailableSchedules encapsulates the logic to manage different cloud providers.

func (*Store) PipelineAvailableSnapshots

func (s *Store) PipelineAvailableSnapshots(projectID, pipelineName string, completedAfter *time.Time, listOps *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshot, error)

PipelineAvailableSnapshots encapsulates the logic to manage different cloud providers.

func (*Store) PipelinePause

func (s *Store) PipelinePause(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)

PipelinePause encapsulates the logic to manage different cloud providers.

func (*Store) PipelineResume

func (s *Store) PipelineResume(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)

PipelineResume encapsulates the logic to manage different cloud providers.

func (*Store) PipelineRun

func (s *Store) PipelineRun(projectID, pipelineName, id string) (*atlasv2.IngestionPipelineRun, error)

PipelineRun encapsulates the logic to manage different cloud providers.

func (*Store) PipelineRuns

func (s *Store) PipelineRuns(projectID, pipelineName string) (*atlasv2.PaginatedPipelineRun, error)

PipelineRuns encapsulates the logic to manage different cloud providers.

func (*Store) PipelineTrigger

func (s *Store) PipelineTrigger(projectID, pipelineName, snapshotID string) (*atlasv2.IngestionPipelineRun, error)

PipelineTrigger encapsulates the logic to manage different cloud providers.

func (*Store) Pipelines

func (s *Store) Pipelines(projectID string) ([]atlasv2.DataLakeIngestionPipeline, error)

Pipelines encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpoint

func (s *Store) PrivateEndpoint(projectID, provider, privateLinkID string) (*atlasv2.EndpointService, error)

PrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpointDeprecated

func (s *Store) PrivateEndpointDeprecated(projectID, privateLinkID string) (*atlas.PrivateEndpointConnectionDeprecated, error)

PrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpoints

func (s *Store) PrivateEndpoints(projectID, provider string) ([]atlasv2.EndpointService, error)

PrivateEndpoints encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpointsDeprecated

func (s *Store) PrivateEndpointsDeprecated(projectID string, opts *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error)

PrivateEndpointsDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) Process

Process encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDatabaseMeasurements

ProcessDatabaseMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDatabases

func (s *Store) ProcessDatabases(groupID, host string, port int, opts *atlas.ListOptions) (*atlasv2.PaginatedDatabase, error)

ProcessDatabases encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDiskMeasurements

ProcessDiskMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDisks

func (s *Store) ProcessDisks(groupID, host string, port int, opts *atlas.ListOptions) (*atlasv2.PaginatedDiskPartition, error)

ProcessDisks encapsulates the logic to manage different cloud providers.

func (*Store) ProcessMeasurements

ProcessMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) Processes

Processes encapsulate the logic to manage different cloud providers.

func (*Store) Project

func (s *Store) Project(id string) (*atlasv2.Group, error)

Project encapsulates the logic to manage different cloud providers.

func (*Store) ProjectAPIKeys

func (s *Store) ProjectAPIKeys(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)

ProjectAPIKeys returns the API Keys for a specific project.

func (*Store) ProjectByName

func (s *Store) ProjectByName(name string) (*atlasv2.Group, error)

func (*Store) ProjectClusters

func (s *Store) ProjectClusters(projectID string, opts *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error)

ProjectClusters encapsulate the logic to manage different cloud providers.

func (*Store) ProjectEvents

ProjectEvents encapsulate the logic to manage different cloud providers.

func (*Store) ProjectIPAccessLists

func (s *Store) ProjectIPAccessLists(projectID string, opts *ListOptions) (*atlasv2.PaginatedNetworkAccess, error)

ProjectIPAccessLists encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitation

func (s *Store) ProjectInvitation(groupID, invitationID string) (*atlasv2.GroupInvitation, error)

ProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitations

func (s *Store) ProjectInvitations(params *atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error)

ProjectInvitations encapsulate the logic to manage different cloud providers.

func (*Store) ProjectSettings

func (s *Store) ProjectSettings(projectID string) (*atlasv2.GroupSettings, error)

ProjectSettings encapsulates the logic of getting settings of a particular project.

func (*Store) ProjectTeams

func (s *Store) ProjectTeams(projectID string, opts *ListOptions) (*atlasv2.PaginatedTeamRole, error)

ProjectTeams encapsulates the logic to manage different cloud providers.

func (*Store) ProjectUsers

func (s *Store) ProjectUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedAppUser, error)

ProjectUsers lists all IAM users in a project.

func (*Store) Projects

func (s *Store) Projects(opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)

Projects encapsulates the logic to manage different cloud providers.

func (*Store) RegionalizedPrivateEndpointSetting

func (s *Store) RegionalizedPrivateEndpointSetting(projectID string) (*atlasv2.ProjectSettingItem, error)

RegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.

func (*Store) RemoveUserFromTeam

func (s *Store) RemoveUserFromTeam(orgID, teamID, userID string) error

RemoveUserFromTeam encapsulates the logic to manage different cloud providers.

func (*Store) RenameTeam

func (s *Store) RenameTeam(orgID, teamID string, team *atlasv2.TeamUpdate) (*atlasv2.TeamResponse, error)

func (*Store) RestoreJob

func (s *Store) RestoreJob(projectID, clusterName, jobID string) (*atlasv2.DiskBackupSnapshotRestoreJob, error)

RestoreJob encapsulates the logic to manage different cloud providers.

func (*Store) RestoreJobs

func (s *Store) RestoreJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error)

RestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) RevokeJwksFromIdentityProvider

func (s *Store) RevokeJwksFromIdentityProvider(federationSettingsID string, identityProviderID string) error

RevokeJwksFromIdentityProvider encapsulate the logic to manage different cloud providers.

func (*Store) SampleDataStatus

func (s *Store) SampleDataStatus(groupID, id string) (*admin.SampleDatasetStatus, error)

SampleDataStatus encapsulate the logic to manage different cloud providers.

func (*Store) SaveLDAPConfiguration

func (s *Store) SaveLDAPConfiguration(projectID string, ldap *atlasv2.UserSecurity) (*atlasv2.UserSecurity, error)

SaveLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) SaveX509Configuration

func (s *Store) SaveX509Configuration(projectID, certificate string) (*atlasv2.UserSecurity, error)

SaveX509Configuration saves a customer-managed X.509 configuration for an Atlas project.

func (*Store) SearchIndex

func (s *Store) SearchIndex(projectID, clusterName, indexID string) (*atlasv2.ClusterSearchIndex, error)

SearchIndex encapsulate the logic to manage different cloud providers.

func (*Store) SearchIndexes

func (s *Store) SearchIndexes(projectID, clusterName, dbName, collName string) ([]atlasv2.ClusterSearchIndex, error)

SearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) SearchNodes

func (s *Store) SearchNodes(projectID, clusterName string) (*atlasv2.ApiSearchDeploymentResponse, error)

SearchNodes encapsulate the logic to manage different cloud providers.

func (*Store) SendEvents

func (s *Store) SendEvents(body interface{}) error

func (*Store) SendUnauthEvents

func (s *Store) SendUnauthEvents(body interface{}) error

func (*Store) ServerlessCreateRestoreJobs

func (s *Store) ServerlessCreateRestoreJobs(projectID, clusterName string, request *atlasv2.ServerlessBackupRestoreJob) (*atlasv2.ServerlessBackupRestoreJob, error)

CreateRestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessInstances

func (s *Store) ServerlessInstances(projectID string, listOps *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error)

ServerlessInstances encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessPrivateEndpoints

func (s *Store) ServerlessPrivateEndpoints(projectID, instanceName string) ([]atlasv2.ServerlessTenantEndpoint, error)

func (*Store) ServerlessRestoreJob

func (s *Store) ServerlessRestoreJob(projectID, instanceName string, jobID string) (*atlasv2.ServerlessBackupRestoreJob, error)

ServerlessRestoreJob encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessRestoreJobs

func (s *Store) ServerlessRestoreJobs(projectID, instanceName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupRestoreJob, error)

ServerlessRestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessSnapshot

func (s *Store) ServerlessSnapshot(projectID, instanceName, snapshotID string) (*atlasv2.ServerlessBackupSnapshot, error)

ServerlessSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessSnapshots

func (s *Store) ServerlessSnapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error)

ServerlessSnapshots encapsulates the logic to manage different cloud providers.

func (*Store) Snapshot

func (s *Store) Snapshot(projectID, clusterName, snapshotID string) (*atlasv2.DiskBackupReplicaSet, error)

Snapshot encapsulates the logic to manage different cloud providers.

func (*Store) Snapshots

func (s *Store) Snapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupReplicaSet, error)

Snapshots encapsulates the logic to manage different cloud providers.

func (*Store) StartCluster

func (s *Store) StartCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)

StartCluster encapsulate the logic to manage different cloud providers.

func (*Store) StreamConnection

func (s *Store) StreamConnection(projectID, tenantName, connectionName string) (*atlasv2.StreamsConnection, error)

StreamConnection encapsulates the logic to manage different cloud providers.

func (*Store) StreamsConnections

func (s *Store) StreamsConnections(projectID, tenantName string) (*atlasv2.PaginatedApiStreamsConnection, error)

StreamsConnections encapsulates the logic to manage different cloud providers.

func (*Store) TeamByID

func (s *Store) TeamByID(orgID, teamID string) (*atlasv2.TeamResponse, error)

TeamByID encapsulates the logic to manage different cloud providers.

func (*Store) TeamByName

func (s *Store) TeamByName(orgID, teamName string) (*atlasv2.TeamResponse, error)

TeamByName encapsulates the logic to manage different cloud providers.

func (*Store) TeamUsers

func (s *Store) TeamUsers(orgID, teamID string) (*atlasv2.PaginatedApiAppUser, error)

TeamUsers encapsulates the logic to manage different cloud providers.

func (*Store) Teams

func (s *Store) Teams(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedTeam, error)

Teams encapsulates the logic to manage different cloud providers.

func (*Store) TestClusterFailover

func (s *Store) TestClusterFailover(projectID, clusterName string) error

func (*Store) UpdateAlertConfiguration

func (s *Store) UpdateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)

func (*Store) UpdateAtlasClusterConfigurationOptions

func (s *Store) UpdateAtlasClusterConfigurationOptions(projectID, clusterName string, args *admin.ClusterDescriptionProcessArgs) (*admin.ClusterDescriptionProcessArgs, error)

UpdateAtlasClusterConfigurationOptions encapsulates the logic to manage different cloud providers.

func (*Store) UpdateAuditingConfig

func (s *Store) UpdateAuditingConfig(projectID string, r *atlasv2.AuditLog) (*atlasv2.AuditLog, error)

func (*Store) UpdateCluster

func (s *Store) UpdateCluster(projectID, name string, cluster *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)

UpdateCluster encapsulate the logic to manage different cloud providers.

func (*Store) UpdateCompliancePolicy

func (s *Store) UpdateCompliancePolicy(projectID string, opts *atlasv2.DataProtectionSettings20231001) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) UpdateConnectedOrgConfig

func (s *Store) UpdateConnectedOrgConfig(opts *atlasv2.UpdateConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)

UpdateConnectedOrgConfig encapsulate the logic to manage different cloud providers.

func (*Store) UpdateConnection

func (s *Store) UpdateConnection(projectID, tenantName, connectionsName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)

UpdateConnection encapsulates the logic to manage different cloud providers.

func (*Store) UpdateDataFederation

func (s *Store) UpdateDataFederation(projectID, id string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)

UpdateDataFederation encapsulates the logic to manage different cloud providers.

func (*Store) UpdateDataLake

func (s *Store) UpdateDataLake(projectID, name string, dataLake *atlas.DataLakeUpdateRequest) (*atlas.DataLake, error)

UpdateDataLake encapsulate the logic to manage different cloud providers.

func (*Store) UpdateDatabaseRole

func (s *Store) UpdateDatabaseRole(groupID, roleName string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)

UpdateDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) UpdateDatabaseUser

func (s *Store) UpdateDatabaseUser(params *atlasv2.UpdateDatabaseUserApiParams) (*atlasv2.CloudDatabaseUser, error)

func (*Store) UpdateIdentityProvider

UpdateIdentityProvider encapsulate the logic to manage different cloud providers.

func (*Store) UpdateMaintenanceWindow

func (s *Store) UpdateMaintenanceWindow(projectID string, maintenanceWindow *atlasv2.GroupMaintenanceWindow) error

UpdateMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOnlineArchive

func (s *Store) UpdateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchive) (*atlasv2.BackupOnlineArchive, error)

UpdateOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) UpdateOrganizationAPIKey

func (s *Store) UpdateOrganizationAPIKey(orgID, apiKeyID string, input *atlasv2.UpdateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)

UpdateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationInvitation

func (s *Store) UpdateOrganizationInvitation(orgID, invitationID string, invitation *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)

UpdateOrganizationInvitation encapsulates the logic to manage different cloud providers.

func (*Store) UpdatePipeline

func (s *Store) UpdatePipeline(projectID, id string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)

UpdatePipeline encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProject

func (s *Store) UpdateProject(params *atlasv2.UpdateProjectApiParams) (*atlasv2.Group, error)

UpdateProject encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProjectInvitation

func (s *Store) UpdateProjectInvitation(groupID, invitationID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)

UpdateProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) UpdateProjectSettings

func (s *Store) UpdateProjectSettings(projectID string, projectSettings *atlasv2.GroupSettings) (*atlasv2.GroupSettings, error)

UpdateProjectSettings encapsulates the logic of updating settings of a particular project.

func (*Store) UpdateProjectTeamRoles

func (s *Store) UpdateProjectTeamRoles(projectID, teamID string, team *atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)

UpdateProjectTeamRoles encapsulates the logic to manage different cloud providers.

func (*Store) UpdateRegionalizedPrivateEndpointSetting

func (s *Store) UpdateRegionalizedPrivateEndpointSetting(projectID string, enabled bool) (*atlasv2.ProjectSettingItem, error)

UpdateRegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.

func (*Store) UpdateSchedule

func (s *Store) UpdateSchedule(projectID, clusterName string, policy *atlasv2.DiskBackupSnapshotSchedule) (*atlasv2.DiskBackupSnapshotSchedule, error)

UpdateSchedule encapsulates the logic to manage different cloud providers.

func (*Store) UpdateScheduledPolicy

func (s *Store) UpdateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)

func (*Store) UpdateSearchIndexes

func (s *Store) UpdateSearchIndexes(projectID, clusterName, indexID string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)

UpdateSearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) UpdateSearchNodes

func (s *Store) UpdateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)

func (*Store) UpdateServerlessInstance

func (s *Store) UpdateServerlessInstance(projectID string, instanceName string, req *atlasv2.ServerlessInstanceDescriptionUpdate) (*atlasv2.ServerlessInstanceDescription, error)

UpdateServerlessInstance encapsulate the logic to manage different cloud providers.

func (*Store) UpdateStream

func (s *Store) UpdateStream(projectID, name string, streamsDataProcessRegion *atlasv2.StreamsDataProcessRegion) (*atlasv2.StreamsTenant, error)

func (*Store) UpgradeCluster

func (s *Store) UpgradeCluster(projectID string, cluster *atlas.Cluster) (*atlas.Cluster, error)

UpgradeCluster encapsulate the logic to upgrade shared clusters in a project.

func (*Store) UserByID

func (s *Store) UserByID(userID string) (*atlasv2.CloudAppUser, error)

UserByID encapsulates the logic to manage different cloud providers.

func (*Store) UserByName

func (s *Store) UserByName(username string) (*atlasv2.CloudAppUser, error)

UserByName encapsulates the logic to manage different cloud providers.

func (*Store) VerifyLDAPConfiguration

VerifyLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) X509Configuration

func (s *Store) X509Configuration(projectID string) (*atlasv2.UserSecurity, error)

X509Configuration retrieves the current user managed certificates for a database user.

type StreamsConnectionDescriber

type StreamsConnectionDescriber interface {
	StreamConnection(string, string, string) (*atlasv2.StreamsConnection, error)
}

type StreamsConnectionLister

type StreamsConnectionLister interface {
	StreamsConnections(string, string) (*atlasv2.PaginatedApiStreamsConnection, error)
}

type StreamsCreator

type StreamsCreator interface {
	CreateStream(string, *atlasv2.StreamsTenant) (*atlasv2.StreamsTenant, error)
}

type StreamsDeleter

type StreamsDeleter interface {
	DeleteStream(string, string) error
}

type StreamsDescriber

type StreamsDescriber interface {
	AtlasStream(string, string) (*atlasv2.StreamsTenant, error)
}

type StreamsDownloader

type StreamsDownloader interface {
	DownloadAuditLog(*atlasv2.DownloadStreamTenantAuditLogsApiParams) (io.ReadCloser, error)
}

type StreamsLister

type StreamsLister interface {
	ProjectStreams(*atlasv2.ListStreamInstancesApiParams) (*atlasv2.PaginatedApiStreamsTenant, error)
}

type StreamsUpdater

type StreamsUpdater interface {
	UpdateStream(string, string, *atlasv2.StreamsDataProcessRegion) (*atlasv2.StreamsTenant, error)
}

type TeamAdder

type TeamAdder interface {
	AddUsersToTeam(string, string, []atlasv2.AddUserToTeam) (*atlasv2.PaginatedApiAppUser, error)
}

type TeamCreator

type TeamCreator interface {
	CreateTeam(string, *atlasv2.Team) (*atlasv2.Team, error)
}

type TeamDeleter

type TeamDeleter interface {
	DeleteTeam(string, string) error
}

type TeamDescriber

type TeamDescriber interface {
	TeamByID(string, string) (*atlasv2.TeamResponse, error)
	TeamByName(string, string) (*atlasv2.TeamResponse, error)
}

type TeamLister

type TeamLister interface {
	Teams(string, *atlas.ListOptions) (*atlasv2.PaginatedTeam, error)
}

type TeamRenamer

type TeamRenamer interface {
	RenameTeam(string, string, *atlasv2.TeamUpdate) (*atlasv2.TeamResponse, error)
}

type TeamRolesUpdater

type TeamRolesUpdater interface {
	UpdateProjectTeamRoles(string, string, *atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
}

type TeamUserLister

type TeamUserLister interface {
	TeamUsers(string, string) (*atlasv2.PaginatedApiAppUser, error)
}

type TeamUserRemover

type TeamUserRemover interface {
	RemoveUserFromTeam(string, string, string) error
}

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func (*Transport) RoundTrip

func (tr *Transport) RoundTrip(req *http.Request) (*http.Response, error)

type UnauthEventsSender

type UnauthEventsSender interface {
	SendUnauthEvents(body interface{}) error
}

type UserCreator

type UserCreator interface {
	CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error)
}

type UserDescriber

type UserDescriber interface {
	UserByID(string) (*atlasv2.CloudAppUser, error)
	UserByName(string) (*atlasv2.CloudAppUser, error)
}

type UserLister

type UserLister interface {
	OrganizationUsers(string, *atlas.ListOptions) (*atlasv2.PaginatedAppUser, error)
}

type X509CertificateConfDescriber

type X509CertificateConfDescriber interface {
	X509Configuration(string) (*atlasv2.UserSecurity, error)
}

type X509CertificateConfDisabler

type X509CertificateConfDisabler interface {
	DisableX509Configuration(string) error
}

type X509CertificateConfSaver

type X509CertificateConfSaver interface {
	SaveX509Configuration(string, string) (*atlasv2.UserSecurity, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL