store

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 21 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 AgentAPIKeyCreator

type AgentAPIKeyCreator interface {
	CreateAgentAPIKey(string, *opsmngr.AgentAPIKeysRequest) (*opsmngr.AgentAPIKey, error)
}

type AgentAPIKeyDeleter

type AgentAPIKeyDeleter interface {
	DeleteAgentAPIKey(string, string) error
}

type AgentAPIKeyLister

type AgentAPIKeyLister interface {
	AgentAPIKeys(string) ([]*opsmngr.AgentAPIKey, error)
}

type AgentGlobalVersionsLister

type AgentGlobalVersionsLister interface {
	AgentGlobalVersions() (*opsmngr.SoftwareVersions, error)
}

type AgentLister

type AgentLister interface {
	Agents(string, string, *opsmngr.ListOptions) (*opsmngr.Agents, error)
}

type AgentProjectVersionsLister

type AgentProjectVersionsLister interface {
	AgentProjectVersions(string) (*opsmngr.AgentVersions, error)
}

type AgentUpgrader

type AgentUpgrader interface {
	UpgradeAgent(string) (*opsmngr.AutomationConfigAgent, error)
}

type AlertAcknowledger

type AlertAcknowledger interface {
	AcknowledgeAlert(string, string, *opsmngr.AcknowledgeRequest) (*atlas.Alert, error)
}

type AlertConfigurationCreator

type AlertConfigurationCreator interface {
	CreateAlertConfiguration(*atlas.AlertConfiguration) (*atlas.AlertConfiguration, error)
}

type AlertConfigurationDeleter

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

type AlertConfigurationDisabler

type AlertConfigurationDisabler interface {
	DisableAlertConfiguration(string, string) (*atlas.AlertConfiguration, error)
}

type AlertConfigurationEnabler

type AlertConfigurationEnabler interface {
	EnableAlertConfiguration(string, string) (*atlas.AlertConfiguration, error)
}

type AlertConfigurationLister

type AlertConfigurationLister interface {
	AlertConfigurations(string, *opsmngr.ListOptions) ([]atlas.AlertConfiguration, error)
}

type AlertConfigurationUpdater

type AlertConfigurationUpdater interface {
	UpdateAlertConfiguration(*atlas.AlertConfiguration) (*atlas.AlertConfiguration, error)
}

type AlertDescriber

type AlertDescriber interface {
	Alert(string, string) (*opsmngr.Alert, error)
}

type AlertLister

type AlertLister interface {
	Alerts(string, *opsmngr.AlertsListOptions) (*atlas.AlertsResponse, error)
}

type AllClusterLister

type AllClusterLister interface {
	ListAllProjectClusters() (*opsmngr.AllClustersProjects, error)
}

type ArchivesDownloader

type ArchivesDownloader interface {
	DownloadArchive(string, *opsmngr.DiagnosticsListOpts, io.Writer) error
}

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 AtlasClusterDescriber

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

type AtlasClusterGetterUpdater

type AtlasClusterGetterUpdater interface {
	AtlasClusterDescriber
	ClusterUpdater
}

type AtlasOrganizationCreator

type AtlasOrganizationCreator interface {
	CreateAtlasOrganization(*atlas.CreateOrganizationRequest) (*atlas.CreateOrganizationResponse, error)
}

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
	TransportConfigGetter
	ServiceGetter
}

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

type AutomationGetter

type AutomationGetter interface {
	GetAutomationConfig(string) (*opsmngr.AutomationConfig, error)
}

type AutomationPatcher

type AutomationPatcher interface {
	AutomationGetter
	AutomationUpdater
}

type AutomationStatusGetter

type AutomationStatusGetter interface {
	GetAutomationStatus(string) (*opsmngr.AutomationStatus, error)
}

type AutomationUpdater

type AutomationUpdater interface {
	UpdateAutomationConfig(string, *opsmngr.AutomationConfig) error
}

type AzurePeeringConnectionCreator

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

type BackupConfigGetter

type BackupConfigGetter interface {
	GetBackupConfig(string, string) (*opsmngr.BackupConfig, error)
}

type BackupConfigLister

type BackupConfigLister interface {
	ListBackupConfigs(string, *opsmngr.ListOptions) (*opsmngr.BackupConfigs, error)
}

type BackupConfigUpdater

type BackupConfigUpdater interface {
	UpdateBackupConfig(*opsmngr.BackupConfig) (*opsmngr.BackupConfig, error)
}

type BasicConfig

type BasicConfig interface {
	TransportConfigGetter
	ServiceGetter
}

type BlockstoresCreator

type BlockstoresCreator interface {
	CreateBlockstore(*opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type BlockstoresDeleter

type BlockstoresDeleter interface {
	DeleteBlockstore(string) error
}

type BlockstoresDescriber

type BlockstoresDescriber interface {
	DescribeBlockstore(string) (*opsmngr.BackupStore, error)
}

type BlockstoresLister

type BlockstoresLister interface {
	ListBlockstores(*opsmngr.ListOptions) (*opsmngr.BackupStores, error)
}

type BlockstoresUpdater

type BlockstoresUpdater interface {
	UpdateBlockstore(*opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type CheckpointsLister

type CheckpointsLister interface {
	Checkpoints(string, string, *atlas.ListOptions) (*atlas.Checkpoints, error)
}

type CloudManagerClustersDescriber

type CloudManagerClustersDescriber interface {
	AutomationGetter
	OpsManagerClusterDescriber
}

type CloudManagerClustersLister

type CloudManagerClustersLister interface {
	AutomationGetter
	ClusterLister
	AllClusterLister
}

type CloudProviderAccessRoleAuthorizer

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

CreateCloudProviderAccessRole 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 ClusterLister

type ClusterLister interface {
	ProjectClusters(string, *atlas.ListOptions) (interface{}, 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 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 ContainersLister

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

type ContinuousJobCreator

type ContinuousJobCreator interface {
	CreateContinuousRestoreJob(string, string, *atlas.ContinuousJobRequest) (*atlas.ContinuousJobs, error)
}

type ContinuousJobLister

type ContinuousJobLister interface {
	ContinuousRestoreJobs(string, string, *atlas.ListOptions) (*atlas.ContinuousJobs, error)
}

type ContinuousSnapshotsLister

type ContinuousSnapshotsLister interface {
	ContinuousSnapshots(string, string, *atlas.ListOptions) (*atlas.ContinuousSnapshots, 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 DataFederationLister

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

type DataFederationStore

type DataFederationStore interface {
	DataFederationLister
	atlas.DataFederationDescriber
}

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 *atlas.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 FeatureControlPoliciesLister

type FeatureControlPoliciesLister interface {
	FeatureControlPolicies(string, *opsmngr.ListOptions) (*opsmngr.FeaturePolicy, error)
}

type FeatureControlPoliciesUpdater

type FeatureControlPoliciesUpdater interface {
	UpdateFeatureControlPolicy(string, *opsmngr.FeaturePolicy) (*opsmngr.FeaturePolicy, error)
}

type FileSystemsCreator

type FileSystemsCreator interface {
	CreateFileSystems(*opsmngr.FileSystemStoreConfiguration) (*opsmngr.FileSystemStoreConfiguration, error)
}

type FileSystemsDeleter

type FileSystemsDeleter interface {
	DeleteFileSystem(string) error
}

type FileSystemsDescriber

type FileSystemsDescriber interface {
	DescribeFileSystem(string) (*opsmngr.FileSystemStoreConfiguration, error)
}

type FileSystemsLister

type FileSystemsLister interface {
	ListFileSystems(*opsmngr.ListOptions) (*opsmngr.FileSystemStoreConfigurations, error)
}

type FileSystemsUpdater

type FileSystemsUpdater interface {
	UpdateFileSystems(*opsmngr.FileSystemStoreConfiguration) (*opsmngr.FileSystemStoreConfiguration, error)
}

type GCPPeeringConnectionCreator

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

type GlobalAPIKeyCreator

type GlobalAPIKeyCreator interface {
	CreateGlobalAPIKey(*opsmngr.APIKeyInput) (*opsmngr.APIKey, error)
}

type GlobalAPIKeyDeleter

type GlobalAPIKeyDeleter interface {
	DeleteGlobalAPIKey(string) error
}

type GlobalAPIKeyDescriber

type GlobalAPIKeyDescriber interface {
	GlobalAPIKey(string) (*opsmngr.APIKey, error)
}

type GlobalAPIKeyLister

type GlobalAPIKeyLister interface {
	GlobalAPIKeys(*opsmngr.ListOptions) ([]opsmngr.APIKey, error)
}

type GlobalAPIKeyUpdater

type GlobalAPIKeyUpdater interface {
	UpdateGlobalAPIKey(string, *opsmngr.APIKeyInput) (*opsmngr.APIKey, error)
}

type GlobalAPIKeyWhitelistCreator

type GlobalAPIKeyWhitelistCreator interface {
	CreateGlobalAPIKeyWhitelist(*opsmngr.WhitelistAPIKeysReq) (*opsmngr.GlobalWhitelistAPIKey, error)
}

type GlobalAPIKeyWhitelistDeleter

type GlobalAPIKeyWhitelistDeleter interface {
	DeleteGlobalAPIKeyWhitelist(string) error
}

type GlobalAPIKeyWhitelistDescriber

type GlobalAPIKeyWhitelistDescriber interface {
	GlobalAPIKeyWhitelist(string) (*opsmngr.GlobalWhitelistAPIKey, error)
}

type GlobalAPIKeyWhitelistLister

type GlobalAPIKeyWhitelistLister interface {
	GlobalAPIKeyWhitelists(*atlas.ListOptions) (*opsmngr.GlobalWhitelistAPIKeys, error)
}

type GlobalAlertLister

type GlobalAlertLister interface {
	GlobalAlerts(*atlas.AlertsListOptions) (*opsmngr.GlobalAlerts, error)
}

type GlobalClusterDescriber

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

type HostByHostnameDescriber

type HostByHostnameDescriber interface {
	HostByHostname(string, string, int) (*opsmngr.Host, error)
}

type HostDatabaseLister

type HostDatabaseLister interface {
	HostDatabases(string, string, *atlas.ListOptions) (*atlas.ProcessDatabasesResponse, error)
}

type HostDatabaseMeasurementsLister

type HostDatabaseMeasurementsLister interface {
	HostDatabaseMeasurements(string, string, string, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDatabaseMeasurements, error)
}

type HostDescriber

type HostDescriber interface {
	Host(string, string) (*opsmngr.Host, error)
}

type HostDiskMeasurementsLister

type HostDiskMeasurementsLister interface {
	HostDiskMeasurements(string, string, string, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDiskMeasurements, error)
}

type HostDisksLister

type HostDisksLister interface {
	HostDisks(string, string, *atlas.ListOptions) (*atlas.ProcessDisksResponse, error)
}

type HostLister

type HostLister interface {
	Hosts(string, *opsmngr.HostListOptions) (*opsmngr.Hosts, error)
}

type HostMeasurementLister

type HostMeasurementLister interface {
	HostMeasurements(string, string, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessMeasurements, error)
}

type IPInfoDescriber

type IPInfoDescriber interface {
	IPInfo() (*atlas.IPInfo, 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 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 LogCollector

type LogCollector interface {
	Collect(string, *opsmngr.LogCollectionJob) (*opsmngr.LogCollectionJob, error)
}

type LogJobDeleter

type LogJobDeleter interface {
	DeleteCollectionJob(string, string) error
}

type LogJobLister

type LogJobLister interface {
	LogCollectionJobs(string, *opsmngr.LogListOptions) (*opsmngr.LogCollectionJobs, error)
}

type LogJobsDownloader

type LogJobsDownloader interface {
	DownloadLogJob(string, string, io.Writer) 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 ManifestGetter

type ManifestGetter interface {
	Service() string
	OpsManagerVersionManifestURL() string
}

type MatcherFieldsLister

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

type MonitoringStarter

type MonitoringStarter interface {
	StartMonitoring(string, *opsmngr.Host) (*opsmngr.Host, error)
}

type MonitoringStopper

type MonitoringStopper interface {
	StopMonitoring(string, 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 OplogsCreator

type OplogsCreator interface {
	CreateOplog(*opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type OplogsDeleter

type OplogsDeleter interface {
	DeleteOplog(string) error
}

type OplogsDescriber

type OplogsDescriber interface {
	GetOplog(string) (*opsmngr.BackupStore, error)
}

type OplogsLister

type OplogsLister interface {
	ListOplogs(*opsmngr.ListOptions) (*opsmngr.BackupStores, error)
}

type OplogsUpdater

type OplogsUpdater interface {
	UpdateOplog(string, *opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type OpsManagerClusterDescriber

type OpsManagerClusterDescriber interface {
	OpsManagerCluster(string, string) (*opsmngr.Cluster, error)
}

type OpsManagerMaintenanceWindowCreator

type OpsManagerMaintenanceWindowCreator interface {
	CreateOpsManagerMaintenanceWindow(string, *opsmngr.MaintenanceWindow) (*opsmngr.MaintenanceWindow, error)
}

type OpsManagerMaintenanceWindowDeleter

type OpsManagerMaintenanceWindowDeleter interface {
	DeleteOpsManagerMaintenanceWindow(string, string) error
}

type OpsManagerMaintenanceWindowDescriber

type OpsManagerMaintenanceWindowDescriber interface {
	OpsManagerMaintenanceWindow(string, string) (*opsmngr.MaintenanceWindow, error)
}

type OpsManagerMaintenanceWindowLister

type OpsManagerMaintenanceWindowLister interface {
	OpsManagerMaintenanceWindows(string) (*opsmngr.MaintenanceWindows, error)
}

type OpsManagerMaintenanceWindowUpdater

type OpsManagerMaintenanceWindowUpdater interface {
	UpdateOpsManagerMaintenanceWindow(string, *opsmngr.MaintenanceWindow) (*opsmngr.MaintenanceWindow, error)
}

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 NetworkPresets

func NetworkPresets(c TransportConfigGetter) Option

NetworkPresets is the default Option to set custom network preference.

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 SkipVerify

func SkipVerify() Option

SkipVerify skips CA certificate verification, use at your own risk.

func Telemetry

func Telemetry() Option

func UnauthenticatedPreset

func UnauthenticatedPreset(c BasicConfig) 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 WithCACertificate

func WithCACertificate(caCertificate string) Option

WithCACertificate enables the Store to use a custom CA certificate.

func WithContext

func WithContext(ctx context.Context) Option

WithContext sets the store context.

type OrgProjectLister

type OrgProjectLister interface {
	GetOrgProjects(string) (interface{}, error)
}

type OrganizationAPIKeyAccessListCreator

type OrganizationAPIKeyAccessListCreator interface {
	CreateOrganizationAPIKeyAccessList(string, string, []*atlas.AccessListAPIKeysReq) (*atlas.AccessListAPIKeys, error)
}

type OrganizationAPIKeyAccessListDeleter

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

type OrganizationAPIKeyAccessListLister

type OrganizationAPIKeyAccessListLister interface {
	OrganizationAPIKeyAccessLists(string, string, *opsmngr.ListOptions) (*atlas.AccessListAPIKeys, error)
}

type OrganizationAPIKeyCreator

type OrganizationAPIKeyCreator interface {
	CreateOrganizationAPIKey(string, *atlas.APIKeyInput) (*atlas.APIKey, error)
}

type OrganizationAPIKeyDeleter

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

type OrganizationAPIKeyDescriber

type OrganizationAPIKeyDescriber interface {
	OrganizationAPIKey(string, string) (*atlas.APIKey, error)
}

type OrganizationAPIKeyLister

type OrganizationAPIKeyLister interface {
	OrganizationAPIKeys(string, *atlas.ListOptions) ([]atlas.APIKey, error)
}

type OrganizationAPIKeyUpdater

type OrganizationAPIKeyUpdater interface {
	UpdateOrganizationAPIKey(string, string, *atlas.APIKeyInput) (*atlas.APIKey, error)
}

type OrganizationCreator

type OrganizationCreator interface {
	CreateOrganization(string) (*atlas.Organization, error)
}

type OrganizationDeleter

type OrganizationDeleter interface {
	DeleteOrganization(string) error
}

type OrganizationDescriber

type OrganizationDescriber interface {
	Organization(string) (interface{}, error)
}

type OrganizationEventLister

type OrganizationEventLister interface {
	OrganizationEvents(string, *atlas.EventListOptions) (*atlas.EventResponse, error)
}

type OrganizationHostAssignmentLister

type OrganizationHostAssignmentLister interface {
	OrganizationHostAssignments(string, *opsmngr.ServerTypeOptions) (*opsmngr.HostAssignments, error)
}

type OrganizationInvitationDeleter

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

type OrganizationInvitationDescriber

type OrganizationInvitationDescriber interface {
	OrganizationInvitation(string, string) (interface{}, error)
}

type OrganizationInvitationLister

type OrganizationInvitationLister interface {
	OrganizationInvitations(string, *atlas.InvitationOptions) (interface{}, error)
}

type OrganizationInvitationUpdater

type OrganizationInvitationUpdater interface {
	UpdateOrganizationInvitation(string, string, *atlas.Invitation) (interface{}, error)
}

type OrganizationInviter

type OrganizationInviter interface {
	InviteUser(string, *atlas.Invitation) (interface{}, error)
}

type OrganizationLister

type OrganizationLister interface {
	Organizations(*atlas.OrganizationsListOptions) (interface{}, error)
}

type OrganizationServerTypeGetter

type OrganizationServerTypeGetter interface {
	OrganizationServerType(string) (*opsmngr.ServerType, error)
}

type OrganizationServerTypeUpdater

type OrganizationServerTypeUpdater interface {
	UpdateOrganizationServerType(string, *opsmngr.ServerTypeRequest) error
}

type OrganizationsConnector

type OrganizationsConnector interface {
	ConnectOrganizations(string, *atlas.LinkToken) (*opsmngr.ConnectionStatus, error)
}

type OrganizationsDescriber

type OrganizationsDescriber interface {
	OrganizationConnectionStatus(string) (*opsmngr.ConnectionStatus, error)
}

type OwnerCreator

type OwnerCreator interface {
	CreateOwner(*opsmngr.User, []string) (*opsmngr.CreateUserResponse, 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, *atlas.ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)
}

type PerformanceAdvisorIndexesLister

type PerformanceAdvisorIndexesLister interface {
	PerformanceAdvisorIndexes(string, string, *atlas.SuggestedIndexOptions) (*atlas.SuggestedIndexes, error)
}

type PerformanceAdvisorNamespacesLister

type PerformanceAdvisorNamespacesLister interface {
	PerformanceAdvisorNamespaces(string, string, *atlas.NamespaceOptions) (*atlas.Namespaces, error)
}

type PerformanceAdvisorSlowOperationThresholdDisabler

type PerformanceAdvisorSlowOperationThresholdDisabler interface {
	DisablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowOperationThresholdEnabler

type PerformanceAdvisorSlowOperationThresholdEnabler interface {
	EnablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowQueriesLister

type PerformanceAdvisorSlowQueriesLister interface {
	PerformanceAdvisorSlowQueries(string, string, *atlas.SlowQueryOptions) (*atlas.SlowQueries, error)
}

type PrivateEndpointCreator

type PrivateEndpointCreator interface {
	CreatePrivateEndpoint(string, *atlasv2.CloudProviderEndpointServiceRequest) (interface{}, 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, *atlas.AssignAPIKey) error
}

type ProjectAPIKeyCreator

type ProjectAPIKeyCreator interface {
	CreateProjectAPIKey(string, *atlas.APIKeyInput) (*atlas.APIKey, error)
}

type ProjectAPIKeyDeleter

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

type ProjectAPIKeyLister

type ProjectAPIKeyLister interface {
	ProjectAPIKeys(string, *atlas.ListOptions) ([]atlas.APIKey, error)
}

type ProjectCreator

type ProjectCreator interface {
	CreateProject(string, string, string, *bool, *atlas.CreateProjectOptions) (interface{}, error)
	ServiceVersionDescriber
}

type ProjectDeleter

type ProjectDeleter interface {
	DeleteProject(string) error
}

type ProjectDescriber

type ProjectDescriber interface {
	Project(string) (interface{}, error)
	ProjectByName(string) (interface{}, error)
}

type ProjectEventLister

type ProjectEventLister interface {
	ProjectEvents(string, *atlas.EventListOptions) (*atlas.EventResponse, error)
}

type ProjectHostAssignmentLister

type ProjectHostAssignmentLister interface {
	ProjectHostAssignments(string, *opsmngr.ServerTypeOptions) (*opsmngr.HostAssignments, 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, *atlas.ListOptions) (*atlasv2.PaginatedNetworkAccess, error)
}

type ProjectInvitationDeleter

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

type ProjectInvitationDescriber

type ProjectInvitationDescriber interface {
	ProjectInvitation(string, string) (*atlas.Invitation, error)
}

type ProjectInvitationLister

type ProjectInvitationLister interface {
	ProjectInvitations(string, *atlas.InvitationOptions) ([]*atlas.Invitation, error)
}

type ProjectInvitationUpdater

type ProjectInvitationUpdater interface {
	UpdateProjectInvitation(string, string, *atlas.Invitation) (*atlas.Invitation, error)
}

type ProjectInviter

type ProjectInviter interface {
	InviteUserToProject(string, *atlas.Invitation) (*atlas.Invitation, error)
}

type ProjectLister

type ProjectLister interface {
	Projects(*atlas.ListOptions) (interface{}, error)
	GetOrgProjects(string, *atlas.ProjectsListOptions) (interface{}, error)
}

type ProjectServerTypeGetter

type ProjectServerTypeGetter interface {
	ProjectServerType(string) (*opsmngr.ServerType, error)
}

type ProjectServerTypeUpdater

type ProjectServerTypeUpdater interface {
	UpdateProjectServerType(string, *opsmngr.ServerTypeRequest) error
}

type ProjectSettingsDescriber

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

type ProjectSettingsUpdater

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

type ProjectTeamAdder

type ProjectTeamAdder interface {
	AddTeamsToProject(string, []*atlas.ProjectTeam) (*atlas.TeamsAssigned, error)
}

type ProjectTeamDeleter

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

type ProjectTeamLister

type ProjectTeamLister interface {
	ProjectTeams(string) (interface{}, error)
}

type ProjectUserDeleter

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

type ProjectUsersLister

type ProjectUsersLister interface {
	ProjectUsers(string, *atlas.ListOptions) (interface{}, 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 S3BlockstoresCreator

type S3BlockstoresCreator interface {
	CreateS3Blockstores(*opsmngr.S3Blockstore) (*opsmngr.S3Blockstore, error)
}

type S3BlockstoresDeleter

type S3BlockstoresDeleter interface {
	DeleteS3Blockstore(string) error
}

type S3BlockstoresDescriber

type S3BlockstoresDescriber interface {
	GetS3Blockstore(string) (*opsmngr.S3Blockstore, error)
}

type S3BlockstoresLister

type S3BlockstoresLister interface {
	ListS3Blockstores(*opsmngr.ListOptions) (*opsmngr.S3Blockstores, error)
}

type S3BlockstoresUpdater

type S3BlockstoresUpdater interface {
	UpdateS3Blockstores(string, *opsmngr.S3Blockstore) (*opsmngr.S3Blockstore, 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)
}

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 ServerUsageReportDownloader

type ServerUsageReportDownloader interface {
	DownloadServerUsageReport(opts *opsmngr.ServerTypeOptions, out io.Writer) 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 {
	ServerlessInstance(string, string) (*atlas.Cluster, error)
	GetServerlessInstance(string, string) (*atlasv2.ServerlessInstanceDescription, error)
}

type ServerlessInstanceLister

type ServerlessInstanceLister interface {
	ServerlessInstances(string, *atlas.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 ServiceVersionDescriber

type ServiceVersionDescriber interface {
	ServiceVersion() (*opsmngr.ServiceVersion, error)
}

type SnapshotGenerator

type SnapshotGenerator interface {
	GenerateSnapshot() error
}

type SnapshotScheduleDescriber

type SnapshotScheduleDescriber interface {
	GetSnapshotSchedule(string, string) (*opsmngr.SnapshotSchedule, error)
}

type SnapshotScheduleUpdater

type SnapshotScheduleUpdater interface {
	UpdateSnapshotSchedule(string, string, *opsmngr.SnapshotSchedule) (*opsmngr.SnapshotSchedule, error)
}

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 NewVersionManifest

func NewVersionManifest(ctx context.Context, c ManifestGetter) (*Store, error)

NewVersionManifest ets the appropriate client for the manifest version page.

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(projectID, alertID string, body *opsmngr.AcknowledgeRequest) (*atlas.Alert, error)

Acknowledge 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 []*atlas.ProjectTeam) (*atlas.TeamsAssigned, error)

AddTeamsToProject encapsulates the logic to manage different cloud providers.

func (*Store) AddUsersToTeam

func (s *Store) AddUsersToTeam(orgID, teamID string, users []string) (interface{}, error)

AddUsersToTeam encapsulates the logic to manage different cloud providers.

func (*Store) AgentAPIKeys

func (s *Store) AgentAPIKeys(projectID string) ([]*opsmngr.AgentAPIKey, error)

AgentAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) AgentGlobalVersions

func (s *Store) AgentGlobalVersions() (*opsmngr.SoftwareVersions, error)

AgentGlobalVersions encapsulates the logic to manage different cloud providers.

func (*Store) AgentProjectVersions

func (s *Store) AgentProjectVersions(projectID string) (*opsmngr.AgentVersions, error)

AgentProjectVersions encapsulates the logic to manage different cloud providers.

func (*Store) Agents

func (s *Store) Agents(projectID, agentType string, opts *opsmngr.ListOptions) (*opsmngr.Agents, error)

Agents encapsulates the logic to manage different cloud providers.

func (*Store) Alert

func (s *Store) Alert(projectID, alertID string) (*atlas.Alert, error)

Alert encapsulate the logic to manage different cloud providers.

func (*Store) AlertConfigurations

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

AlertConfigurations encapsulate the logic to manage different cloud providers.

func (*Store) Alerts

func (s *Store) Alerts(projectID string, opts *opsmngr.AlertsListOptions) (*opsmngr.AlertsResponse, 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 *atlas.AssignAPIKey) 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) Checkpoints

func (s *Store) Checkpoints(projectID, clusterID string, opts *atlas.ListOptions) (*atlas.Checkpoints, error)

Checkpoints encapsulate 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) Collect

func (s *Store) Collect(groupID string, newLog *opsmngr.LogCollectionJob) (*opsmngr.LogCollectionJob, error)

Collect encapsulate the logic to manage different cloud providers.

func (*Store) ConnectOrganizations

func (s *Store) ConnectOrganizations(orgID string, linkToken *atlas.LinkToken) (*opsmngr.ConnectionStatus, error)

CreateLinkConnection encapsulate the logic to manage different cloud providers.

func (*Store) Container

func (s *Store) Container(projectID, containerID string) (interface{}, error)

Container 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) ContinuousRestoreJobs

func (s *Store) ContinuousRestoreJobs(projectID, clusterID string, opts *atlas.ListOptions) (*atlas.ContinuousJobs, error)

ContinuousRestoreJobs encapsulate the logic to manage different cloud providers.

func (*Store) ContinuousSnapshots

func (s *Store) ContinuousSnapshots(projectID, clusterID string, opts *atlas.ListOptions) (*atlas.ContinuousSnapshots, error)

ContinuousSnapshots encapsulate the logic to manage different cloud providers.

func (*Store) CreateAgentAPIKey

func (s *Store) CreateAgentAPIKey(projectID string, r *opsmngr.AgentAPIKeysRequest) (*opsmngr.AgentAPIKey, error)

CreateAgentAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateAlertConfiguration

func (s *Store) CreateAlertConfiguration(alertConfig *atlas.AlertConfiguration) (*atlas.AlertConfiguration, error)

CreateAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) CreateAtlasOrganization

func (s *Store) CreateAtlasOrganization(o *atlas.CreateOrganizationRequest) (*atlas.CreateOrganizationResponse, error)

CreateAtlasOrganization encapsulate the logic to manage different cloud providers.

func (*Store) CreateBlockstore

func (s *Store) CreateBlockstore(blockstore *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

CreateBlockstore encapsulates 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) CreateContinuousRestoreJob

func (s *Store) CreateContinuousRestoreJob(projectID, clusterID string, request *atlas.ContinuousJobRequest) (*atlas.ContinuousJobs, error)

CreateContinuousRestoreJob encapsulate 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) 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) CreateFileSystems

CreateFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) CreateGlobalAPIKey

func (s *Store) CreateGlobalAPIKey(input *opsmngr.APIKeyInput) (*opsmngr.APIKey, error)

CreateGlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateGlobalAPIKeyWhitelist

func (s *Store) CreateGlobalAPIKeyWhitelist(opts *opsmngr.WhitelistAPIKeysReq) (*opsmngr.GlobalWhitelistAPIKey, error)

CreateGlobalAPIKeyWhitelist encapsulates 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

StartLiveMigrationCutover encapsulate the logic to manage different cloud providers.

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) CreateOplog

func (s *Store) CreateOplog(oplog *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

CreateOplog encapsulates the logic to manage different cloud providers.

func (*Store) CreateOpsManagerMaintenanceWindow

func (s *Store) CreateOpsManagerMaintenanceWindow(projectID string, maintenanceWindow *opsmngr.MaintenanceWindow) (*opsmngr.MaintenanceWindow, error)

CreateOpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganization

func (s *Store) CreateOrganization(name string) (*atlas.Organization, error)

CreateOrganization encapsulate the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKey

func (s *Store) CreateOrganizationAPIKey(orgID string, input *atlas.APIKeyInput) (*atlas.APIKey, error)

CreateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKeyAccessList

func (s *Store) CreateOrganizationAPIKeyAccessList(orgID, apiKeyID string, opts []*atlas.AccessListAPIKeysReq) (*atlas.AccessListAPIKeys, error)

CreateOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.

func (*Store) CreateOwner

func (s *Store) CreateOwner(u *opsmngr.User, ips []string) (*opsmngr.CreateUserResponse, error)

CreateOwner encapsulate the logic to manage different cloud providers.

func (*Store) CreatePeeringConnection

CreatePeeringConnection encapsulates the logic to manage different cloud providers.

func (*Store) CreatePrivateEndpoint

func (s *Store) CreatePrivateEndpoint(projectID string, r *atlasv2.CloudProviderEndpointServiceRequest) (interface{}, 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(name, orgID, regionUsageRestrictions string, defaultAlertSettings *bool, opts *atlas.CreateProjectOptions) (interface{}, error)

CreateProject encapsulates the logic to manage different cloud providers.

func (*Store) CreateProjectAPIKey

func (s *Store) CreateProjectAPIKey(projectID string, apiKeyInput *atlas.APIKeyInput) (*atlas.APIKey, 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) CreateS3Blockstores

func (s *Store) CreateS3Blockstores(blockstore *opsmngr.S3Blockstore) (*opsmngr.S3Blockstore, error)

CreateS3Blockstores encapsulates the logic to manage different cloud providers.

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) CreateSync

func (s *Store) CreateSync(sync *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

CreateSync encapsulates the logic to manage different cloud providers.

func (*Store) CreateTeam

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

CreateTeam encapsulates the logic to manage different cloud providers.

func (*Store) CreateUser

func (s *Store) CreateUser(user *UserRequest) (interface{}, 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) 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 *atlas.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)

CreateCloudProviderAccessRole 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) DeleteAgentAPIKey

func (s *Store) DeleteAgentAPIKey(projectID, keyID string) error

DeleteAgentAPIKey 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) DeleteBlockstore

func (s *Store) DeleteBlockstore(blockstoreID string) error

DeleteBlockstore encapsulates 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) DeleteCollectionJob

func (s *Store) DeleteCollectionJob(groupID, logID string) error

DeleteCollectionJob 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) 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) DeleteFileSystem

func (s *Store) DeleteFileSystem(fileSystemID string) error

DeleteFileSystem encapsulates the logic to manage different cloud providers.

func (*Store) DeleteGlobalAPIKey

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

DeleteGlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteGlobalAPIKeyWhitelist

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

DeleteGlobalAPIKeyWhitelist encapsulates 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) DeleteOplog

func (s *Store) DeleteOplog(oplogID string) error

DeleteOplog encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOpsManagerMaintenanceWindow

func (s *Store) DeleteOpsManagerMaintenanceWindow(projectID, maintenanceWindowID string) error

DeleteOpsManagerMaintenanceWindow encapsulates 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

DeletePrivateEndpoint 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) DeleteS3Blockstore

func (s *Store) DeleteS3Blockstore(blockstoreID string) error

DeleteS3Blockstores encapsulates 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) 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) DeleteSync

func (s *Store) DeleteSync(syncID string) error

DeleteSync encapsulates the logic to manage different cloud providers.

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) DeleteUser

func (s *Store) DeleteUser(userID string) error

DeleteUser encapsulates the logic to manage different cloud providers.

func (*Store) DeleteUserFromProject

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

DeleteProject encapsulates the logic to manage different cloud providers.

func (*Store) DescribeBlockstore

func (s *Store) DescribeBlockstore(blockstoreID string) (*opsmngr.BackupStore, error)

DescribeBlockstore encapsulates the logic to manage different cloud providers.

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) DescribeFileSystem

func (s *Store) DescribeFileSystem(fileSystemID string) (*opsmngr.FileSystemStoreConfiguration, error)

DescribeFileSystem 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) (*atlas.AlertConfiguration, error)

DisableAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) DisableCustomDNS

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

DisableCustomDNS encapsulates the logic to manage different cloud providers.

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) DownloadArchive

func (s *Store) DownloadArchive(groupID string, opts *opsmngr.DiagnosticsListOpts, out io.Writer) error

DownloadArchive encapsulate the logic to manage different cloud providers.

func (*Store) DownloadLog

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

DownloadLog encapsulates the logic to manage different cloud providers.

func (*Store) DownloadLogJob

func (s *Store) DownloadLogJob(groupID, jobID string, out io.Writer) error

DownloadLogJob encapsulate the logic to manage different cloud providers.

func (*Store) DownloadServerUsageReport

func (s *Store) DownloadServerUsageReport(opts *opsmngr.ServerTypeOptions, out io.Writer) error

DownloadServerUsageReport encapsulate the logic to manage different cloud providers.

func (*Store) EnableAlertConfiguration

func (s *Store) EnableAlertConfiguration(projectID, id string) (*atlas.AlertConfiguration, error)

EnableAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) EnableCustomDNS

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

EnableCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) EnablePerformanceAdvisorSlowOperationThreshold

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

EnablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.

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) FeatureControlPolicies

func (s *Store) FeatureControlPolicies(projectID string, opts *opsmngr.ListOptions) (*opsmngr.FeaturePolicy, error)

FeatureControlPolicies 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) GenerateSnapshot

func (s *Store) GenerateSnapshot() error

GenerateSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) GetAutomationConfig

func (s *Store) GetAutomationConfig(projectID string) (*opsmngr.AutomationConfig, error)

GetAutomationConfig encapsulate the logic to manage different cloud providers.

func (*Store) GetAutomationStatus

func (s *Store) GetAutomationStatus(projectID string) (*opsmngr.AutomationStatus, error)

func (*Store) GetBackupConfig

func (s *Store) GetBackupConfig(projectID, clusterID string) (*opsmngr.BackupConfig, error)

GetBackupConfig encapsulates 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) GetOplog

func (s *Store) GetOplog(oplogID string) (*opsmngr.BackupStore, error)

GetOplog encapsulates the logic to manage different cloud providers.

func (*Store) GetOrgProjects

func (s *Store) GetOrgProjects(orgID string, opts *atlas.ProjectsListOptions) (interface{}, error)

GetOrgProjects encapsulates the logic to manage different cloud providers.

func (*Store) GetS3Blockstore

func (s *Store) GetS3Blockstore(blockstoreID string) (*opsmngr.S3Blockstore, error)

ListS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) GetServerlessInstance

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

ServerlessInstance encapsulates the logic to manage different cloud providers.

func (*Store) GetSnapshotSchedule

func (s *Store) GetSnapshotSchedule(projectID, clusterID string) (*opsmngr.SnapshotSchedule, error)

GetSnapshotSchedule 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) GetSync

func (s *Store) GetSync(syncID string) (*opsmngr.BackupStore, error)

GetSync 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) GetVersionManifest

func (s *Store) GetVersionManifest(version string) (*opsmngr.VersionManifest, error)

GetVersionManifest encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKey

func (s *Store) GlobalAPIKey(apiKeyID string) (*opsmngr.APIKey, error)

GlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeyWhitelist

func (s *Store) GlobalAPIKeyWhitelist(id string) (*opsmngr.GlobalWhitelistAPIKey, error)

GlobalAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeyWhitelists

func (s *Store) GlobalAPIKeyWhitelists(opts *atlas.ListOptions) (*opsmngr.GlobalWhitelistAPIKeys, error)

GlobalAPIKeyWhitelists encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeys

func (s *Store) GlobalAPIKeys(opts *opsmngr.ListOptions) ([]opsmngr.APIKey, error)

GlobalAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAlerts

func (s *Store) GlobalAlerts(opts *atlas.AlertsListOptions) (*opsmngr.GlobalAlerts, error)

GlobalAlerts encapsulate the logic to manage different cloud providers.

func (*Store) GlobalCluster

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

func (*Store) Host

func (s *Store) Host(groupID, hostID string) (*opsmngr.Host, error)

Host encapsulate the logic to manage different cloud providers.

func (*Store) HostByHostname

func (s *Store) HostByHostname(groupID, hostname string, port int) (*opsmngr.Host, error)

HostByHostname encapsulate the logic to manage different cloud providers.

func (*Store) HostDatabaseMeasurements

func (s *Store) HostDatabaseMeasurements(groupID, hostID, databaseName string, opts *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDatabaseMeasurements, error)

HostDatabaseMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) HostDatabases

func (s *Store) HostDatabases(groupID, hostID string, opts *atlas.ListOptions) (*atlas.ProcessDatabasesResponse, error)

HostDatabases encapsulate the logic to manage different cloud providers.

func (*Store) HostDiskMeasurements

func (s *Store) HostDiskMeasurements(groupID, hostID, partitionName string, opts *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDiskMeasurements, error)

HostDiskMeasurements encapsulates the logic to manage different cloud providers.

func (*Store) HostDisks

func (s *Store) HostDisks(groupID, hostID string, opts *atlas.ListOptions) (*atlas.ProcessDisksResponse, error)

HostDisks encapsulate the logic to manage different cloud providers.

func (*Store) HostMeasurements

func (s *Store) HostMeasurements(groupID, host string, opts *atlas.ProcessMeasurementListOptions) (*atlas.ProcessMeasurements, error)

HostMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) Hosts

func (s *Store) Hosts(groupID string, opts *opsmngr.HostListOptions) (*opsmngr.Hosts, error)

Hosts encapsulate the logic to manage different cloud providers.

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) 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

func (s *Store) InviteUser(orgID string, invitation *atlas.Invitation) (interface{}, error)

InviteUser encapsulates the logic to manage different cloud providers.

func (*Store) InviteUserToProject

func (s *Store) InviteUserToProject(groupID string, invitation *atlas.Invitation) (*atlas.Invitation, error)

InviteUserToProject encapsulate the logic to manage different cloud providers.

func (*Store) ListAllProjectClusters

func (s *Store) ListAllProjectClusters() (*opsmngr.AllClustersProjects, error)

ListAllProjectClusters encapsulate the logic to manage different cloud providers.

func (*Store) ListBackupConfigs

func (s *Store) ListBackupConfigs(projectID string, options *opsmngr.ListOptions) (*opsmngr.BackupConfigs, error)

ListBackupConfigs encapsulates the logic to manage different cloud providers.

func (*Store) ListBlockstores

func (s *Store) ListBlockstores(options *opsmngr.ListOptions) (*opsmngr.BackupStores, error)

ListBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) ListFileSystems

func (s *Store) ListFileSystems(options *opsmngr.ListOptions) (*opsmngr.FileSystemStoreConfigurations, error)

ListFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) ListOplogs

func (s *Store) ListOplogs(options *opsmngr.ListOptions) (*opsmngr.BackupStores, error)

ListOplogs encapsulates the logic to manage different cloud providers.

func (*Store) ListS3Blockstores

func (s *Store) ListS3Blockstores(options *opsmngr.ListOptions) (*opsmngr.S3Blockstores, error)

ListS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) ListSyncs

func (s *Store) ListSyncs(options *opsmngr.ListOptions) (*opsmngr.BackupStores, error)

ListSyncs encapsulates 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) LogCollectionJobs

func (s *Store) LogCollectionJobs(groupID string, opts *opsmngr.LogListOptions) (*opsmngr.LogCollectionJobs, error)

LogCollectionJobs encapsulate 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) OpsManagerCluster

func (s *Store) OpsManagerCluster(projectID, name string) (*opsmngr.Cluster, error)

OpsManagerCluster encapsulates the logic to manage different cloud providers.

func (*Store) OpsManagerMaintenanceWindow

func (s *Store) OpsManagerMaintenanceWindow(projectID, maintenanceWindowID string) (*opsmngr.MaintenanceWindow, error)

OpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) OpsManagerMaintenanceWindows

func (s *Store) OpsManagerMaintenanceWindows(projectID string) (*opsmngr.MaintenanceWindows, error)

OpsManagerMaintenanceWindows encapsulates the logic to manage different cloud providers.

func (*Store) Organization

func (s *Store) Organization(id string) (interface{}, error)

Organization encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationAPIKey

func (s *Store) OrganizationAPIKey(orgID, apiKeyID string) (*atlas.APIKey, error)

OrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeyAccessLists

func (s *Store) OrganizationAPIKeyAccessLists(orgID, apiKeyID string, opts *atlas.ListOptions) (*atlas.AccessListAPIKeys, error)

OrganizationAPIKeyAccessLists encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeys

func (s *Store) OrganizationAPIKeys(orgID string, opts *atlas.ListOptions) ([]atlas.APIKey, error)

OrganizationAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationConnectionStatus

func (s *Store) OrganizationConnectionStatus(orgID string) (*opsmngr.ConnectionStatus, error)

OrganizationsLinkStatus encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationEvents

func (s *Store) OrganizationEvents(orgID string, opts *atlas.EventListOptions) (*atlas.EventResponse, error)

OrganizationEvents encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationHostAssignments

func (s *Store) OrganizationHostAssignments(orgID string, opts *opsmngr.ServerTypeOptions) (*opsmngr.HostAssignments, error)

OrganizationHostAssignments encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationInvitation

func (s *Store) OrganizationInvitation(orgID, invitationID string) (interface{}, error)

OrganizationInvitation encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationInvitations

func (s *Store) OrganizationInvitations(orgID string, opts *atlas.InvitationOptions) (interface{}, error)

OrganizationInvitations encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationServerType

func (s *Store) OrganizationServerType(orgID string) (*opsmngr.ServerType, error)

OrganizationServerType encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationUsers

func (s *Store) OrganizationUsers(organizationID string, opts *atlas.ListOptions) (interface{}, error)

OrganizationUsers encapsulates the logic to manage different cloud providers.

func (*Store) Organizations

func (s *Store) Organizations(opts *atlas.OrganizationsListOptions) (interface{}, error)

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)

PeeringConnections encapsulates the logic to manage different cloud providers.

func (*Store) PeeringConnections

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

PeeringConnections encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorIndexes

func (s *Store) PerformanceAdvisorIndexes(projectID, processName string, opts *atlas.SuggestedIndexOptions) (*atlas.SuggestedIndexes, error)

PerformanceAdvisorIndexes encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorNamespaces

func (s *Store) PerformanceAdvisorNamespaces(projectID, processName string, opts *atlas.NamespaceOptions) (*atlas.Namespaces, error)

PerformanceAdvisorNamespaces encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorSlowQueries

func (s *Store) PerformanceAdvisorSlowQueries(projectID, processName string, opts *atlas.SlowQueryOptions) (*atlas.SlowQueries, error)

PerformanceAdvisorSlowQueries 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) (interface{}, error)

Project encapsulates the logic to manage different cloud providers.

func (*Store) ProjectAPIKeys

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

ProjectAPIKeys returns the API Keys for a specific project.

func (*Store) ProjectByName

func (s *Store) ProjectByName(name string) (interface{}, error)

func (*Store) ProjectClusters

func (s *Store) ProjectClusters(projectID string, opts *atlas.ListOptions) (interface{}, error)

ProjectClusters encapsulate the logic to manage different cloud providers.

func (*Store) ProjectEvents

func (s *Store) ProjectEvents(projectID string, opts *atlas.EventListOptions) (*atlas.EventResponse, error)

ProjectEvents encapsulate the logic to manage different cloud providers.

func (*Store) ProjectHostAssignments

func (s *Store) ProjectHostAssignments(projectID string, opts *opsmngr.ServerTypeOptions) (*opsmngr.HostAssignments, error)

ProjectHostAssignments encapsulates the logic to manage different cloud providers.

func (*Store) ProjectIPAccessLists

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

ProjectIPAccessLists encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitation

func (s *Store) ProjectInvitation(groupID, invitationID string) (*atlas.Invitation, error)

ProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitations

func (s *Store) ProjectInvitations(groupID string, opts *atlas.InvitationOptions) ([]*atlas.Invitation, error)

ProjectInvitations encapsulate the logic to manage different cloud providers.

func (*Store) ProjectServerType

func (s *Store) ProjectServerType(projectID string) (*opsmngr.ServerType, error)

ProjectServerType encapsulates 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) (interface{}, error)

ProjectTeams encapsulates the logic to manage different cloud providers.

func (*Store) ProjectUsers

func (s *Store) ProjectUsers(projectID string, opts *atlas.ListOptions) (interface{}, error)

ProjectUsers lists all IAM users in a project.

func (*Store) Projects

func (s *Store) Projects(opts *atlas.ListOptions) (interface{}, 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) 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) 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) ServerlessInstance

func (s *Store) ServerlessInstance(projectID, clusterName string) (*atlas.Cluster, error)

Used by Kubernetes v1 ServerlessInstance encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessInstances

func (s *Store) ServerlessInstances(projectID string, listOps *atlas.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) ServiceVersion

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

ServiceVersion 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) StartMonitoring

func (s *Store) StartMonitoring(groupID string, host *opsmngr.Host) (*opsmngr.Host, error)

StartMonitoring encapsulates the logic to manage different cloud providers.

func (*Store) StopMonitoring

func (s *Store) StopMonitoring(groupID, hostID string) error

StopMonitoring encapsulates 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) (*atlas.Team, error)

TeamByID encapsulates the logic to manage different cloud providers.

func (*Store) TeamByName

func (s *Store) TeamByName(orgID, teamName string) (*atlas.Team, error)

TeamByName encapsulates the logic to manage different cloud providers.

func (*Store) TeamUsers

func (s *Store) TeamUsers(orgID, teamID string) (interface{}, error)

TeamUsers encapsulates the logic to manage different cloud providers.

func (*Store) Teams

func (s *Store) Teams(orgID string, opts *atlas.ListOptions) ([]atlas.Team, 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 *atlas.AlertConfiguration) (*atlas.AlertConfiguration, 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) UpdateAutomationConfig

func (s *Store) UpdateAutomationConfig(projectID string, automationConfig *opsmngr.AutomationConfig) error

UpdateAutomationConfig encapsulate the logic to manage different cloud providers.

func (*Store) UpdateBackupConfig

func (s *Store) UpdateBackupConfig(backupConfig *opsmngr.BackupConfig) (*opsmngr.BackupConfig, error)

UpdateBackupConfig encapsulates the logic to manage different cloud providers.

func (*Store) UpdateBlockstore

func (s *Store) UpdateBlockstore(blockstore *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

UpdateBlockstore encapsulates the logic to manage different cloud providers.

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) 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) 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) UpdateFeatureControlPolicy

func (s *Store) UpdateFeatureControlPolicy(projectID string, policy *opsmngr.FeaturePolicy) (*opsmngr.FeaturePolicy, error)

UpdateFeatureControlPolicy encapsulate the logic to manage different cloud providers.

func (*Store) UpdateFileSystems

UpdateFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) UpdateGlobalAPIKey

func (s *Store) UpdateGlobalAPIKey(apiKeyID string, input *atlas.APIKeyInput) (*opsmngr.APIKey, error)

UpdateGlobalAPIKey encapsulates 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) UpdateOplog

func (s *Store) UpdateOplog(oplogID string, oplog *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

UpdateOplog encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOpsManagerMaintenanceWindow

func (s *Store) UpdateOpsManagerMaintenanceWindow(projectID string, maintenanceWindow *opsmngr.MaintenanceWindow) (*opsmngr.MaintenanceWindow, error)

UpdateOpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationAPIKey

func (s *Store) UpdateOrganizationAPIKey(orgID, apiKeyID string, input *atlas.APIKeyInput) (*atlas.APIKey, error)

UpdateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationInvitation

func (s *Store) UpdateOrganizationInvitation(orgID, invitationID string, invitation *atlas.Invitation) (interface{}, error)

UpdateOrganizationInvitation encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationServerType

func (s *Store) UpdateOrganizationServerType(orgID string, serverType *opsmngr.ServerTypeRequest) error

UpdateOrganizationServerType encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProjectInvitation

func (s *Store) UpdateProjectInvitation(groupID, invitationID string, invitation *atlas.Invitation) (*atlas.Invitation, error)

UpdateProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) UpdateProjectServerType

func (s *Store) UpdateProjectServerType(projectID string, serverType *opsmngr.ServerTypeRequest) error

UpdateProjectServerType encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProjectSettings

func (s *Store) UpdateProjectSettings(projectID string, projectSettings *atlas.ProjectSettings) (*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 *atlas.TeamUpdateRoles) ([]atlas.TeamRoles, 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) UpdateS3Blockstores

func (s *Store) UpdateS3Blockstores(blockstoreID string, blockstore *opsmngr.S3Blockstore) (*opsmngr.S3Blockstore, error)

UpdateS3Blockstores 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) 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) UpdateSnapshotSchedule

func (s *Store) UpdateSnapshotSchedule(projectID, clusterID string, snapshotSchedule *opsmngr.SnapshotSchedule) (*opsmngr.SnapshotSchedule, error)

UpdateSnapshotSchedule encapsulates 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) UpdateSync

func (s *Store) UpdateSync(syncID string, sync *opsmngr.BackupStore) (*opsmngr.BackupStore, error)

UpdateSync encapsulates the logic to manage different cloud providers.

func (*Store) UpdateVersionManifest

func (s *Store) UpdateVersionManifest(versionManifest *opsmngr.VersionManifest) (*opsmngr.VersionManifest, error)

UpdateVersionManifest encapsulates the logic to manage different cloud providers.

func (*Store) UpgradeAgent

func (s *Store) UpgradeAgent(projectID string) (*opsmngr.AutomationConfigAgent, error)

UpgradeAgent encapsulates the logic to manage different cloud providers.

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) (interface{}, error)

UserByID encapsulates the logic to manage different cloud providers.

func (*Store) UserByName

func (s *Store) UserByName(username string) (interface{}, 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 StreamsLister

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

type StreamsUpdater

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

type SyncsCreator

type SyncsCreator interface {
	CreateSync(*opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type SyncsDeleter

type SyncsDeleter interface {
	DeleteSync(string) error
}

type SyncsDescriber

type SyncsDescriber interface {
	GetSync(string) (*opsmngr.BackupStore, error)
}

type SyncsLister

type SyncsLister interface {
	ListSyncs(*opsmngr.ListOptions) (*opsmngr.BackupStores, error)
}

type SyncsUpdater

type SyncsUpdater interface {
	UpdateSync(string, *opsmngr.BackupStore) (*opsmngr.BackupStore, error)
}

type TeamAdder

type TeamAdder interface {
	AddUsersToTeam(string, string, []string) (interface{}, error)
}

type TeamCreator

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

type TeamDeleter

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

type TeamDescriber

type TeamDescriber interface {
	TeamByID(string, string) (*atlas.Team, error)
	TeamByName(string, string) (*atlas.Team, error)
}

type TeamLister

type TeamLister interface {
	Teams(string, *atlas.ListOptions) ([]atlas.Team, error)
}

type TeamRolesUpdater

type TeamRolesUpdater interface {
	UpdateProjectTeamRoles(string, string, *atlas.TeamUpdateRoles) ([]atlas.TeamRoles, error)
}

type TeamUserLister

type TeamUserLister interface {
	TeamUsers(string, string) (interface{}, 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 TransportConfigGetter

type TransportConfigGetter interface {
	OpsManagerCACertificate() string
	OpsManagerSkipVerify() string
}

TransportConfigGetter interface for Ops Manager custom network settings.

type UnauthEventsSender

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

type UserCreator

type UserCreator interface {
	CreateUser(*UserRequest) (interface{}, error)
}

type UserDeleter

type UserDeleter interface {
	DeleteUser(string) error
}

type UserDescriber

type UserDescriber interface {
	UserByID(string) (interface{}, error)
	UserByName(string) (interface{}, error)
}

type UserLister

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

type UserRequest

type UserRequest struct {
	*opsmngr.User
	AtlasRoles []atlas.AtlasRole
}

type VersionManifestGetter

type VersionManifestGetter interface {
	GetVersionManifest(string) (*opsmngr.VersionManifest, error)
}

type VersionManifestUpdater

type VersionManifestUpdater interface {
	UpdateVersionManifest(*opsmngr.VersionManifest) (*opsmngr.VersionManifest, error)
}

type VersionManifestUpdaterServiceVersionDescriber

type VersionManifestUpdaterServiceVersionDescriber interface {
	VersionManifestUpdater
	ServiceVersionDescriber
}

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)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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