Documentation
¶
Index ¶
- func IPAddress() string
- type AWSPeeringConnectionCreator
- type AccessLogsLister
- type AccessLogsListerByClusterName
- type AccessLogsListerByHostname
- type AlertAcknowledger
- type AlertConfigurationCreator
- type AlertConfigurationDeleter
- type AlertConfigurationDescriber
- type AlertConfigurationDisabler
- type AlertConfigurationEnabler
- type AlertConfigurationLister
- type AlertConfigurationUpdater
- type AlertDescriber
- type AlertLister
- type AllClustersLister
- type AtlasClusterConfigurationOptionsDescriber
- type AtlasClusterConfigurationOptionsUpdater
- type AtlasClusterGetterUpdater
- type AtlasClusterQuickStarter
- type AtlasSharedClusterDescriber
- type AtlasSharedClusterGetterUpgrader
- type AuditingDescriber
- type AuditingUpdater
- type AuthenticatedConfig
- type AzurePeeringConnectionCreator
- type CloudProviderAccessRoleAuthorizer
- type CloudProviderAccessRoleCreator
- type CloudProviderAccessRoleDeauthorizer
- type CloudProviderAccessRoleLister
- type CloudProviderRegionsLister
- type ClusterCreator
- type ClusterDeleter
- type ClusterDescriber
- type ClusterLister
- type ClusterPauser
- type ClusterStarter
- type ClusterTester
- type ClusterUpdater
- type ClusterUpgrader
- type CompliancePolicyCopyProtectionDisabler
- type CompliancePolicyCopyProtectionEnabler
- type CompliancePolicyDescriber
- type CompliancePolicyEnabler
- type CompliancePolicyEncryptionAtRestDisabler
- type CompliancePolicyEncryptionAtRestEnabler
- type CompliancePolicyEncryptionAtRestUpdater
- type CompliancePolicyOnDemandPolicyCreator
- type CompliancePolicyPointInTimeRestoresEnabler
- type CompliancePolicyScheduledPolicyCreator
- type CompliancePolicyScheduledPolicyDeleter
- type CompliancePolicyScheduledPolicyUpdater
- type CompliancePolicyUpdater
- type ConnectedOrgConfigsDeleter
- type ConnectedOrgConfigsDescriber
- type ConnectedOrgConfigsLister
- type ConnectedOrgConfigsUpdater
- type ConnectionCreator
- type ConnectionDeleter
- type ConnectionUpdater
- type ContainersDeleter
- type ContainersListOptions
- type ContainersLister
- type CredentialsGetter
- type CustomDNSDescriber
- type CustomDNSDisabler
- type CustomDNSEnabler
- type DBUserCertificateCreator
- type DBUserCertificateLister
- type DataFederationCreator
- type DataFederationDeleter
- type DataFederationDescriber
- type DataFederationLister
- type DataFederationLogDownloader
- type DataFederationPrivateEndpointCreator
- type DataFederationPrivateEndpointDeleter
- type DataFederationPrivateEndpointDescriber
- type DataFederationPrivateEndpointLister
- type DataFederationQueryLimitCreator
- type DataFederationQueryLimitDeleter
- type DataFederationQueryLimitDescriber
- type DataFederationQueryLimitLister
- type DataFederationStore
- type DataFederationUpdater
- type DataLakeCreator
- type DataLakeDeleter
- type DataLakeDescriber
- type DataLakeLister
- type DataLakePrivateEndpointCreator
- type DataLakePrivateEndpointDeleter
- type DataLakePrivateEndpointDescriber
- type DataLakePrivateEndpointLister
- type DataLakeUpdater
- type DatabaseRoleCreator
- type DatabaseRoleDeleter
- type DatabaseRoleDescriber
- type DatabaseRoleLister
- type DatabaseRoleUpdater
- type DatabaseUserCreator
- type DatabaseUserDeleter
- type DatabaseUserDescriber
- type DatabaseUserLister
- type DatabaseUserUpdater
- type DefaultVersionGetter
- type EncryptionAtRestDescriber
- type EventLister
- type EventsSender
- type ExportBucketsCreator
- type ExportBucketsDeleter
- type ExportBucketsDescriber
- type ExportBucketsLister
- type ExportJobsCreator
- type ExportJobsDescriber
- type ExportJobsLister
- type FederationSettingsDescriber
- type GCPPeeringConnectionCreator
- type GlobalClusterDescriber
- type IPInfoDescriber
- type IdentityProviderCreator
- type IdentityProviderDeleter
- type IdentityProviderDescriber
- type IdentityProviderJwkRevoker
- type IdentityProviderLister
- type IdentityProviderUpdater
- type IndexCreator
- type IntegrationCreator
- type IntegrationDeleter
- type IntegrationDescriber
- type IntegrationLister
- type InterfaceEndpointCreator
- type InterfaceEndpointCreatorDeprecated
- type InterfaceEndpointDeleter
- type InterfaceEndpointDeleterDeprecated
- type InterfaceEndpointDescriber
- type InterfaceEndpointDescriberDeprecated
- type LDAPConfigurationDeleter
- type LDAPConfigurationDescriber
- type LDAPConfigurationGetter
- type LDAPConfigurationSaver
- type LDAPConfigurationVerifier
- type LinkTokenCreator
- type LinkTokenDeleter
- type LinkTokenStore
- type ListOptions
- type LiveMigrationCreator
- type LiveMigrationCutoverCreator
- type LiveMigrationDescriber
- type LiveMigrationValidationsCreator
- type LiveMigrationValidationsDescriber
- type LogsDownloader
- type MaintenanceWindowClearer
- type MaintenanceWindowDeferrer
- type MaintenanceWindowDescriber
- type MaintenanceWindowUpdater
- type MatcherFieldsLister
- type OnlineArchiveCreator
- type OnlineArchiveDeleter
- type OnlineArchiveDescriber
- type OnlineArchiveLister
- type OnlineArchiveUpdater
- type OperatorClusterStore
- type OperatorDBUsersStore
- type OperatorGenericStore
- type OperatorOrgStore
- type OperatorProjectStore
- type OperatorTeamsStore
- type Option
- func AuthenticatedPreset(c AuthenticatedConfig) Option
- func Options(opts ...Option) Option
- func Service(service string) Option
- func Telemetry() Option
- func UnauthenticatedPreset(c ServiceGetter) Option
- func WithAuthentication(c CredentialsGetter) Option
- func WithBaseURL(configURL string) Option
- func WithContext(ctx context.Context) Option
- type OrgProjectLister
- type OrganizationAPIKeyAccessListCreator
- type OrganizationAPIKeyAccessListDeleter
- type OrganizationAPIKeyAccessListLister
- type OrganizationAPIKeyCreator
- type OrganizationAPIKeyDeleter
- type OrganizationAPIKeyDescriber
- type OrganizationAPIKeyLister
- type OrganizationAPIKeyUpdater
- type OrganizationCreator
- type OrganizationDeleter
- type OrganizationDescriber
- type OrganizationEventLister
- type OrganizationInvitationDeleter
- type OrganizationInvitationDescriber
- type OrganizationInvitationLister
- type OrganizationInvitationUpdater
- type OrganizationInviter
- type OrganizationLister
- type PeeringConnectionCreator
- type PeeringConnectionDeleter
- type PeeringConnectionDescriber
- type PeeringConnectionLister
- type PerformanceAdvisorIndexesLister
- type PerformanceAdvisorNamespacesLister
- type PerformanceAdvisorSlowOperationThresholdDisabler
- type PerformanceAdvisorSlowOperationThresholdEnabler
- type PerformanceAdvisorSlowQueriesLister
- type PipelineAvailableSchedulesLister
- type PipelineAvailableSnapshotsLister
- type PipelineDatasetDeleter
- type PipelineRunsDescriber
- type PipelineRunsLister
- type PipelinesCreator
- type PipelinesDeleter
- type PipelinesDescriber
- type PipelinesLister
- type PipelinesPauser
- type PipelinesResumer
- type PipelinesTriggerer
- type PipelinesUpdater
- type PrivateEndpointCreator
- type PrivateEndpointCreatorDeprecated
- type PrivateEndpointDeleter
- type PrivateEndpointDeleterDeprecated
- type PrivateEndpointDescriber
- type PrivateEndpointDescriberDeprecated
- type PrivateEndpointLister
- type PrivateEndpointListerDeprecated
- type ProcessDatabaseLister
- type ProcessDatabaseMeasurementsLister
- type ProcessDescriber
- type ProcessDiskMeasurementsLister
- type ProcessDisksLister
- type ProcessLister
- type ProcessMeasurementLister
- type ProjectAPIKeyAssigner
- type ProjectAPIKeyCreator
- type ProjectAPIKeyDeleter
- type ProjectAPIKeyLister
- type ProjectCreator
- type ProjectDeleter
- type ProjectDescriber
- type ProjectEventLister
- type ProjectIPAccessListCreator
- type ProjectIPAccessListDeleter
- type ProjectIPAccessListDescriber
- type ProjectIPAccessListLister
- type ProjectInvitationDeleter
- type ProjectInvitationDescriber
- type ProjectInvitationLister
- type ProjectInvitationUpdater
- type ProjectInviter
- type ProjectLister
- type ProjectSettingsDescriber
- type ProjectSettingsUpdater
- type ProjectTeamAdder
- type ProjectTeamDeleter
- type ProjectTeamLister
- type ProjectUpdater
- type ProjectUserDeleter
- type ProjectUsersLister
- type RegionalizedPrivateEndpointSettingDescriber
- type RegionalizedPrivateEndpointSettingUpdater
- type RestoreJobsCreator
- type RestoreJobsDescriber
- type RestoreJobsLister
- type SampleDataAdder
- type SampleDataStatusDescriber
- type ScheduleDeleter
- type ScheduleDescriber
- type ScheduleDescriberUpdater
- type SearchIndexCreator
- type SearchIndexDeleter
- type SearchIndexDescriber
- type SearchIndexLister
- type SearchIndexUpdater
- type SearchNodesCreator
- type SearchNodesDeleter
- type SearchNodesLister
- type SearchNodesUpdater
- type ServerlessInstanceCreator
- type ServerlessInstanceDeleter
- type ServerlessInstanceDescriber
- type ServerlessInstanceLister
- type ServerlessInstanceUpdater
- type ServerlessPrivateEndpointsLister
- type ServerlessRestoreJobsCreator
- type ServerlessRestoreJobsDescriber
- type ServerlessRestoreJobsLister
- type ServerlessSnapshotsDescriber
- type ServerlessSnapshotsLister
- type ServiceGetter
- type SnapshotsCreator
- type SnapshotsDeleter
- type SnapshotsDescriber
- type SnapshotsLister
- type Store
- func (s *Store) AWSContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
- func (s *Store) AccessLogsByClusterName(groupID, clusterName string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
- func (s *Store) AccessLogsByHostname(groupID, hostname string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
- func (s *Store) AcknowledgeAlert(params *admin.AcknowledgeAlertApiParams) (*admin.AlertViewForNdsGroup, error)
- func (s *Store) AddSampleData(groupID, clusterName string) (*admin.SampleDatasetStatus, error)
- func (s *Store) AddTeamsToProject(projectID string, teams []atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
- func (s *Store) AddUsersToTeam(orgID, teamID string, users []atlasv2.AddUserToTeam) (*atlasv2.PaginatedApiAppUser, error)
- func (s *Store) Alert(params *admin.GetAlertApiParams) (*admin.AlertViewForNdsGroup, error)
- func (s *Store) AlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
- func (s *Store) AlertConfigurations(params *admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error)
- func (s *Store) Alerts(params *admin.ListAlertsApiParams) (*admin.PaginatedAlert, error)
- func (s *Store) AllContainers(projectID string, opts *atlas.ListOptions) ([]atlasv2.CloudProviderContainer, error)
- func (s *Store) AssignProjectAPIKey(projectID, apiKeyID string, input *atlasv2.UpdateAtlasProjectApiKey) error
- func (s *Store) AtlasCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)
- func (s *Store) AtlasClusterConfigurationOptions(projectID, name string) (*admin.ClusterDescriptionProcessArgs, error)
- func (s *Store) AtlasSharedCluster(projectID, name string) (*atlas.Cluster, error)
- func (s *Store) AtlasStream(projectID, name string) (*atlasv2.StreamsTenant, error)
- func (s *Store) Auditing(projectID string) (*atlasv2.AuditLog, error)
- func (s *Store) AuthorizeCloudProviderAccessRole(groupID, roleID string, req *atlas.CloudProviderAccessRoleRequest) (*atlasv2.CloudProviderAccessRole, error)
- func (s *Store) AzureContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
- func (s *Store) ClearMaintenanceWindow(projectID string) error
- func (s *Store) CloudProviderAccessRoles(groupID string) (*atlasv2.CloudProviderAccessRoles, error)
- func (s *Store) CloudProviderRegions(projectID, tier string, providerName []string) (*atlasv2.PaginatedApiAtlasProviderRegions, error)
- func (s *Store) ContainersByProvider(projectID string, opts *atlas.ContainersListOptions) ([]atlasv2.CloudProviderContainer, error)
- func (s *Store) CreateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
- func (s *Store) CreateAtlasOrganization(o *atlasv2.CreateOrganizationRequest) (*atlasv2.CreateOrganizationResponse, error)
- func (s *Store) CreateCloudProviderAccessRole(groupID, provider string) (*atlasv2.CloudProviderAccessRole, error)
- func (s *Store) CreateCluster(cluster *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
- func (s *Store) CreateConnection(projectID, tenantName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
- func (s *Store) CreateContainer(projectID string, container *atlasv2.CloudProviderContainer) (*atlasv2.CloudProviderContainer, error)
- func (s *Store) CreateDBUserCertificate(projectID, username string, monthsUntilExpiration int) (string, error)
- func (s *Store) CreateDataFederation(projectID string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
- func (s *Store) CreateDataFederationPrivateEndpoint(projectID string, opts *admin.PrivateNetworkEndpointIdEntry) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
- func (s *Store) CreateDataFederationQueryLimit(projectID, tenantName, limitName string, ...) (*admin.DataFederationTenantQueryLimit, error)
- func (s *Store) CreateDataLake(projectID string, dataLake *atlas.DataLakeCreateRequest) (*atlas.DataLake, error)
- func (s *Store) CreateDatabaseRole(groupID string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
- func (s *Store) CreateDatabaseUser(user *atlasv2.CloudDatabaseUser) (*atlasv2.CloudDatabaseUser, error)
- func (s *Store) CreateExportBucket(projectID string, bucket *atlasv2.DiskBackupSnapshotAWSExportBucket) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
- func (s *Store) CreateExportJob(projectID, clusterName string, job *atlasv2.DiskBackupExportJobRequest) (*atlasv2.DiskBackupExportJob, error)
- func (s *Store) CreateIdentityProvider(opts *atlasv2.CreateIdentityProviderApiParams) (*atlasv2.FederationOidcIdentityProvider, error)
- func (s *Store) CreateIndex(projectID, clusterName string, index *atlasv2.DatabaseRollingIndexRequest) error
- func (s *Store) CreateIntegration(projectID, integrationType string, integration *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error)
- func (s *Store) CreateInterfaceEndpoint(projectID, provider, endpointServiceID string, ...) (*atlasv2.PrivateLinkEndpoint, error)
- func (s *Store) CreateInterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
- func (s *Store) CreateLinkToken(orgID string, linkToken *atlasv2.TargetOrgRequest) (*atlasv2.TargetOrg, error)
- func (s *Store) CreateLiveMigrationCutover(groupID, liveMigrationID string) error
- func (s *Store) CreateOnDemandPolicy(projectID string, policy *atlasv2.BackupComplianceOnDemandPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) CreateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchiveCreate) (*atlasv2.BackupOnlineArchive, error)
- func (s *Store) CreateOrganizationAPIKey(orgID string, input *atlasv2.CreateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
- func (s *Store) CreateOrganizationAPIKeyAccessList(params *admin.CreateApiKeyAccessListApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
- func (s *Store) CreatePeeringConnection(projectID string, peer *atlasv2.BaseNetworkPeeringConnectionSettings) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)
- func (s *Store) CreatePipeline(projectID string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) CreatePrivateEndpoint(projectID string, r *atlasv2.CloudProviderEndpointServiceRequest) (*atlasv2.EndpointService, error)
- func (s *Store) CreatePrivateEndpointDeprecated(projectID string, r *atlas.PrivateEndpointConnectionDeprecated) (*atlas.PrivateEndpointConnectionDeprecated, error)
- func (s *Store) CreateProject(params *atlasv2.CreateProjectApiParams) (*atlasv2.Group, error)
- func (s *Store) CreateProjectAPIKey(projectID string, apiKeyInput *atlasv2.CreateAtlasProjectApiKey) (*atlasv2.ApiKeyUserDetails, error)
- func (s *Store) CreateProjectIPAccessList(entries []*atlasv2.NetworkPermissionEntry) (*atlasv2.PaginatedNetworkAccess, error)
- func (s *Store) CreateRestoreJobs(projectID, clusterName string, request *atlasv2.DiskBackupSnapshotRestoreJob) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
- func (s *Store) CreateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) CreateSearchIndexes(projectID, clusterName string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
- func (s *Store) CreateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)
- func (s *Store) CreateServerlessInstance(projectID string, cluster *atlasv2.ServerlessInstanceDescriptionCreate) (*atlasv2.ServerlessInstanceDescription, error)
- func (s *Store) CreateSnapshot(projectID, clusterName string, ...) (*atlasv2.DiskBackupSnapshot, error)
- func (s *Store) CreateStream(projectID string, processor *atlasv2.StreamsTenant) (*atlasv2.StreamsTenant, error)
- func (s *Store) CreateTeam(orgID string, team *atlasv2.Team) (*atlasv2.Team, error)
- func (s *Store) CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error)
- func (s *Store) CreateValidation(groupID string, liveMigration *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error)
- func (s *Store) DBUserCertificates(projectID, username string, opts *atlas.ListOptions) (*atlasv2.PaginatedUserCert, error)
- func (s *Store) DataFederation(projectID, id string) (*admin.DataLakeTenant, error)
- func (s *Store) DataFederationList(projectID string) ([]admin.DataLakeTenant, error)
- func (s *Store) DataFederationLogs(projectID, id string, startDate, endDate int64) (io.ReadCloser, error)
- func (s *Store) DataFederationPrivateEndpoint(projectID, id string) (*admin.PrivateNetworkEndpointIdEntry, error)
- func (s *Store) DataFederationPrivateEndpoints(projectID string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
- func (s *Store) DataFederationQueryLimit(projectID, tenantName, limitName string) (*admin.DataFederationTenantQueryLimit, error)
- func (s *Store) DataFederationQueryLimits(projectID, tenantName string) ([]admin.DataFederationTenantQueryLimit, error)
- func (s *Store) DataLake(projectID, name string) (*atlas.DataLake, error)
- func (s *Store) DataLakeCreatePrivateEndpoint(projectID string, r *atlasv2.PrivateNetworkEndpointIdEntry) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)
- func (s *Store) DataLakeDeletePrivateEndpoint(projectID, endpointID string) error
- func (s *Store) DataLakePrivateEndpoint(projectID, privateLinkID string) (*atlasv2.PrivateNetworkEndpointIdEntry, error)
- func (s *Store) DataLakePrivateEndpoints(params *atlasv2.ListDataFederationPrivateEndpointsApiParams) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)
- func (s *Store) DataLakes(projectID string) ([]atlas.DataLake, error)
- func (s *Store) DatabaseRole(groupID, roleName string) (*atlasv2.UserCustomDBRole, error)
- func (s *Store) DatabaseRoles(projectID string) ([]atlasv2.UserCustomDBRole, error)
- func (s *Store) DatabaseUser(authDB, groupID, username string) (*atlasv2.CloudDatabaseUser, error)
- func (s *Store) DatabaseUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error)
- func (s *Store) DeauthorizeCloudProviderAccessRoles(req *atlas.CloudProviderDeauthorizationRequest) error
- func (s *Store) DefaultMongoDBVersion() (string, error)
- func (s *Store) DeferMaintenanceWindow(projectID string) error
- func (s *Store) DeleteAlertConfiguration(projectID, id string) error
- func (s *Store) DeleteCluster(projectID, name string) error
- func (s *Store) DeleteConnectedOrgConfig(federationSettingsID string, orgID string) error
- func (s *Store) DeleteConnection(projectID, tenantName, connectionName string) error
- func (s *Store) DeleteContainer(projectID, containerID string) error
- func (s *Store) DeleteDataFederation(projectID, id string) error
- func (s *Store) DeleteDataFederationPrivateEndpoint(projectID, id string) error
- func (s *Store) DeleteDataFederationQueryLimit(projectID, tenantName, limitName string) error
- func (s *Store) DeleteDataLake(projectID, name string) error
- func (s *Store) DeleteDatabaseRole(groupID, roleName string) error
- func (s *Store) DeleteDatabaseUser(authDB, groupID, username string) error
- func (s *Store) DeleteExportBucket(projectID, bucketID string) error
- func (s *Store) DeleteIdentityProvider(federationSettingsID string, identityProviderID string) error
- func (s *Store) DeleteIntegration(projectID, integrationType string) error
- func (s *Store) DeleteInterfaceEndpoint(projectID, provider, endpointServiceID, privateEndpointID string) error
- func (s *Store) DeleteInterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) error
- func (s *Store) DeleteInvitation(orgID, invitationID string) error
- func (s *Store) DeleteLDAPConfiguration(projectID string) error
- func (s *Store) DeleteLinkToken(orgID string) error
- func (s *Store) DeleteOnlineArchive(projectID, clusterName, archiveID string) error
- func (s *Store) DeleteOrganization(id string) error
- func (s *Store) DeleteOrganizationAPIKey(orgID, id string) error
- func (s *Store) DeleteOrganizationAPIKeyAccessList(orgID, apiKeyID, ipAddress string) error
- func (s *Store) DeletePeeringConnection(projectID, peerID string) error
- func (s *Store) DeletePipeline(projectID, id string) error
- func (s *Store) DeletePipelineDataset(projectID, pipelineName, id string) error
- func (s *Store) DeletePrivateEndpoint(projectID, provider, privateLinkID string) error
- func (s *Store) DeletePrivateEndpointDeprecated(projectID, privateLinkID string) error
- func (s *Store) DeleteProject(projectID string) error
- func (s *Store) DeleteProjectAPIKey(projectID, id string) error
- func (s *Store) DeleteProjectIPAccessList(projectID, entry string) error
- func (s *Store) DeleteProjectInvitation(groupID, invitationID string) error
- func (s *Store) DeleteSchedule(projectID, clusterName string) error
- func (s *Store) DeleteScheduledPolicy(projectID, scheduledPolicyID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) DeleteSearchIndex(projectID, clusterName, indexID string) error
- func (s *Store) DeleteSearchNodes(projectID, clusterName string) error
- func (s *Store) DeleteServerlessInstance(projectID, name string) error
- func (s *Store) DeleteSnapshot(projectID, clusterName, snapshotID string) error
- func (s *Store) DeleteStream(projectID, name string) error
- func (s *Store) DeleteTeam(orgID, teamID string) error
- func (s *Store) DeleteTeamFromProject(projectID, teamID string) error
- func (s *Store) DeleteUserFromProject(projectID, userID string) error
- func (s *Store) DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) DescribeCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
- func (s *Store) DescribeExportBucket(projectID, bucketID string) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
- func (s *Store) DescribeSchedule(projectID, clusterName string) (*atlasv2.DiskBackupSnapshotSchedule, error)
- func (s *Store) DisableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
- func (s *Store) DisableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) DisableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
- func (s *Store) DisableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) DisablePerformanceAdvisorSlowOperationThreshold(projectID string) error
- func (s *Store) DisableX509Configuration(projectID string) error
- func (s *Store) DownloadAuditLog(request *atlasv2.DownloadStreamTenantAuditLogsApiParams) (io.ReadCloser, error)
- func (s *Store) DownloadLog(params *atlasv2.GetHostLogsApiParams) (io.ReadCloser, error)
- func (s *Store) EnableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
- func (s *Store) EnableCompliancePolicy(projectID, authorizedEmail, authorizedFirstName, authorizedLastName string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) EnableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) EnableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
- func (s *Store) EnableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) EnablePerformanceAdvisorSlowOperationThreshold(projectID string) error
- func (s *Store) EnablePointInTimeRestore(projectID string, restoreWindowDays int) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) EncryptionAtRest(projectID string) (*atlasv2.EncryptionAtRest, error)
- func (s *Store) ExportBuckets(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshotExportBucket, error)
- func (s *Store) ExportJob(projectID, clusterName, bucketID string) (*atlasv2.DiskBackupExportJob, error)
- func (s *Store) ExportJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasDiskBackupExportJob, error)
- func (s *Store) FederationSetting(opts *atlasv2.GetFederationSettingsApiParams) (*atlasv2.OrgFederationSettings, error)
- func (s *Store) GCPContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
- func (s *Store) GetConnectedOrgConfig(opts *atlasv2.GetConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
- func (s *Store) GetLDAPConfiguration(projectID string) (*atlasv2.UserSecurity, error)
- func (s *Store) GetOrgProjects(orgID string, opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
- func (s *Store) GetServerlessInstance(projectID, clusterName string) (*atlasv2.ServerlessInstanceDescription, error)
- func (s *Store) GetStatusLDAPConfiguration(projectID, requestID string) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
- func (s *Store) GetValidationStatus(groupID, liveMigrationID string) (*atlasv2.LiveImportValidation, error)
- func (s *Store) GlobalCluster(projectID, instanceName string) (*atlasv2.GeoSharding, error)
- func (s *Store) IPAccessList(projectID, name string) (*atlasv2.NetworkPermissionEntry, error)
- func (s *Store) IPInfo() (*atlas.IPInfo, error)
- func (s *Store) IdentityProvider(opts *atlasv2.GetIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
- func (s *Store) IdentityProviders(opts *atlasv2.ListIdentityProvidersApiParams) (*atlasv2.PaginatedFederationIdentityProvider, error)
- func (s *Store) Integration(projectID, integrationType string) (*atlasv2.ThirdPartyIntegration, error)
- func (s *Store) Integrations(projectID string) (*atlasv2.PaginatedIntegration, error)
- func (s *Store) InterfaceEndpoint(projectID, cloudProvider, endpointServiceID, privateEndpointID string) (*atlasv2.PrivateLinkEndpoint, error)
- func (s *Store) InterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
- func (s *Store) InviteUser(orgID string, invitation *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
- func (s *Store) InviteUserToProject(groupID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
- func (s *Store) ListConnectedOrgConfigs(opts *atlasv2.ListConnectedOrgConfigsApiParams) (*atlasv2.PaginatedConnectedOrgConfigs, error)
- func (s *Store) LiveMigrationCreate(groupID string, liveMigrationRequest *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error)
- func (s *Store) LiveMigrationDescribe(groupID, migrationID string) (*atlasv2.LiveMigrationResponse, error)
- func (s *Store) MaintenanceWindow(projectID string) (*atlasv2.GroupMaintenanceWindow, error)
- func (s *Store) MatcherFields() ([]string, error)
- func (s *Store) OnlineArchive(projectID, clusterName, archiveID string) (*atlasv2.BackupOnlineArchive, error)
- func (s *Store) OnlineArchives(projectID, clusterName string, lstOpt *atlas.ListOptions) (*atlasv2.PaginatedOnlineArchive, error)
- func (s *Store) Organization(id string) (*atlasv2.AtlasOrganization, error)
- func (s *Store) OrganizationAPIKey(orgID, apiKeyID string) (*atlasv2.ApiKeyUserDetails, error)
- func (s *Store) OrganizationAPIKeyAccessLists(params *admin.ListApiKeyAccessListsEntriesApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
- func (s *Store) OrganizationAPIKeys(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
- func (s *Store) OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error)
- func (s *Store) OrganizationInvitation(orgID, invitationID string) (*atlasv2.OrganizationInvitation, error)
- func (s *Store) OrganizationInvitations(params *atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error)
- func (s *Store) OrganizationUsers(organizationID string, opts *atlas.ListOptions) (*atlasv2.PaginatedAppUser, error)
- func (s *Store) Organizations(params *atlasv2.ListOrganizationsApiParams) (*atlasv2.PaginatedOrganization, error)
- func (s *Store) PauseCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)
- func (s *Store) PeeringConnection(projectID, peerID string) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)
- func (s *Store) PeeringConnections(projectID string, opts *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)
- func (s *Store) PerformanceAdvisorIndexes(opts *atlasv2.ListSuggestedIndexesApiParams) (*atlasv2.PerformanceAdvisorResponse, error)
- func (s *Store) PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error)
- func (s *Store) PerformanceAdvisorSlowQueries(opts *atlasv2.ListSlowQueriesApiParams) (*atlasv2.PerformanceAdvisorSlowQueryList, error)
- func (s *Store) Pipeline(projectID, id string) (*atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) PipelineAvailableSchedules(projectID, pipelineName string) ([]atlasv2.DiskBackupApiPolicyItem, error)
- func (s *Store) PipelineAvailableSnapshots(projectID, pipelineName string, completedAfter *time.Time, ...) (*atlasv2.PaginatedBackupSnapshot, error)
- func (s *Store) PipelinePause(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) PipelineResume(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) PipelineRun(projectID, pipelineName, id string) (*atlasv2.IngestionPipelineRun, error)
- func (s *Store) PipelineRuns(projectID, pipelineName string) (*atlasv2.PaginatedPipelineRun, error)
- func (s *Store) PipelineTrigger(projectID, pipelineName, snapshotID string) (*atlasv2.IngestionPipelineRun, error)
- func (s *Store) Pipelines(projectID string) ([]atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) PrivateEndpoint(projectID, provider, privateLinkID string) (*atlasv2.EndpointService, error)
- func (s *Store) PrivateEndpointDeprecated(projectID, privateLinkID string) (*atlas.PrivateEndpointConnectionDeprecated, error)
- func (s *Store) PrivateEndpoints(projectID, provider string) ([]atlasv2.EndpointService, error)
- func (s *Store) PrivateEndpointsDeprecated(projectID string, opts *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error)
- func (s *Store) Process(params *atlasv2.GetAtlasProcessApiParams) (*atlasv2.ApiHostViewAtlas, error)
- func (s *Store) ProcessDatabaseMeasurements(args *atlasv2.GetDatabaseMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
- func (s *Store) ProcessDatabases(groupID, host string, port int, opts *atlas.ListOptions) (*atlasv2.PaginatedDatabase, error)
- func (s *Store) ProcessDiskMeasurements(params *atlasv2.GetDiskMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
- func (s *Store) ProcessDisks(groupID, host string, port int, opts *atlas.ListOptions) (*atlasv2.PaginatedDiskPartition, error)
- func (s *Store) ProcessMeasurements(params *atlasv2.GetHostMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
- func (s *Store) Processes(params *atlasv2.ListAtlasProcessesApiParams) (*atlasv2.PaginatedHostViewAtlas, error)
- func (s *Store) Project(id string) (*atlasv2.Group, error)
- func (s *Store) ProjectAPIKeys(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
- func (s *Store) ProjectByName(name string) (*atlasv2.Group, error)
- func (s *Store) ProjectClusters(projectID string, opts *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error)
- func (s *Store) ProjectEvents(opts *admin.ListProjectEventsApiParams) (*admin.GroupPaginatedEvent, error)
- func (s *Store) ProjectIPAccessLists(projectID string, opts *ListOptions) (*atlasv2.PaginatedNetworkAccess, error)
- func (s *Store) ProjectInvitation(groupID, invitationID string) (*atlasv2.GroupInvitation, error)
- func (s *Store) ProjectInvitations(params *atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error)
- func (s *Store) ProjectSettings(projectID string) (*atlasv2.GroupSettings, error)
- func (s *Store) ProjectStreams(opts *atlasv2.ListStreamInstancesApiParams) (*atlasv2.PaginatedApiStreamsTenant, error)
- func (s *Store) ProjectTeams(projectID string, opts *ListOptions) (*atlasv2.PaginatedTeamRole, error)
- func (s *Store) ProjectUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedAppUser, error)
- func (s *Store) Projects(opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
- func (s *Store) RegionalizedPrivateEndpointSetting(projectID string) (*atlasv2.ProjectSettingItem, error)
- func (s *Store) RemoveUserFromTeam(orgID, teamID, userID string) error
- func (s *Store) RenameTeam(orgID, teamID string, team *atlasv2.TeamUpdate) (*atlasv2.TeamResponse, error)
- func (s *Store) RestoreJob(projectID, clusterName, jobID string) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
- func (s *Store) RestoreJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error)
- func (s *Store) RevokeJwksFromIdentityProvider(federationSettingsID string, identityProviderID string) error
- func (s *Store) SampleDataStatus(groupID, id string) (*admin.SampleDatasetStatus, error)
- func (s *Store) SaveLDAPConfiguration(projectID string, ldap *atlasv2.UserSecurity) (*atlasv2.UserSecurity, error)
- func (s *Store) SaveX509Configuration(projectID, certificate string) (*atlasv2.UserSecurity, error)
- func (s *Store) SearchIndex(projectID, clusterName, indexID string) (*atlasv2.ClusterSearchIndex, error)
- func (s *Store) SearchIndexes(projectID, clusterName, dbName, collName string) ([]atlasv2.ClusterSearchIndex, error)
- func (s *Store) SearchNodes(projectID, clusterName string) (*atlasv2.ApiSearchDeploymentResponse, error)
- func (s *Store) SendEvents(body interface{}) error
- func (s *Store) SendUnauthEvents(body interface{}) error
- func (s *Store) ServerlessCreateRestoreJobs(projectID, clusterName string, request *atlasv2.ServerlessBackupRestoreJob) (*atlasv2.ServerlessBackupRestoreJob, error)
- func (s *Store) ServerlessInstances(projectID string, listOps *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error)
- func (s *Store) ServerlessPrivateEndpoints(projectID, instanceName string) ([]atlasv2.ServerlessTenantEndpoint, error)
- func (s *Store) ServerlessRestoreJob(projectID, instanceName string, jobID string) (*atlasv2.ServerlessBackupRestoreJob, error)
- func (s *Store) ServerlessRestoreJobs(projectID, instanceName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupRestoreJob, error)
- func (s *Store) ServerlessSnapshot(projectID, instanceName, snapshotID string) (*atlasv2.ServerlessBackupSnapshot, error)
- func (s *Store) ServerlessSnapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error)
- func (s *Store) Snapshot(projectID, clusterName, snapshotID string) (*atlasv2.DiskBackupReplicaSet, error)
- func (s *Store) Snapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupReplicaSet, error)
- func (s *Store) StartCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)
- func (s *Store) StreamConnection(projectID, tenantName, connectionName string) (*atlasv2.StreamsConnection, error)
- func (s *Store) StreamsConnections(projectID, tenantName string) (*atlasv2.PaginatedApiStreamsConnection, error)
- func (s *Store) TeamByID(orgID, teamID string) (*atlasv2.TeamResponse, error)
- func (s *Store) TeamByName(orgID, teamName string) (*atlasv2.TeamResponse, error)
- func (s *Store) TeamUsers(orgID, teamID string) (*atlasv2.PaginatedApiAppUser, error)
- func (s *Store) Teams(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedTeam, error)
- func (s *Store) TestClusterFailover(projectID, clusterName string) error
- func (s *Store) UpdateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
- func (s *Store) UpdateAtlasClusterConfigurationOptions(projectID, clusterName string, args *admin.ClusterDescriptionProcessArgs) (*admin.ClusterDescriptionProcessArgs, error)
- func (s *Store) UpdateAuditingConfig(projectID string, r *atlasv2.AuditLog) (*atlasv2.AuditLog, error)
- func (s *Store) UpdateCluster(projectID, name string, cluster *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
- func (s *Store) UpdateCompliancePolicy(projectID string, opts *atlasv2.DataProtectionSettings20231001) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) UpdateConnectedOrgConfig(opts *atlasv2.UpdateConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
- func (s *Store) UpdateConnection(projectID, tenantName, connectionsName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
- func (s *Store) UpdateDataFederation(projectID, id string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
- func (s *Store) UpdateDataLake(projectID, name string, dataLake *atlas.DataLakeUpdateRequest) (*atlas.DataLake, error)
- func (s *Store) UpdateDatabaseRole(groupID, roleName string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
- func (s *Store) UpdateDatabaseUser(params *atlasv2.UpdateDatabaseUserApiParams) (*atlasv2.CloudDatabaseUser, error)
- func (s *Store) UpdateIdentityProvider(opts *atlasv2.UpdateIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
- func (s *Store) UpdateMaintenanceWindow(projectID string, maintenanceWindow *atlasv2.GroupMaintenanceWindow) error
- func (s *Store) UpdateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchive) (*atlasv2.BackupOnlineArchive, error)
- func (s *Store) UpdateOrganizationAPIKey(orgID, apiKeyID string, input *atlasv2.UpdateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
- func (s *Store) UpdateOrganizationInvitation(orgID, invitationID string, invitation *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
- func (s *Store) UpdatePipeline(projectID, id string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
- func (s *Store) UpdateProject(params *atlasv2.UpdateProjectApiParams) (*atlasv2.Group, error)
- func (s *Store) UpdateProjectInvitation(groupID, invitationID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
- func (s *Store) UpdateProjectSettings(projectID string, projectSettings *atlasv2.GroupSettings) (*atlasv2.GroupSettings, error)
- func (s *Store) UpdateProjectTeamRoles(projectID, teamID string, team *atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
- func (s *Store) UpdateRegionalizedPrivateEndpointSetting(projectID string, enabled bool) (*atlasv2.ProjectSettingItem, error)
- func (s *Store) UpdateSchedule(projectID, clusterName string, policy *atlasv2.DiskBackupSnapshotSchedule) (*atlasv2.DiskBackupSnapshotSchedule, error)
- func (s *Store) UpdateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
- func (s *Store) UpdateSearchIndexes(projectID, clusterName, indexID string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
- func (s *Store) UpdateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)
- func (s *Store) UpdateServerlessInstance(projectID string, instanceName string, ...) (*atlasv2.ServerlessInstanceDescription, error)
- func (s *Store) UpdateStream(projectID, name string, ...) (*atlasv2.StreamsTenant, error)
- func (s *Store) UpgradeCluster(projectID string, cluster *atlas.Cluster) (*atlas.Cluster, error)
- func (s *Store) UserByID(userID string) (*atlasv2.CloudAppUser, error)
- func (s *Store) UserByName(username string) (*atlasv2.CloudAppUser, error)
- func (s *Store) VerifyLDAPConfiguration(projectID string, ldap *atlasv2.LDAPVerifyConnectivityJobRequestParams) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
- func (s *Store) X509Configuration(projectID string) (*atlasv2.UserSecurity, error)
- type StreamsConnectionDescriber
- type StreamsConnectionLister
- type StreamsCreator
- type StreamsDeleter
- type StreamsDescriber
- type StreamsDownloader
- type StreamsLister
- type StreamsUpdater
- type TeamAdder
- type TeamCreator
- type TeamDeleter
- type TeamDescriber
- type TeamLister
- type TeamRenamer
- type TeamRolesUpdater
- type TeamUserLister
- type TeamUserRemover
- type Transport
- type UnauthEventsSender
- type UserCreator
- type UserDescriber
- type UserLister
- type X509CertificateConfDescriber
- type X509CertificateConfDisabler
- type X509CertificateConfSaver
- type X509CertificateStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWSPeeringConnectionCreator ¶
type AWSPeeringConnectionCreator interface { AWSContainers(string) ([]atlasv2.CloudProviderContainer, error) PeeringConnectionCreator }
type AccessLogsLister ¶
type AccessLogsLister interface { AccessLogsByHostname(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error) AccessLogsByClusterName(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error) }
type AccessLogsListerByClusterName ¶
type AccessLogsListerByClusterName interface {
AccessLogsByClusterName(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
}
type AccessLogsListerByHostname ¶
type AccessLogsListerByHostname interface {
AccessLogsByHostname(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
}
type AlertAcknowledger ¶
type AlertAcknowledger interface {
AcknowledgeAlert(*admin.AcknowledgeAlertApiParams) (*admin.AlertViewForNdsGroup, error)
}
type AlertConfigurationCreator ¶
type AlertConfigurationCreator interface {
CreateAlertConfiguration(*admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
}
type AlertConfigurationDescriber ¶
type AlertConfigurationDescriber interface {
AlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}
type AlertConfigurationDisabler ¶
type AlertConfigurationDisabler interface {
DisableAlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}
type AlertConfigurationEnabler ¶
type AlertConfigurationEnabler interface {
EnableAlertConfiguration(string, string) (*admin.GroupAlertsConfig, error)
}
type AlertConfigurationLister ¶
type AlertConfigurationLister interface {
AlertConfigurations(*admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error)
}
type AlertConfigurationUpdater ¶
type AlertConfigurationUpdater interface {
UpdateAlertConfiguration(*admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
}
type AlertDescriber ¶
type AlertDescriber interface {
Alert(*admin.GetAlertApiParams) (*admin.AlertViewForNdsGroup, error)
}
type AlertLister ¶
type AlertLister interface {
Alerts(*admin.ListAlertsApiParams) (*admin.PaginatedAlert, error)
}
type AllClustersLister ¶
type AllClustersLister interface { ClusterLister ServerlessInstanceLister }
type AtlasClusterConfigurationOptionsDescriber ¶
type AtlasClusterConfigurationOptionsDescriber interface {
AtlasClusterConfigurationOptions(string, string) (*admin.ClusterDescriptionProcessArgs, error)
}
type AtlasClusterConfigurationOptionsUpdater ¶
type AtlasClusterConfigurationOptionsUpdater interface {
UpdateAtlasClusterConfigurationOptions(string, string, *admin.ClusterDescriptionProcessArgs) (*admin.ClusterDescriptionProcessArgs, error)
}
type AtlasClusterGetterUpdater ¶
type AtlasClusterGetterUpdater interface { ClusterDescriber ClusterUpdater }
type AtlasClusterQuickStarter ¶
type AtlasClusterQuickStarter interface { SampleDataAdder SampleDataStatusDescriber CloudProviderRegionsLister ClusterLister DatabaseUserCreator DatabaseUserDescriber ProjectIPAccessListCreator ClusterDescriber ClusterCreator }
type AtlasSharedClusterDescriber ¶
type AtlasSharedClusterDescriber interface {
}type AtlasSharedClusterGetterUpgrader ¶
type AtlasSharedClusterGetterUpgrader interface { AtlasSharedClusterDescriber ClusterUpgrader }
type AuditingDescriber ¶
type AuditingUpdater ¶
type AuthenticatedConfig ¶
type AuthenticatedConfig interface { CredentialsGetter ServiceGetter }
AuthenticatedConfig an interface of the methods needed to set up a Store.
type AzurePeeringConnectionCreator ¶
type AzurePeeringConnectionCreator interface { AzureContainers(string) ([]atlasv2.CloudProviderContainer, error) PeeringConnectionCreator }
type CloudProviderAccessRoleAuthorizer ¶
type CloudProviderAccessRoleAuthorizer interface {
AuthorizeCloudProviderAccessRole(string, string, *atlas.CloudProviderAccessRoleRequest) (*atlasv2.CloudProviderAccessRole, error)
}
CloudProviderAccessRoleAuthorizer encapsulates the logic to manage different cloud providers.
type CloudProviderAccessRoleCreator ¶
type CloudProviderAccessRoleCreator interface {
CreateCloudProviderAccessRole(string, string) (*atlasv2.CloudProviderAccessRole, error)
}
type CloudProviderAccessRoleDeauthorizer ¶
type CloudProviderAccessRoleDeauthorizer interface {
}type CloudProviderAccessRoleLister ¶
type CloudProviderAccessRoleLister interface {
CloudProviderAccessRoles(string) (*atlasv2.CloudProviderAccessRoles, error)
}
type ClusterCreator ¶
type ClusterCreator interface {
CreateCluster(v15 *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
}
type ClusterDeleter ¶
type ClusterDescriber ¶
type ClusterDescriber interface {
AtlasCluster(string, string) (*admin.AdvancedClusterDescription, error)
}
type ClusterLister ¶
type ClusterLister interface {
ProjectClusters(string, *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error)
}
type ClusterPauser ¶
type ClusterPauser interface {
PauseCluster(string, string) (*admin.AdvancedClusterDescription, error)
}
type ClusterStarter ¶
type ClusterStarter interface {
StartCluster(string, string) (*admin.AdvancedClusterDescription, error)
}
type ClusterTester ¶
type ClusterUpdater ¶
type ClusterUpdater interface {
UpdateCluster(string, string, *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
}
type ClusterUpgrader ¶
type CompliancePolicyCopyProtectionDisabler ¶
type CompliancePolicyCopyProtectionDisabler interface { DisableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyCopyProtectionEnabler ¶
type CompliancePolicyCopyProtectionEnabler interface { EnableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyDescriber ¶
type CompliancePolicyDescriber interface {
DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
}
type CompliancePolicyEnabler ¶
type CompliancePolicyEnabler interface { EnableCompliancePolicy(projectID, authorizedEmail, authorizedFirstName, authorizedLastName string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyEncryptionAtRestDisabler ¶
type CompliancePolicyEncryptionAtRestDisabler interface { DisableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyEncryptionAtRestEnabler ¶
type CompliancePolicyEncryptionAtRestEnabler interface { EnableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyEncryptionAtRestUpdater ¶
type CompliancePolicyEncryptionAtRestUpdater interface {
UpdateEncryptionAtRest(projectID string, enable bool) (*atlasv2.DataProtectionSettings20231001, error)
}
type CompliancePolicyOnDemandPolicyCreator ¶
type CompliancePolicyOnDemandPolicyCreator interface { CreateOnDemandPolicy(projectID string, policy *atlasv2.BackupComplianceOnDemandPolicyItem) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyPointInTimeRestoresEnabler ¶
type CompliancePolicyPointInTimeRestoresEnabler interface { EnablePointInTimeRestore(projectID string, restoreWindowDays int) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyScheduledPolicyCreator ¶
type CompliancePolicyScheduledPolicyCreator interface { CreateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyScheduledPolicyDeleter ¶
type CompliancePolicyScheduledPolicyDeleter interface { DeleteScheduledPolicy(projectID, scheduledPolicyID string) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyScheduledPolicyUpdater ¶
type CompliancePolicyScheduledPolicyUpdater interface { UpdateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error) CompliancePolicyDescriber }
type CompliancePolicyUpdater ¶
type CompliancePolicyUpdater interface { CompliancePolicyDescriber UpdateCompliancePolicy(projectID string, opts *atlasv2.DataProtectionSettings20231001) (*atlasv2.DataProtectionSettings20231001, error) }
type ConnectedOrgConfigsDescriber ¶
type ConnectedOrgConfigsDescriber interface {
GetConnectedOrgConfig(opts *atlasv2.GetConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
}
type ConnectedOrgConfigsLister ¶
type ConnectedOrgConfigsLister interface {
ListConnectedOrgConfigs(opts *atlasv2.ListConnectedOrgConfigsApiParams) (*atlasv2.PaginatedConnectedOrgConfigs, error)
}
type ConnectedOrgConfigsUpdater ¶
type ConnectedOrgConfigsUpdater interface {
UpdateConnectedOrgConfig(opts *atlasv2.UpdateConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
}
type ConnectionCreator ¶
type ConnectionCreator interface {
CreateConnection(string, string, *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
}
type ConnectionDeleter ¶
type ConnectionUpdater ¶
type ConnectionUpdater interface {
UpdateConnection(string, string, string, *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
}
type ContainersDeleter ¶
type ContainersListOptions ¶
type ContainersListOptions struct { ListOptions ProviderName string }
type ContainersLister ¶
type ContainersLister interface { ContainersByProvider(string, *atlas.ContainersListOptions) ([]atlasv2.CloudProviderContainer, error) AllContainers(string, *atlas.ListOptions) ([]atlasv2.CloudProviderContainer, error) }
type CredentialsGetter ¶
type CredentialsGetter interface { PublicAPIKey() string PrivateAPIKey() string Token() (*atlasauth.Token, error) AuthType() config.AuthMechanism }
CredentialsGetter interface for how to get credentials when Store must be authenticated.
type CustomDNSDescriber ¶
type CustomDNSDescriber interface {
DescribeCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}
type CustomDNSDisabler ¶
type CustomDNSDisabler interface {
DisableCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}
type CustomDNSEnabler ¶
type CustomDNSEnabler interface {
EnableCustomDNS(string) (*atlasv2.AWSCustomDNSEnabled, error)
}
type DBUserCertificateLister ¶
type DBUserCertificateLister interface {
DBUserCertificates(string, string, *atlas.ListOptions) (*atlasv2.PaginatedUserCert, error)
}
type DataFederationCreator ¶
type DataFederationCreator interface {
CreateDataFederation(string, *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
}
type DataFederationDeleter ¶
type DataFederationDescriber ¶
type DataFederationDescriber interface {
DataFederation(string, string) (*admin.DataLakeTenant, error)
}
type DataFederationLister ¶
type DataFederationLister interface {
DataFederationList(string) ([]admin.DataLakeTenant, error)
}
type DataFederationPrivateEndpointCreator ¶
type DataFederationPrivateEndpointCreator interface {
CreateDataFederationPrivateEndpoint(string, *admin.PrivateNetworkEndpointIdEntry) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
}
type DataFederationPrivateEndpointDescriber ¶
type DataFederationPrivateEndpointDescriber interface {
DataFederationPrivateEndpoint(string, string) (*admin.PrivateNetworkEndpointIdEntry, error)
}
type DataFederationPrivateEndpointLister ¶
type DataFederationPrivateEndpointLister interface {
DataFederationPrivateEndpoints(string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
}
type DataFederationQueryLimitCreator ¶
type DataFederationQueryLimitCreator interface {
CreateDataFederationQueryLimit(string, string, string, *admin.DataFederationTenantQueryLimit) (*admin.DataFederationTenantQueryLimit, error)
}
type DataFederationQueryLimitLister ¶
type DataFederationQueryLimitLister interface {
DataFederationQueryLimits(string, string) ([]admin.DataFederationTenantQueryLimit, error)
}
type DataFederationStore ¶
type DataFederationStore interface { DataFederationLister DataFederationDescriber }
type DataFederationUpdater ¶
type DataFederationUpdater interface {
UpdateDataFederation(string, string, *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
}
type DataLakeCreator ¶
type DataLakeDeleter ¶
type DataLakeDescriber ¶
type DataLakePrivateEndpointCreator ¶
type DataLakePrivateEndpointCreator interface {
DataLakeCreatePrivateEndpoint(string, *atlasv2.PrivateNetworkEndpointIdEntry) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, 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 DatabaseRoleCreator ¶
type DatabaseRoleCreator interface {
CreateDatabaseRole(string, *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
}
type DatabaseRoleDeleter ¶
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 DatabaseUserDescriber ¶
type DatabaseUserLister ¶
type DatabaseUserLister interface {
DatabaseUsers(groupID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error)
}
type DatabaseUserUpdater ¶
type DatabaseUserUpdater interface {
UpdateDatabaseUser(*atlasv2.UpdateDatabaseUserApiParams) (*atlasv2.CloudDatabaseUser, error)
}
type DefaultVersionGetter ¶
type 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 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 ExportJobsLister ¶
type ExportJobsLister interface {
ExportJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasDiskBackupExportJob, error)
}
type FederationSettingsDescriber ¶
type FederationSettingsDescriber interface {
FederationSetting(opts *atlasv2.GetFederationSettingsApiParams) (*atlasv2.OrgFederationSettings, error)
}
type GCPPeeringConnectionCreator ¶
type GCPPeeringConnectionCreator interface { GCPContainers(string) ([]atlasv2.CloudProviderContainer, error) PeeringConnectionCreator }
type GlobalClusterDescriber ¶
type GlobalClusterDescriber interface {
GlobalCluster(string, string) (*atlasv2.GeoSharding, error)
}
type IPInfoDescriber ¶
type IdentityProviderCreator ¶
type IdentityProviderCreator interface {
CreateIdentityProvider(*atlasv2.CreateIdentityProviderApiParams) (*atlasv2.FederationOidcIdentityProvider, error)
}
type IdentityProviderDeleter ¶
type IdentityProviderDescriber ¶
type IdentityProviderDescriber interface {
IdentityProvider(opts *atlasv2.GetIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
}
type IdentityProviderLister ¶
type IdentityProviderLister interface {
IdentityProviders(opts *atlasv2.ListIdentityProvidersApiParams) (*atlasv2.PaginatedFederationIdentityProvider, error)
}
type IdentityProviderUpdater ¶
type IdentityProviderUpdater interface {
UpdateIdentityProvider(opts *atlasv2.UpdateIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
}
type IndexCreator ¶
type IndexCreator interface {
CreateIndex(string, string, *atlasv2.DatabaseRollingIndexRequest) error
}
type IntegrationCreator ¶
type IntegrationCreator interface {
CreateIntegration(string, string, *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error)
}
type IntegrationDeleter ¶
type 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 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 LinkTokenDeleter ¶
type LinkTokenStore ¶
type LinkTokenStore interface { LinkTokenCreator LinkTokenDeleter }
type ListOptions ¶
type LiveMigrationCreator ¶
type LiveMigrationCreator interface {
LiveMigrationCreate(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error)
}
type LiveMigrationDescriber ¶
type LiveMigrationDescriber interface {
LiveMigrationDescribe(string, string) (*atlasv2.LiveMigrationResponse, error)
}
type LiveMigrationValidationsCreator ¶
type LiveMigrationValidationsCreator interface {
CreateValidation(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error)
}
type LiveMigrationValidationsDescriber ¶
type LiveMigrationValidationsDescriber interface {
GetValidationStatus(string, string) (*atlasv2.LiveImportValidation, error)
}
type LogsDownloader ¶
type LogsDownloader interface {
DownloadLog(*atlasv2.GetHostLogsApiParams) (io.ReadCloser, error)
}
type MaintenanceWindowDescriber ¶
type MaintenanceWindowDescriber interface {
MaintenanceWindow(string) (*atlasv2.GroupMaintenanceWindow, error)
}
type MaintenanceWindowUpdater ¶
type MaintenanceWindowUpdater interface {
UpdateMaintenanceWindow(string, *atlasv2.GroupMaintenanceWindow) error
}
type MatcherFieldsLister ¶
type OnlineArchiveCreator ¶
type OnlineArchiveCreator interface {
CreateOnlineArchive(string, string, *atlasv2.BackupOnlineArchiveCreate) (*atlasv2.BackupOnlineArchive, error)
}
type OnlineArchiveDeleter ¶
type OnlineArchiveDescriber ¶
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 OperatorClusterStore ¶
type OperatorClusterStore interface { AllClustersLister ClusterDescriber AtlasClusterConfigurationOptionsDescriber ScheduleDescriber ServerlessInstanceDescriber ServerlessPrivateEndpointsLister GlobalClusterDescriber }
type OperatorDBUsersStore ¶
type OperatorDBUsersStore interface { DatabaseUserLister }
type OperatorGenericStore ¶
type OperatorGenericStore interface { OperatorOrgStore OperatorProjectStore OperatorClusterStore OperatorDBUsersStore DataFederationStore }
type OperatorOrgStore ¶
type OperatorOrgStore interface { OrganizationAPIKeyCreator ProjectAPIKeyAssigner }
type OperatorProjectStore ¶
type OperatorProjectStore interface { OperatorTeamsStore ProjectDescriber ProjectCreator ProjectLister OrgProjectLister ProjectIPAccessListLister ProjectSettingsDescriber IntegrationLister MaintenanceWindowDescriber PrivateEndpointLister CloudProviderAccessRoleLister PeeringConnectionLister EncryptionAtRestDescriber AuditingDescriber AlertConfigurationLister DatabaseRoleLister ProjectAPIKeyCreator }
type OperatorTeamsStore ¶
type OperatorTeamsStore interface { TeamDescriber ProjectTeamLister TeamUserLister }
type Option ¶
Option is any configuration for Store. New will take a list of Option and process them sequentially. The store package provides a list of pointers and preset set of Option you can use but you can implement your own.
func AuthenticatedPreset ¶
func AuthenticatedPreset(c AuthenticatedConfig) Option
AuthenticatedPreset is the default Option when connecting to the public API with authentication.
func Options ¶
Options turns a list of Option instances into a single Option. This is a helper when combining multiple Option.
func Service ¶
Service configures the Store service, valid options are cloud, cloud-manager, and ops-manager.
func UnauthenticatedPreset ¶
func UnauthenticatedPreset(c ServiceGetter) Option
UnauthenticatedPreset is the default Option when connecting to the public API without authentication.
func WithAuthentication ¶
func WithAuthentication(c CredentialsGetter) Option
WithAuthentication sets the store credentials.
func WithBaseURL ¶
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.
type OrgProjectLister ¶
type OrgProjectLister interface { ProjectLister GetOrgProjects(string, *ListOptions) (*atlasv2.PaginatedAtlasGroup, error) }
type OrganizationAPIKeyAccessListCreator ¶
type OrganizationAPIKeyAccessListCreator interface {
CreateOrganizationAPIKeyAccessList(*admin.CreateApiKeyAccessListApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
}
type OrganizationAPIKeyAccessListLister ¶
type OrganizationAPIKeyAccessListLister interface {
OrganizationAPIKeyAccessLists(*admin.ListApiKeyAccessListsEntriesApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
}
type OrganizationAPIKeyCreator ¶
type OrganizationAPIKeyCreator interface {
CreateOrganizationAPIKey(string, *atlasv2.CreateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
}
type OrganizationAPIKeyDescriber ¶
type OrganizationAPIKeyDescriber interface {
OrganizationAPIKey(string, string) (*atlasv2.ApiKeyUserDetails, error)
}
type OrganizationAPIKeyLister ¶
type OrganizationAPIKeyLister interface {
OrganizationAPIKeys(string, *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
}
type OrganizationAPIKeyUpdater ¶
type OrganizationAPIKeyUpdater interface {
UpdateOrganizationAPIKey(string, string, *atlasv2.UpdateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
}
type OrganizationCreator ¶
type OrganizationCreator interface {
CreateAtlasOrganization(*atlasv2.CreateOrganizationRequest) (*atlasv2.CreateOrganizationResponse, error)
}
type OrganizationDeleter ¶
type OrganizationDescriber ¶
type OrganizationDescriber interface {
Organization(string) (*atlasv2.AtlasOrganization, error)
}
type OrganizationEventLister ¶
type OrganizationEventLister interface {
OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error)
}
type OrganizationInvitationDescriber ¶
type OrganizationInvitationDescriber interface {
OrganizationInvitation(string, string) (*atlasv2.OrganizationInvitation, error)
}
type OrganizationInvitationLister ¶
type OrganizationInvitationLister interface {
OrganizationInvitations(*atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error)
}
type OrganizationInvitationUpdater ¶
type OrganizationInvitationUpdater interface {
UpdateOrganizationInvitation(string, string, *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
}
type OrganizationInviter ¶
type OrganizationInviter interface {
InviteUser(string, *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
}
type OrganizationLister ¶
type OrganizationLister interface {
Organizations(*atlasv2.ListOrganizationsApiParams) (*atlasv2.PaginatedOrganization, error)
}
type PeeringConnectionCreator ¶
type PeeringConnectionCreator interface { CreateContainer(string, *atlasv2.CloudProviderContainer) (*atlasv2.CloudProviderContainer, error) CreatePeeringConnection(string, *atlasv2.BaseNetworkPeeringConnectionSettings) (*atlasv2.BaseNetworkPeeringConnectionSettings, error) }
type PeeringConnectionDescriber ¶
type PeeringConnectionDescriber interface {
PeeringConnection(string, string) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)
}
type PeeringConnectionLister ¶
type PeeringConnectionLister interface {
PeeringConnections(string, *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)
}
type PerformanceAdvisorIndexesLister ¶
type PerformanceAdvisorIndexesLister interface {
PerformanceAdvisorIndexes(*atlasv2.ListSuggestedIndexesApiParams) (*atlasv2.PerformanceAdvisorResponse, error)
}
type PerformanceAdvisorNamespacesLister ¶
type PerformanceAdvisorNamespacesLister interface {
PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error)
}
type PerformanceAdvisorSlowQueriesLister ¶
type PerformanceAdvisorSlowQueriesLister interface {
PerformanceAdvisorSlowQueries(*atlasv2.ListSlowQueriesApiParams) (*atlasv2.PerformanceAdvisorSlowQueryList, error)
}
type PipelineAvailableSchedulesLister ¶
type PipelineAvailableSchedulesLister interface {
PipelineAvailableSchedules(string, string) ([]atlasv2.DiskBackupApiPolicyItem, error)
}
type PipelineAvailableSnapshotsLister ¶
type PipelineAvailableSnapshotsLister interface {
PipelineAvailableSnapshots(string, string, *time.Time, *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshot, error)
}
type PipelineDatasetDeleter ¶
type PipelineRunsDescriber ¶
type PipelineRunsLister ¶
type PipelineRunsLister interface {
PipelineRuns(string, string) (*atlasv2.PaginatedPipelineRun, error)
}
type PipelinesCreator ¶
type PipelinesCreator interface {
CreatePipeline(string, atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
}
type PipelinesDeleter ¶
type PipelinesDescriber ¶
type PipelinesDescriber interface {
Pipeline(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}
type PipelinesLister ¶
type PipelinesLister interface {
Pipelines(string) ([]atlasv2.DataLakeIngestionPipeline, error)
}
type PipelinesPauser ¶
type PipelinesPauser interface {
PipelinePause(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}
type PipelinesResumer ¶
type PipelinesResumer interface {
PipelineResume(string, string) (*atlasv2.DataLakeIngestionPipeline, error)
}
type PipelinesTriggerer ¶
type PipelinesUpdater ¶
type PipelinesUpdater interface {
UpdatePipeline(string, string, atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
}
type PrivateEndpointCreator ¶
type PrivateEndpointCreator interface {
CreatePrivateEndpoint(string, *atlasv2.CloudProviderEndpointServiceRequest) (*atlasv2.EndpointService, error)
}
type PrivateEndpointCreatorDeprecated ¶
type PrivateEndpointCreatorDeprecated interface {
CreatePrivateEndpointDeprecated(string, *atlas.PrivateEndpointConnectionDeprecated) (*atlas.PrivateEndpointConnectionDeprecated, error)
}
type PrivateEndpointDeleter ¶
type PrivateEndpointDescriberDeprecated ¶
type PrivateEndpointDescriberDeprecated interface {
PrivateEndpointDeprecated(string, string) (*atlas.PrivateEndpointConnectionDeprecated, error)
}
type PrivateEndpointLister ¶
type PrivateEndpointLister interface {
PrivateEndpoints(string, string) ([]atlasv2.EndpointService, error)
}
type PrivateEndpointListerDeprecated ¶
type PrivateEndpointListerDeprecated interface {
PrivateEndpointsDeprecated(string, *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error)
}
type ProcessDatabaseLister ¶
type ProcessDatabaseLister interface {
ProcessDatabases(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDatabase, error)
}
type ProcessDatabaseMeasurementsLister ¶
type ProcessDatabaseMeasurementsLister interface {
ProcessDatabaseMeasurements(*atlasv2.GetDatabaseMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}
type ProcessDescriber ¶
type ProcessDescriber interface {
Process(*atlasv2.GetAtlasProcessApiParams) (*atlasv2.ApiHostViewAtlas, error)
}
type ProcessDiskMeasurementsLister ¶
type ProcessDiskMeasurementsLister interface {
ProcessDiskMeasurements(*atlasv2.GetDiskMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}
type ProcessDisksLister ¶
type ProcessDisksLister interface {
ProcessDisks(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDiskPartition, error)
}
type ProcessLister ¶
type ProcessLister interface {
Processes(*atlasv2.ListAtlasProcessesApiParams) (*atlasv2.PaginatedHostViewAtlas, error)
}
type ProcessMeasurementLister ¶
type ProcessMeasurementLister interface {
ProcessMeasurements(*atlasv2.GetHostMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
}
type ProjectAPIKeyAssigner ¶
type ProjectAPIKeyAssigner interface {
AssignProjectAPIKey(string, string, *atlasv2.UpdateAtlasProjectApiKey) error
}
type ProjectAPIKeyCreator ¶
type ProjectAPIKeyCreator interface {
CreateProjectAPIKey(string, *atlasv2.CreateAtlasProjectApiKey) (*atlasv2.ApiKeyUserDetails, error)
}
type ProjectAPIKeyDeleter ¶
type ProjectAPIKeyLister ¶
type ProjectAPIKeyLister interface {
ProjectAPIKeys(string, *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
}
type ProjectCreator ¶
type ProjectCreator interface {
CreateProject(*atlasv2.CreateProjectApiParams) (*atlasv2.Group, error)
}
type ProjectDeleter ¶
type ProjectDescriber ¶
type ProjectEventLister ¶
type ProjectEventLister interface {
ProjectEvents(opts *admin.ListProjectEventsApiParams) (*admin.GroupPaginatedEvent, error)
}
type ProjectIPAccessListCreator ¶
type ProjectIPAccessListCreator interface {
CreateProjectIPAccessList([]*atlasv2.NetworkPermissionEntry) (*atlasv2.PaginatedNetworkAccess, error)
}
type ProjectIPAccessListDescriber ¶
type ProjectIPAccessListDescriber interface {
IPAccessList(string, string) (*atlasv2.NetworkPermissionEntry, error)
}
type ProjectIPAccessListLister ¶
type ProjectIPAccessListLister interface {
ProjectIPAccessLists(string, *ListOptions) (*atlasv2.PaginatedNetworkAccess, error)
}
type ProjectInvitationDescriber ¶
type ProjectInvitationDescriber interface {
ProjectInvitation(string, string) (*atlasv2.GroupInvitation, error)
}
type ProjectInvitationLister ¶
type ProjectInvitationLister interface {
ProjectInvitations(*atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error)
}
type ProjectInvitationUpdater ¶
type ProjectInvitationUpdater interface {
UpdateProjectInvitation(string, string, *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
}
type ProjectInviter ¶
type ProjectInviter interface {
InviteUserToProject(string, *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
}
type ProjectLister ¶
type ProjectLister interface {
Projects(*ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
}
type ProjectSettingsDescriber ¶
type ProjectSettingsDescriber interface {
ProjectSettings(string) (*atlasv2.GroupSettings, error)
}
type ProjectSettingsUpdater ¶
type ProjectSettingsUpdater interface {
UpdateProjectSettings(string, *atlasv2.GroupSettings) (*atlasv2.GroupSettings, error)
}
type ProjectTeamAdder ¶
type ProjectTeamDeleter ¶
type ProjectTeamLister ¶
type ProjectTeamLister interface {
ProjectTeams(string, *ListOptions) (*atlasv2.PaginatedTeamRole, error)
}
type ProjectUpdater ¶
type ProjectUpdater interface {
UpdateProject(*atlasv2.UpdateProjectApiParams) (*atlasv2.Group, error)
}
type ProjectUserDeleter ¶
type ProjectUsersLister ¶
type ProjectUsersLister interface {
ProjectUsers(string, *ListOptions) (*atlasv2.PaginatedAppUser, error)
}
type RegionalizedPrivateEndpointSettingDescriber ¶
type RegionalizedPrivateEndpointSettingDescriber interface {
RegionalizedPrivateEndpointSetting(string) (*atlasv2.ProjectSettingItem, error)
}
type RegionalizedPrivateEndpointSettingUpdater ¶
type RegionalizedPrivateEndpointSettingUpdater interface {
UpdateRegionalizedPrivateEndpointSetting(string, bool) (*atlasv2.ProjectSettingItem, error)
}
type RestoreJobsCreator ¶
type RestoreJobsCreator interface {
CreateRestoreJobs(string, string, *atlasv2.DiskBackupSnapshotRestoreJob) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
}
type RestoreJobsDescriber ¶
type RestoreJobsLister ¶
type RestoreJobsLister interface {
RestoreJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error)
}
type SampleDataAdder ¶
type SampleDataAdder interface {
AddSampleData(string, string) (*admin.SampleDatasetStatus, error)
}
type SampleDataStatusDescriber ¶
type SampleDataStatusDescriber interface {
SampleDataStatus(string, string) (*admin.SampleDatasetStatus, error)
}
type ScheduleDeleter ¶
type ScheduleDescriber ¶
type ScheduleDescriber interface {
DescribeSchedule(string, string) (*atlasv2.DiskBackupSnapshotSchedule, error)
}
type ScheduleDescriberUpdater ¶
type ScheduleDescriberUpdater interface { DescribeSchedule(string, string) (*atlasv2.DiskBackupSnapshotSchedule, error) UpdateSchedule(string, string, *atlasv2.DiskBackupSnapshotSchedule) (*atlasv2.DiskBackupSnapshotSchedule, error) }
type SearchIndexCreator ¶
type SearchIndexCreator interface { CreateSearchIndexes(string, string, *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error) SearchIndex(string, string, string) (*atlasv2.ClusterSearchIndex, error) }
type SearchIndexDeleter ¶
type SearchIndexDescriber ¶
type SearchIndexLister ¶
type SearchIndexUpdater ¶
type SearchIndexUpdater interface {
UpdateSearchIndexes(string, string, string, *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
}
type SearchNodesCreator ¶
type SearchNodesCreator interface { CreateSearchNodes(string, string, *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error) SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error) }
type SearchNodesDeleter ¶
type SearchNodesLister ¶
type SearchNodesLister interface {
SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error)
}
type SearchNodesUpdater ¶
type SearchNodesUpdater interface { UpdateSearchNodes(string, string, *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error) SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error) }
type ServerlessInstanceCreator ¶
type ServerlessInstanceCreator interface {
CreateServerlessInstance(string, *atlasv2.ServerlessInstanceDescriptionCreate) (*atlasv2.ServerlessInstanceDescription, error)
}
type ServerlessInstanceDescriber ¶
type ServerlessInstanceDescriber interface {
GetServerlessInstance(string, string) (*atlasv2.ServerlessInstanceDescription, error)
}
type ServerlessInstanceLister ¶
type ServerlessInstanceLister interface {
ServerlessInstances(string, *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error)
}
type ServerlessInstanceUpdater ¶
type ServerlessInstanceUpdater interface {
UpdateServerlessInstance(string, string, *atlasv2.ServerlessInstanceDescriptionUpdate) (*atlasv2.ServerlessInstanceDescription, error)
}
type ServerlessPrivateEndpointsLister ¶
type ServerlessPrivateEndpointsLister interface {
ServerlessPrivateEndpoints(string, string) ([]atlasv2.ServerlessTenantEndpoint, error)
}
type ServerlessRestoreJobsCreator ¶
type ServerlessRestoreJobsCreator interface {
ServerlessCreateRestoreJobs(string, string, *atlasv2.ServerlessBackupRestoreJob) (*atlasv2.ServerlessBackupRestoreJob, error)
}
type ServerlessRestoreJobsLister ¶
type ServerlessRestoreJobsLister interface {
ServerlessRestoreJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupRestoreJob, error)
}
type ServerlessSnapshotsLister ¶
type ServerlessSnapshotsLister interface {
ServerlessSnapshots(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error)
}
type ServiceGetter ¶
ServiceGetter is a basic interface for service and base url settings.
type SnapshotsCreator ¶
type SnapshotsCreator interface {
CreateSnapshot(string, string, *atlasv2.DiskBackupOnDemandSnapshotRequest) (*atlasv2.DiskBackupSnapshot, error)
}
type SnapshotsDeleter ¶
type SnapshotsDescriber ¶
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 ¶
New returns a new Store based on the given list of Option.
Usage:
// get a new Store for Atlas store := store.New(Service("cloud")) // get a new Store for the public API based on a Config interface store := store.New(AuthenticatedPreset(config)) // get a new Store for the private API based on a Config interface store := store.New(PrivateAuthenticatedPreset(config))
func (*Store) AWSContainers ¶
func (s *Store) AWSContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
AWSContainers encapsulates the logic to manage different cloud providers.
func (*Store) AccessLogsByClusterName ¶
func (s *Store) AccessLogsByClusterName(groupID, clusterName string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
AccessLogsByClusterName encapsulates the logic to manage different cloud providers.
func (*Store) AccessLogsByHostname ¶
func (s *Store) AccessLogsByHostname(groupID, hostname string, opts *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error)
AccessLogsByHostname encapsulates the logic to manage different cloud providers.
func (*Store) AcknowledgeAlert ¶
func (s *Store) AcknowledgeAlert(params *admin.AcknowledgeAlertApiParams) (*admin.AlertViewForNdsGroup, error)
AcknowledgeAlert encapsulate the logic to manage different cloud providers.
func (*Store) AddSampleData ¶
func (s *Store) AddSampleData(groupID, clusterName string) (*admin.SampleDatasetStatus, error)
AddSampleData encapsulate the logic to manage different cloud providers.
func (*Store) AddTeamsToProject ¶
func (s *Store) AddTeamsToProject(projectID string, teams []atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
AddTeamsToProject encapsulates the logic to manage different cloud providers.
func (*Store) AddUsersToTeam ¶
func (s *Store) AddUsersToTeam(orgID, teamID string, users []atlasv2.AddUserToTeam) (*atlasv2.PaginatedApiAppUser, error)
AddUsersToTeam encapsulates the logic to manage different cloud providers.
func (*Store) Alert ¶
func (s *Store) Alert(params *admin.GetAlertApiParams) (*admin.AlertViewForNdsGroup, error)
Alert encapsulate the logic to manage different cloud providers.
func (*Store) AlertConfiguration ¶
func (s *Store) AlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
func (*Store) AlertConfigurations ¶
func (s *Store) AlertConfigurations(params *admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error)
AlertConfigurations encapsulate the logic to manage different cloud providers.
func (*Store) Alerts ¶
func (s *Store) Alerts(params *admin.ListAlertsApiParams) (*admin.PaginatedAlert, error)
Alerts encapsulate the logic to manage different cloud providers.
func (*Store) AllContainers ¶
func (s *Store) AllContainers(projectID string, opts *atlas.ListOptions) ([]atlasv2.CloudProviderContainer, error)
AllContainers encapsulates the logic to manage different cloud providers.
func (*Store) AssignProjectAPIKey ¶
func (s *Store) AssignProjectAPIKey(projectID, apiKeyID string, input *atlasv2.UpdateAtlasProjectApiKey) error
AssignProjectAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) AtlasCluster ¶
func (s *Store) AtlasCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)
AtlasCluster encapsulates the logic to manage different cloud providers.
func (*Store) AtlasClusterConfigurationOptions ¶
func (s *Store) AtlasClusterConfigurationOptions(projectID, name string) (*admin.ClusterDescriptionProcessArgs, error)
AtlasClusterConfigurationOptions encapsulates the logic to manage different cloud providers.
func (*Store) AtlasSharedCluster ¶
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) AuthorizeCloudProviderAccessRole ¶
func (s *Store) AuthorizeCloudProviderAccessRole(groupID, roleID string, req *atlas.CloudProviderAccessRoleRequest) (*atlasv2.CloudProviderAccessRole, error)
AuthorizeCloudProviderAccessRole encapsulates the logic to manage different cloud providers.
func (*Store) AzureContainers ¶
func (s *Store) AzureContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
AzureContainers encapsulates the logic to manage different cloud providers.
func (*Store) ClearMaintenanceWindow ¶
ClearMaintenanceWindow encapsulates the logic to manage different cloud providers.
func (*Store) CloudProviderAccessRoles ¶
func (s *Store) CloudProviderAccessRoles(groupID string) (*atlasv2.CloudProviderAccessRoles, error)
CloudProviderAccessRoles encapsulates the logic to manage different cloud providers.
func (*Store) CloudProviderRegions ¶
func (s *Store) CloudProviderRegions(projectID, tier string, providerName []string) (*atlasv2.PaginatedApiAtlasProviderRegions, error)
CloudProviderRegions encapsulates the logic to manage different cloud providers.
func (*Store) ContainersByProvider ¶
func (s *Store) ContainersByProvider(projectID string, opts *atlas.ContainersListOptions) ([]atlasv2.CloudProviderContainer, error)
ContainersByProvider encapsulates the logic to manage different cloud providers.
func (*Store) CreateAlertConfiguration ¶
func (s *Store) CreateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
CreateAlertConfiguration encapsulate the logic to manage different cloud providers.
func (*Store) CreateAtlasOrganization ¶
func (s *Store) CreateAtlasOrganization(o *atlasv2.CreateOrganizationRequest) (*atlasv2.CreateOrganizationResponse, error)
CreateAtlasOrganization encapsulate the logic to manage different cloud providers.
func (*Store) CreateCloudProviderAccessRole ¶
func (s *Store) CreateCloudProviderAccessRole(groupID, provider string) (*atlasv2.CloudProviderAccessRole, error)
CreateCloudProviderAccessRole encapsulates the logic to manage different cloud providers.
func (*Store) CreateCluster ¶
func (s *Store) CreateCluster(cluster *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
CreateCluster encapsulate the logic to manage different cloud providers.
func (*Store) CreateConnection ¶
func (s *Store) CreateConnection(projectID, tenantName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
CreateConnection encapsulates the logic to manage different cloud providers.
func (*Store) CreateContainer ¶
func (s *Store) CreateContainer(projectID string, container *atlasv2.CloudProviderContainer) (*atlasv2.CloudProviderContainer, error)
CreateContainer encapsulates the logic to manage different cloud providers.
func (*Store) CreateDBUserCertificate ¶
func (s *Store) CreateDBUserCertificate(projectID, username string, monthsUntilExpiration int) (string, error)
CreateDBUserCertificate creates a new Atlas managed certificates for a database user.
func (*Store) CreateDataFederation ¶
func (s *Store) CreateDataFederation(projectID string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
CreateDataFederation encapsulates the logic to manage different cloud providers.
func (*Store) CreateDataFederationPrivateEndpoint ¶
func (s *Store) CreateDataFederationPrivateEndpoint(projectID string, opts *admin.PrivateNetworkEndpointIdEntry) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
CreateDataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) CreateDataFederationQueryLimit ¶
func (s *Store) CreateDataFederationQueryLimit(projectID, tenantName, limitName string, opts *admin.DataFederationTenantQueryLimit) (*admin.DataFederationTenantQueryLimit, error)
CreateDataFederationQueryLimit encapsulates the logic to manage different cloud providers.
func (*Store) CreateDataLake ¶
func (s *Store) CreateDataLake(projectID string, dataLake *atlas.DataLakeCreateRequest) (*atlas.DataLake, error)
CreateDataLake encapsulate the logic to manage different cloud providers.
func (*Store) CreateDatabaseRole ¶
func (s *Store) CreateDatabaseRole(groupID string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
CreateDatabaseRole encapsulate the logic to manage different cloud providers.
func (*Store) CreateDatabaseUser ¶
func (s *Store) CreateDatabaseUser(user *atlasv2.CloudDatabaseUser) (*atlasv2.CloudDatabaseUser, error)
CreateDatabaseUser encapsulate the logic to manage different cloud providers.
func (*Store) CreateExportBucket ¶
func (s *Store) CreateExportBucket(projectID string, bucket *atlasv2.DiskBackupSnapshotAWSExportBucket) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
CreateExportBucket encapsulates the logic to manage different cloud providers.
func (*Store) CreateExportJob ¶
func (s *Store) CreateExportJob(projectID, clusterName string, job *atlasv2.DiskBackupExportJobRequest) (*atlasv2.DiskBackupExportJob, error)
CreateExportJob encapsulates the logic to manage different cloud providers.
func (*Store) CreateIdentityProvider ¶
func (s *Store) CreateIdentityProvider(opts *atlasv2.CreateIdentityProviderApiParams) (*atlasv2.FederationOidcIdentityProvider, error)
CreateIdentityProvider encapsulate the logic to manage different cloud providers.
func (*Store) CreateIndex ¶
func (s *Store) CreateIndex(projectID, clusterName string, index *atlasv2.DatabaseRollingIndexRequest) error
CreateIndex encapsulate the logic to manage different cloud providers.
func (*Store) CreateIntegration ¶
func (s *Store) CreateIntegration(projectID, integrationType string, integration *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error)
CreateIntegration encapsulates the logic to manage different cloud providers.
func (*Store) CreateInterfaceEndpoint ¶
func (s *Store) CreateInterfaceEndpoint(projectID, provider, endpointServiceID string, createRequest *atlasv2.CreateEndpointRequest) (*atlasv2.PrivateLinkEndpoint, error)
CreateInterfaceEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) CreateInterfaceEndpointDeprecated ¶
func (s *Store) CreateInterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
CreateInterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) CreateLinkToken ¶
func (s *Store) CreateLinkToken(orgID string, linkToken *atlasv2.TargetOrgRequest) (*atlasv2.TargetOrg, error)
CreateLinkToken encapsulate the logic to manage different cloud providers.
func (*Store) CreateLiveMigrationCutover ¶
CreateLiveMigrationCutover encapsulate the logic to manage different cloud providers.
func (*Store) CreateOnDemandPolicy ¶
func (s *Store) CreateOnDemandPolicy(projectID string, policy *atlasv2.BackupComplianceOnDemandPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) CreateOnlineArchive ¶
func (s *Store) CreateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchiveCreate) (*atlasv2.BackupOnlineArchive, error)
CreateOnlineArchive encapsulate the logic to manage different cloud providers.
func (*Store) CreateOrganizationAPIKey ¶
func (s *Store) CreateOrganizationAPIKey(orgID string, input *atlasv2.CreateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
CreateOrganizationAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) CreateOrganizationAPIKeyAccessList ¶
func (s *Store) CreateOrganizationAPIKeyAccessList(params *admin.CreateApiKeyAccessListApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
CreateOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.
func (*Store) CreatePeeringConnection ¶
func (s *Store) CreatePeeringConnection(projectID string, peer *atlasv2.BaseNetworkPeeringConnectionSettings) (*atlasv2.BaseNetworkPeeringConnectionSettings, error)
CreatePeeringConnection encapsulates the logic to manage different cloud providers.
func (*Store) CreatePipeline ¶
func (s *Store) CreatePipeline(projectID string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
CreatePipeline encapsulates the logic to manage different cloud providers.
func (*Store) CreatePrivateEndpoint ¶
func (s *Store) CreatePrivateEndpoint(projectID string, r *atlasv2.CloudProviderEndpointServiceRequest) (*atlasv2.EndpointService, error)
CreatePrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) CreatePrivateEndpointDeprecated ¶
func (s *Store) CreatePrivateEndpointDeprecated(projectID string, r *atlas.PrivateEndpointConnectionDeprecated) (*atlas.PrivateEndpointConnectionDeprecated, error)
CreatePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) CreateProject ¶
CreateProject encapsulates the logic to manage different cloud providers.
func (*Store) CreateProjectAPIKey ¶
func (s *Store) CreateProjectAPIKey(projectID string, apiKeyInput *atlasv2.CreateAtlasProjectApiKey) (*atlasv2.ApiKeyUserDetails, error)
CreateProjectAPIKey creates an API Keys for a project.
func (*Store) CreateProjectIPAccessList ¶
func (s *Store) CreateProjectIPAccessList(entries []*atlasv2.NetworkPermissionEntry) (*atlasv2.PaginatedNetworkAccess, error)
CreateProjectIPAccessList encapsulate the logic to manage different cloud providers.
func (*Store) CreateRestoreJobs ¶
func (s *Store) CreateRestoreJobs(projectID, clusterName string, request *atlasv2.DiskBackupSnapshotRestoreJob) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
CreateRestoreJobs encapsulates the logic to manage different cloud providers.
func (*Store) CreateScheduledPolicy ¶
func (s *Store) CreateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) CreateSearchIndexes ¶
func (s *Store) CreateSearchIndexes(projectID, clusterName string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
CreateSearchIndexes encapsulate the logic to manage different cloud providers.
func (*Store) CreateSearchNodes ¶
func (s *Store) CreateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)
func (*Store) CreateServerlessInstance ¶
func (s *Store) CreateServerlessInstance(projectID string, cluster *atlasv2.ServerlessInstanceDescriptionCreate) (*atlasv2.ServerlessInstanceDescription, error)
CreateServerlessInstance encapsulate the logic to manage different cloud providers.
func (*Store) CreateSnapshot ¶
func (s *Store) CreateSnapshot(projectID, clusterName string, request *atlasv2.DiskBackupOnDemandSnapshotRequest) (*atlasv2.DiskBackupSnapshot, error)
CreateSnapshot encapsulates the logic to manage different cloud providers.
func (*Store) CreateStream ¶
func (s *Store) CreateStream(projectID string, processor *atlasv2.StreamsTenant) (*atlasv2.StreamsTenant, error)
func (*Store) CreateTeam ¶
func (*Store) CreateUser ¶
func (s *Store) CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error)
CreateUser encapsulates the logic to manage different cloud providers.
func (*Store) CreateValidation ¶
func (s *Store) CreateValidation(groupID string, liveMigration *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error)
CreateValidation encapsulate the logic to manage different cloud providers.
func (*Store) DBUserCertificates ¶
func (s *Store) DBUserCertificates(projectID, username string, opts *atlas.ListOptions) (*atlasv2.PaginatedUserCert, error)
DBUserCertificates retrieves the current Atlas managed certificates for a database user.
func (*Store) DataFederation ¶
func (s *Store) DataFederation(projectID, id string) (*admin.DataLakeTenant, error)
DataFederation encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationList ¶
func (s *Store) DataFederationList(projectID string) ([]admin.DataLakeTenant, error)
DataFederationList encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationLogs ¶
func (s *Store) DataFederationLogs(projectID, id string, startDate, endDate int64) (io.ReadCloser, error)
DataFederationLogs encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationPrivateEndpoint ¶
func (s *Store) DataFederationPrivateEndpoint(projectID, id string) (*admin.PrivateNetworkEndpointIdEntry, error)
DataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationPrivateEndpoints ¶
func (s *Store) DataFederationPrivateEndpoints(projectID string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error)
DataFederationPrivateEndpoints encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationQueryLimit ¶
func (s *Store) DataFederationQueryLimit(projectID, tenantName, limitName string) (*admin.DataFederationTenantQueryLimit, error)
DataFederationQueryLimit encapsulates the logic to manage different cloud providers.
func (*Store) DataFederationQueryLimits ¶
func (s *Store) DataFederationQueryLimits(projectID, tenantName string) ([]admin.DataFederationTenantQueryLimit, error)
DataFederationQueryLimits encapsulates the logic to manage different cloud providers.
func (*Store) 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 ¶
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 ¶
func (s *Store) DataLakePrivateEndpoints(params *atlasv2.ListDataFederationPrivateEndpointsApiParams) (*atlasv2.PaginatedPrivateNetworkEndpointIdEntry, error)
DataLakePrivateEndpoints encapsulates the logic to manage different cloud providers.
func (*Store) DatabaseRole ¶
func (s *Store) DatabaseRole(groupID, roleName string) (*atlasv2.UserCustomDBRole, error)
DatabaseRole encapsulate the logic to manage different cloud providers.
func (*Store) DatabaseRoles ¶
func (s *Store) DatabaseRoles(projectID string) ([]atlasv2.UserCustomDBRole, error)
DatabaseRoles encapsulate the logic to manage different cloud providers.
func (*Store) DatabaseUser ¶
func (s *Store) DatabaseUser(authDB, groupID, username string) (*atlasv2.CloudDatabaseUser, error)
func (*Store) DatabaseUsers ¶
func (s *Store) DatabaseUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error)
func (*Store) DeauthorizeCloudProviderAccessRoles ¶
func (s *Store) DeauthorizeCloudProviderAccessRoles(req *atlas.CloudProviderDeauthorizationRequest) error
DeauthorizeCloudProviderAccessRoles encapsulates the logic to manage different cloud providers.
func (*Store) DefaultMongoDBVersion ¶
DefaultMongoDBVersion encapsulates the logic to manage different cloud providers.
func (*Store) DeferMaintenanceWindow ¶
DeferMaintenanceWindow encapsulates the logic to manage different cloud providers.
func (*Store) DeleteAlertConfiguration ¶
DeleteAlertConfiguration encapsulate the logic to manage different cloud providers.
func (*Store) DeleteCluster ¶
DeleteCluster encapsulate the logic to manage different cloud providers.
func (*Store) DeleteConnectedOrgConfig ¶
DeleteConnectedOrgConfig encapsulate the logic to manage different cloud providers.
func (*Store) DeleteConnection ¶
DeleteConnection encapsulates the logic to manage different cloud providers.
func (*Store) DeleteContainer ¶
DeleteContainer encapsulates the logic to manage different cloud providers.
func (*Store) DeleteDataFederation ¶
DeleteDataFederation encapsulates the logic to manage different cloud providers.
func (*Store) DeleteDataFederationPrivateEndpoint ¶
DeleteDataFederationPrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) DeleteDataFederationQueryLimit ¶
DeleteDataFederationQueryLimit encapsulates the logic to manage different cloud providers.
func (*Store) DeleteDataLake ¶
DeleteDataLake encapsulate the logic to manage different cloud providers.
func (*Store) DeleteDatabaseRole ¶
DeleteDatabaseRole encapsulate the logic to manage different cloud providers.
func (*Store) DeleteDatabaseUser ¶
func (*Store) DeleteExportBucket ¶
DeleteExportBucket encapsulates the logic to manage different cloud providers.
func (*Store) DeleteIdentityProvider ¶
func (s *Store) DeleteIdentityProvider(federationSettingsID string, identityProviderID string) error
DeleteIdentityProvider encapsulate the logic to manage different cloud providers.
func (*Store) DeleteIntegration ¶
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 ¶
DeleteInvitation encapsulate the logic to manage different cloud providers.
func (*Store) DeleteLDAPConfiguration ¶
DeleteLDAPConfiguration encapsulates the logic to manage different cloud providers.
func (*Store) DeleteLinkToken ¶
DeleteLinkToken encapsulate the logic to manage different cloud providers.
func (*Store) DeleteOnlineArchive ¶
DeleteOnlineArchive encapsulate the logic to manage different cloud providers.
func (*Store) DeleteOrganization ¶
DeleteOrganization encapsulate the logic to manage different cloud providers.
func (*Store) DeleteOrganizationAPIKey ¶
DeleteOrganizationAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) DeleteOrganizationAPIKeyAccessList ¶
DeleteOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.
func (*Store) DeletePeeringConnection ¶
DeletePeeringConnection encapsulates the logic to manage different cloud providers.
func (*Store) DeletePipeline ¶
DeletePipeline encapsulates the logic to manage different cloud providers.
func (*Store) DeletePipelineDataset ¶
DeletePipelineDataset encapsulates the logic to manage different cloud providers.
func (*Store) DeletePrivateEndpoint ¶
DeletePrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) DeletePrivateEndpointDeprecated ¶
DeletePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) DeleteProject ¶
DeleteProject encapsulates the logic to manage different cloud providers.
func (*Store) DeleteProjectAPIKey ¶
DeleteProjectAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) DeleteProjectIPAccessList ¶
DeleteProjectIPAccessList encapsulate the logic to manage different cloud providers.
func (*Store) DeleteProjectInvitation ¶
DeleteProjectInvitation encapsulate the logic to manage different cloud providers.
func (*Store) DeleteSchedule ¶
DeleteSchedule encapsulates the logic to manage different cloud providers.
func (*Store) DeleteScheduledPolicy ¶
func (s *Store) DeleteScheduledPolicy(projectID, scheduledPolicyID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) DeleteSearchIndex ¶
DeleteSearchIndex encapsulate the logic to manage different cloud providers.
func (*Store) DeleteSearchNodes ¶
func (*Store) DeleteServerlessInstance ¶
DeleteServerlessInstance encapsulate the logic to manage different cloud providers.
func (*Store) DeleteSnapshot ¶
DeleteSnapshot encapsulates the logic to manage different cloud providers.
func (*Store) DeleteStream ¶
func (*Store) DeleteTeam ¶
DeleteTeam encapsulates the logic to manage different cloud providers.
func (*Store) DeleteTeamFromProject ¶
DeleteTeamFromProject encapsulates the logic to manage different cloud providers.
func (*Store) DeleteUserFromProject ¶
DeleteUserFromProject encapsulates the logic to manage different cloud providers.
func (*Store) DescribeCompliancePolicy ¶
func (s *Store) DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) DescribeCustomDNS ¶
func (s *Store) DescribeCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
DescribeCustomDNS encapsulates the logic to manage different cloud providers.
func (*Store) DescribeExportBucket ¶
func (s *Store) DescribeExportBucket(projectID, bucketID string) (*atlasv2.DiskBackupSnapshotAWSExportBucket, error)
DescribeExportBucket encapsulates the logic to manage different cloud providers.
func (*Store) DescribeSchedule ¶
func (s *Store) DescribeSchedule(projectID, clusterName string) (*atlasv2.DiskBackupSnapshotSchedule, error)
DescribeSchedule encapsulates the logic to manage different cloud providers.
func (*Store) DisableAlertConfiguration ¶
func (s *Store) DisableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
DisableAlertConfiguration encapsulate the logic to manage different cloud providers.
func (*Store) DisableCopyProtection ¶
func (s *Store) DisableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) DisableCustomDNS ¶
func (s *Store) DisableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
DisableCustomDNS encapsulates the logic to manage different cloud providers.
func (*Store) DisableEncryptionAtRest ¶
func (s *Store) DisableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) DisablePerformanceAdvisorSlowOperationThreshold ¶
DisablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.
func (*Store) DisableX509Configuration ¶
DisableX509Configuration disables customer-managed X.509 configuration for an Atlas project.
func (*Store) DownloadAuditLog ¶
func (s *Store) DownloadAuditLog(request *atlasv2.DownloadStreamTenantAuditLogsApiParams) (io.ReadCloser, error)
func (*Store) DownloadLog ¶
func (s *Store) DownloadLog(params *atlasv2.GetHostLogsApiParams) (io.ReadCloser, error)
DownloadLog encapsulates the logic to manage different cloud providers.
func (*Store) EnableAlertConfiguration ¶
func (s *Store) EnableAlertConfiguration(projectID, id string) (*admin.GroupAlertsConfig, error)
EnableAlertConfiguration encapsulate the logic to manage different cloud providers.
func (*Store) EnableCompliancePolicy ¶
func (s *Store) EnableCompliancePolicy(projectID, authorizedEmail, authorizedFirstName, authorizedLastName string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) EnableCopyProtection ¶
func (s *Store) EnableCopyProtection(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) EnableCustomDNS ¶
func (s *Store) EnableCustomDNS(projectID string) (*atlasv2.AWSCustomDNSEnabled, error)
EnableCustomDNS encapsulates the logic to manage different cloud providers.
func (*Store) EnableEncryptionAtRest ¶
func (s *Store) EnableEncryptionAtRest(projectID string) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) EnablePerformanceAdvisorSlowOperationThreshold ¶
EnablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.
func (*Store) EnablePointInTimeRestore ¶
func (*Store) EncryptionAtRest ¶
func (s *Store) EncryptionAtRest(projectID string) (*atlasv2.EncryptionAtRest, error)
func (*Store) ExportBuckets ¶
func (s *Store) ExportBuckets(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshotExportBucket, error)
ExportBuckets encapsulates the logic to manage different cloud providers.
func (*Store) ExportJob ¶
func (s *Store) ExportJob(projectID, clusterName, bucketID string) (*atlasv2.DiskBackupExportJob, error)
ExportJob encapsulates the logic to manage different cloud providers.
func (*Store) ExportJobs ¶
func (s *Store) ExportJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasDiskBackupExportJob, error)
ExportJobs encapsulates the logic to manage different cloud providers.
func (*Store) FederationSetting ¶
func (s *Store) FederationSetting(opts *atlasv2.GetFederationSettingsApiParams) (*atlasv2.OrgFederationSettings, error)
FederationSetting encapsulate the logic to manage different cloud providers.
func (*Store) GCPContainers ¶
func (s *Store) GCPContainers(projectID string) ([]atlasv2.CloudProviderContainer, error)
GCPContainers encapsulates the logic to manage different cloud providers.
func (*Store) GetConnectedOrgConfig ¶
func (s *Store) GetConnectedOrgConfig(opts *atlasv2.GetConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
GetConnectedOrgConfig encapsulate the logic to manage different cloud providers.
func (*Store) GetLDAPConfiguration ¶
func (s *Store) GetLDAPConfiguration(projectID string) (*atlasv2.UserSecurity, error)
GetLDAPConfiguration encapsulates the logic to manage different cloud providers.
func (*Store) GetOrgProjects ¶
func (s *Store) GetOrgProjects(orgID string, opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
GetOrgProjects encapsulates the logic to manage different cloud providers.
func (*Store) GetServerlessInstance ¶
func (s *Store) GetServerlessInstance(projectID, clusterName string) (*atlasv2.ServerlessInstanceDescription, error)
GetServerlessInstance encapsulates the logic to manage different cloud providers.
func (*Store) GetStatusLDAPConfiguration ¶
func (s *Store) GetStatusLDAPConfiguration(projectID, requestID string) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
GetStatusLDAPConfiguration encapsulates the logic to manage different cloud providers.
func (*Store) GetValidationStatus ¶
func (s *Store) GetValidationStatus(groupID, liveMigrationID string) (*atlasv2.LiveImportValidation, error)
GetValidationStatus encapsulate the logic to manage different cloud providers.
func (*Store) GlobalCluster ¶
func (s *Store) GlobalCluster(projectID, instanceName string) (*atlasv2.GeoSharding, error)
func (*Store) IPAccessList ¶
func (s *Store) IPAccessList(projectID, name string) (*atlasv2.NetworkPermissionEntry, error)
IPAccessList encapsulate the logic to manage different cloud providers.
func (*Store) IdentityProvider ¶
func (s *Store) IdentityProvider(opts *atlasv2.GetIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
IdentityProvider encapsulate the logic to manage different cloud providers.
func (*Store) IdentityProviders ¶
func (s *Store) IdentityProviders(opts *atlasv2.ListIdentityProvidersApiParams) (*atlasv2.PaginatedFederationIdentityProvider, error)
IdentityProviders encapsulate the logic to manage different cloud providers.
func (*Store) Integration ¶
func (s *Store) Integration(projectID, integrationType string) (*atlasv2.ThirdPartyIntegration, error)
Integration encapsulates the logic to manage different cloud providers.
func (*Store) Integrations ¶
func (s *Store) Integrations(projectID string) (*atlasv2.PaginatedIntegration, error)
Integrations encapsulates the logic to manage different cloud providers.
func (*Store) InterfaceEndpoint ¶
func (s *Store) InterfaceEndpoint(projectID, cloudProvider, endpointServiceID, privateEndpointID string) (*atlasv2.PrivateLinkEndpoint, error)
InterfaceEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) InterfaceEndpointDeprecated ¶
func (s *Store) InterfaceEndpointDeprecated(projectID, privateLinkID, interfaceEndpointID string) (*atlas.InterfaceEndpointConnectionDeprecated, error)
InterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) InviteUser ¶
func (s *Store) InviteUser(orgID string, invitation *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
InviteUser encapsulates the logic to manage different cloud providers.
func (*Store) InviteUserToProject ¶
func (s *Store) InviteUserToProject(groupID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
InviteUserToProject encapsulate the logic to manage different cloud providers.
func (*Store) ListConnectedOrgConfigs ¶
func (s *Store) ListConnectedOrgConfigs(opts *atlasv2.ListConnectedOrgConfigsApiParams) (*atlasv2.PaginatedConnectedOrgConfigs, error)
ListConnectedOrgConfigs encapsulate the logic to manage different cloud providers.
func (*Store) LiveMigrationCreate ¶
func (s *Store) LiveMigrationCreate(groupID string, liveMigrationRequest *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error)
LiveMigrationCreate encapsulates the logic to manage different cloud providers.
func (*Store) LiveMigrationDescribe ¶
func (s *Store) LiveMigrationDescribe(groupID, migrationID string) (*atlasv2.LiveMigrationResponse, error)
LiveMigrationDescribe encapsulates the logic to manage different cloud providers.
func (*Store) MaintenanceWindow ¶
func (s *Store) MaintenanceWindow(projectID string) (*atlasv2.GroupMaintenanceWindow, error)
MaintenanceWindow encapsulates the logic to manage different cloud providers.
func (*Store) MatcherFields ¶
MatcherFields encapsulate the logic to manage different cloud providers.
func (*Store) OnlineArchive ¶
func (s *Store) OnlineArchive(projectID, clusterName, archiveID string) (*atlasv2.BackupOnlineArchive, error)
OnlineArchive encapsulate the logic to manage different cloud providers.
func (*Store) OnlineArchives ¶
func (s *Store) OnlineArchives(projectID, clusterName string, lstOpt *atlas.ListOptions) (*atlasv2.PaginatedOnlineArchive, error)
OnlineArchives encapsulate the logic to manage different cloud providers.
func (*Store) Organization ¶
func (s *Store) Organization(id string) (*atlasv2.AtlasOrganization, error)
Organization encapsulate the logic to manage different cloud providers.
func (*Store) OrganizationAPIKey ¶
func (s *Store) OrganizationAPIKey(orgID, apiKeyID string) (*atlasv2.ApiKeyUserDetails, error)
OrganizationAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) OrganizationAPIKeyAccessLists ¶
func (s *Store) OrganizationAPIKeyAccessLists(params *admin.ListApiKeyAccessListsEntriesApiParams) (*admin.PaginatedApiUserAccessListResponse, error)
OrganizationAPIKeyAccessLists encapsulates the logic to manage different cloud providers.
func (*Store) OrganizationAPIKeys ¶
func (s *Store) OrganizationAPIKeys(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
OrganizationAPIKeys encapsulates the logic to manage different cloud providers.
func (*Store) OrganizationEvents ¶
func (s *Store) OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error)
OrganizationEvents encapsulate the logic to manage different cloud providers.
func (*Store) OrganizationInvitation ¶
func (s *Store) OrganizationInvitation(orgID, invitationID string) (*atlasv2.OrganizationInvitation, error)
OrganizationInvitation encapsulate the logic to manage different cloud providers.
func (*Store) OrganizationInvitations ¶
func (s *Store) OrganizationInvitations(params *atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error)
OrganizationInvitations encapsulate the logic to manage different cloud providers.
func (*Store) OrganizationUsers ¶
func (s *Store) OrganizationUsers(organizationID string, opts *atlas.ListOptions) (*atlasv2.PaginatedAppUser, error)
OrganizationUsers encapsulates the logic to manage different cloud providers.
func (*Store) Organizations ¶
func (s *Store) Organizations(params *atlasv2.ListOrganizationsApiParams) (*atlasv2.PaginatedOrganization, 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)
PeeringConnection encapsulates the logic to manage different cloud providers.
func (*Store) PeeringConnections ¶
func (s *Store) PeeringConnections(projectID string, opts *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error)
PeeringConnections encapsulates the logic to manage different cloud providers.
func (*Store) PerformanceAdvisorIndexes ¶
func (s *Store) PerformanceAdvisorIndexes(opts *atlasv2.ListSuggestedIndexesApiParams) (*atlasv2.PerformanceAdvisorResponse, error)
PerformanceAdvisorIndexes encapsulates the logic to manage different cloud providers.
func (*Store) PerformanceAdvisorNamespaces ¶
func (s *Store) PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error)
PerformanceAdvisorNamespaces encapsulates the logic to manage different cloud providers.
func (*Store) PerformanceAdvisorSlowQueries ¶
func (s *Store) PerformanceAdvisorSlowQueries(opts *atlasv2.ListSlowQueriesApiParams) (*atlasv2.PerformanceAdvisorSlowQueryList, error)
PerformanceAdvisorSlowQueries encapsulates the logic to manage different cloud providers.
func (*Store) Pipeline ¶
func (s *Store) Pipeline(projectID, id string) (*atlasv2.DataLakeIngestionPipeline, error)
Pipeline encapsulates the logic to manage different cloud providers.
func (*Store) PipelineAvailableSchedules ¶
func (s *Store) PipelineAvailableSchedules(projectID, pipelineName string) ([]atlasv2.DiskBackupApiPolicyItem, error)
PipelineAvailableSchedules encapsulates the logic to manage different cloud providers.
func (*Store) PipelineAvailableSnapshots ¶
func (s *Store) PipelineAvailableSnapshots(projectID, pipelineName string, completedAfter *time.Time, listOps *atlas.ListOptions) (*atlasv2.PaginatedBackupSnapshot, error)
PipelineAvailableSnapshots encapsulates the logic to manage different cloud providers.
func (*Store) PipelinePause ¶
func (s *Store) PipelinePause(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)
PipelinePause encapsulates the logic to manage different cloud providers.
func (*Store) PipelineResume ¶
func (s *Store) PipelineResume(projectID, pipelineName string) (*atlasv2.DataLakeIngestionPipeline, error)
PipelineResume encapsulates the logic to manage different cloud providers.
func (*Store) PipelineRun ¶
func (s *Store) PipelineRun(projectID, pipelineName, id string) (*atlasv2.IngestionPipelineRun, error)
PipelineRun encapsulates the logic to manage different cloud providers.
func (*Store) PipelineRuns ¶
func (s *Store) PipelineRuns(projectID, pipelineName string) (*atlasv2.PaginatedPipelineRun, error)
PipelineRuns encapsulates the logic to manage different cloud providers.
func (*Store) PipelineTrigger ¶
func (s *Store) PipelineTrigger(projectID, pipelineName, snapshotID string) (*atlasv2.IngestionPipelineRun, error)
PipelineTrigger encapsulates the logic to manage different cloud providers.
func (*Store) Pipelines ¶
func (s *Store) Pipelines(projectID string) ([]atlasv2.DataLakeIngestionPipeline, error)
Pipelines encapsulates the logic to manage different cloud providers.
func (*Store) PrivateEndpoint ¶
func (s *Store) PrivateEndpoint(projectID, provider, privateLinkID string) (*atlasv2.EndpointService, error)
PrivateEndpoint encapsulates the logic to manage different cloud providers.
func (*Store) PrivateEndpointDeprecated ¶
func (s *Store) PrivateEndpointDeprecated(projectID, privateLinkID string) (*atlas.PrivateEndpointConnectionDeprecated, error)
PrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) PrivateEndpoints ¶
func (s *Store) PrivateEndpoints(projectID, provider string) ([]atlasv2.EndpointService, error)
PrivateEndpoints encapsulates the logic to manage different cloud providers.
func (*Store) PrivateEndpointsDeprecated ¶
func (s *Store) PrivateEndpointsDeprecated(projectID string, opts *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error)
PrivateEndpointsDeprecated encapsulates the logic to manage different cloud providers.
func (*Store) Process ¶
func (s *Store) Process(params *atlasv2.GetAtlasProcessApiParams) (*atlasv2.ApiHostViewAtlas, error)
Process encapsulate the logic to manage different cloud providers.
func (*Store) ProcessDatabaseMeasurements ¶
func (s *Store) ProcessDatabaseMeasurements(args *atlasv2.GetDatabaseMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
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 ¶
func (s *Store) ProcessDiskMeasurements(params *atlasv2.GetDiskMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
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 ¶
func (s *Store) ProcessMeasurements(params *atlasv2.GetHostMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error)
ProcessMeasurements encapsulate the logic to manage different cloud providers.
func (*Store) Processes ¶
func (s *Store) Processes(params *atlasv2.ListAtlasProcessesApiParams) (*atlasv2.PaginatedHostViewAtlas, error)
Processes encapsulate the logic to manage different cloud providers.
func (*Store) ProjectAPIKeys ¶
func (s *Store) ProjectAPIKeys(projectID string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error)
ProjectAPIKeys returns the API Keys for a specific project.
func (*Store) ProjectClusters ¶
func (s *Store) ProjectClusters(projectID string, opts *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error)
ProjectClusters encapsulate the logic to manage different cloud providers.
func (*Store) ProjectEvents ¶
func (s *Store) ProjectEvents(opts *admin.ListProjectEventsApiParams) (*admin.GroupPaginatedEvent, error)
ProjectEvents encapsulate the logic to manage different cloud providers.
func (*Store) ProjectIPAccessLists ¶
func (s *Store) ProjectIPAccessLists(projectID string, opts *ListOptions) (*atlasv2.PaginatedNetworkAccess, error)
ProjectIPAccessLists encapsulate the logic to manage different cloud providers.
func (*Store) ProjectInvitation ¶
func (s *Store) ProjectInvitation(groupID, invitationID string) (*atlasv2.GroupInvitation, error)
ProjectInvitation encapsulate the logic to manage different cloud providers.
func (*Store) ProjectInvitations ¶
func (s *Store) ProjectInvitations(params *atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error)
ProjectInvitations encapsulate the logic to manage different cloud providers.
func (*Store) ProjectSettings ¶
func (s *Store) ProjectSettings(projectID string) (*atlasv2.GroupSettings, error)
ProjectSettings encapsulates the logic of getting settings of a particular project.
func (*Store) ProjectStreams ¶
func (s *Store) ProjectStreams(opts *atlasv2.ListStreamInstancesApiParams) (*atlasv2.PaginatedApiStreamsTenant, error)
func (*Store) ProjectTeams ¶
func (s *Store) ProjectTeams(projectID string, opts *ListOptions) (*atlasv2.PaginatedTeamRole, error)
ProjectTeams encapsulates the logic to manage different cloud providers.
func (*Store) ProjectUsers ¶
func (s *Store) ProjectUsers(projectID string, opts *ListOptions) (*atlasv2.PaginatedAppUser, error)
ProjectUsers lists all IAM users in a project.
func (*Store) Projects ¶
func (s *Store) Projects(opts *ListOptions) (*atlasv2.PaginatedAtlasGroup, error)
Projects encapsulates the logic to manage different cloud providers.
func (*Store) RegionalizedPrivateEndpointSetting ¶
func (s *Store) RegionalizedPrivateEndpointSetting(projectID string) (*atlasv2.ProjectSettingItem, error)
RegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.
func (*Store) RemoveUserFromTeam ¶
RemoveUserFromTeam encapsulates the logic to manage different cloud providers.
func (*Store) RenameTeam ¶
func (s *Store) RenameTeam(orgID, teamID string, team *atlasv2.TeamUpdate) (*atlasv2.TeamResponse, error)
func (*Store) RestoreJob ¶
func (s *Store) RestoreJob(projectID, clusterName, jobID string) (*atlasv2.DiskBackupSnapshotRestoreJob, error)
RestoreJob encapsulates the logic to manage different cloud providers.
func (*Store) RestoreJobs ¶
func (s *Store) RestoreJobs(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error)
RestoreJobs encapsulates the logic to manage different cloud providers.
func (*Store) RevokeJwksFromIdentityProvider ¶
func (s *Store) RevokeJwksFromIdentityProvider(federationSettingsID string, identityProviderID string) error
RevokeJwksFromIdentityProvider encapsulate the logic to manage different cloud providers.
func (*Store) SampleDataStatus ¶
func (s *Store) SampleDataStatus(groupID, id string) (*admin.SampleDatasetStatus, error)
SampleDataStatus encapsulate the logic to manage different cloud providers.
func (*Store) SaveLDAPConfiguration ¶
func (s *Store) SaveLDAPConfiguration(projectID string, ldap *atlasv2.UserSecurity) (*atlasv2.UserSecurity, error)
SaveLDAPConfiguration encapsulates the logic to manage different cloud providers.
func (*Store) SaveX509Configuration ¶
func (s *Store) SaveX509Configuration(projectID, certificate string) (*atlasv2.UserSecurity, error)
SaveX509Configuration saves a customer-managed X.509 configuration for an Atlas project.
func (*Store) SearchIndex ¶
func (s *Store) SearchIndex(projectID, clusterName, indexID string) (*atlasv2.ClusterSearchIndex, error)
SearchIndex encapsulate the logic to manage different cloud providers.
func (*Store) SearchIndexes ¶
func (s *Store) SearchIndexes(projectID, clusterName, dbName, collName string) ([]atlasv2.ClusterSearchIndex, error)
SearchIndexes encapsulate the logic to manage different cloud providers.
func (*Store) SearchNodes ¶
func (s *Store) SearchNodes(projectID, clusterName string) (*atlasv2.ApiSearchDeploymentResponse, error)
SearchNodes encapsulate the logic to manage different cloud providers.
func (*Store) SendEvents ¶
func (*Store) SendUnauthEvents ¶
func (*Store) ServerlessCreateRestoreJobs ¶
func (s *Store) ServerlessCreateRestoreJobs(projectID, clusterName string, request *atlasv2.ServerlessBackupRestoreJob) (*atlasv2.ServerlessBackupRestoreJob, error)
CreateRestoreJobs encapsulates the logic to manage different cloud providers.
func (*Store) ServerlessInstances ¶
func (s *Store) ServerlessInstances(projectID string, listOps *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error)
ServerlessInstances encapsulates the logic to manage different cloud providers.
func (*Store) ServerlessPrivateEndpoints ¶
func (s *Store) ServerlessPrivateEndpoints(projectID, instanceName string) ([]atlasv2.ServerlessTenantEndpoint, error)
func (*Store) ServerlessRestoreJob ¶
func (s *Store) ServerlessRestoreJob(projectID, instanceName string, jobID string) (*atlasv2.ServerlessBackupRestoreJob, error)
ServerlessRestoreJob encapsulates the logic to manage different cloud providers.
func (*Store) ServerlessRestoreJobs ¶
func (s *Store) ServerlessRestoreJobs(projectID, instanceName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupRestoreJob, error)
ServerlessRestoreJobs encapsulates the logic to manage different cloud providers.
func (*Store) ServerlessSnapshot ¶
func (s *Store) ServerlessSnapshot(projectID, instanceName, snapshotID string) (*atlasv2.ServerlessBackupSnapshot, error)
ServerlessSnapshot encapsulates the logic to manage different cloud providers.
func (*Store) ServerlessSnapshots ¶
func (s *Store) ServerlessSnapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error)
ServerlessSnapshots encapsulates the logic to manage different cloud providers.
func (*Store) Snapshot ¶
func (s *Store) Snapshot(projectID, clusterName, snapshotID string) (*atlasv2.DiskBackupReplicaSet, error)
Snapshot encapsulates the logic to manage different cloud providers.
func (*Store) Snapshots ¶
func (s *Store) Snapshots(projectID, clusterName string, opts *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupReplicaSet, error)
Snapshots encapsulates the logic to manage different cloud providers.
func (*Store) StartCluster ¶
func (s *Store) StartCluster(projectID, name string) (*admin.AdvancedClusterDescription, error)
StartCluster encapsulate the logic to manage different cloud providers.
func (*Store) StreamConnection ¶
func (s *Store) StreamConnection(projectID, tenantName, connectionName string) (*atlasv2.StreamsConnection, error)
StreamConnection encapsulates the logic to manage different cloud providers.
func (*Store) StreamsConnections ¶
func (s *Store) StreamsConnections(projectID, tenantName string) (*atlasv2.PaginatedApiStreamsConnection, error)
StreamsConnections encapsulates the logic to manage different cloud providers.
func (*Store) TeamByID ¶
func (s *Store) TeamByID(orgID, teamID string) (*atlasv2.TeamResponse, error)
TeamByID encapsulates the logic to manage different cloud providers.
func (*Store) TeamByName ¶
func (s *Store) TeamByName(orgID, teamName string) (*atlasv2.TeamResponse, error)
TeamByName encapsulates the logic to manage different cloud providers.
func (*Store) TeamUsers ¶
func (s *Store) TeamUsers(orgID, teamID string) (*atlasv2.PaginatedApiAppUser, error)
TeamUsers encapsulates the logic to manage different cloud providers.
func (*Store) Teams ¶
func (s *Store) Teams(orgID string, opts *atlas.ListOptions) (*atlasv2.PaginatedTeam, error)
Teams encapsulates the logic to manage different cloud providers.
func (*Store) TestClusterFailover ¶
func (*Store) UpdateAlertConfiguration ¶
func (s *Store) UpdateAlertConfiguration(alertConfig *admin.GroupAlertsConfig) (*admin.GroupAlertsConfig, error)
func (*Store) UpdateAtlasClusterConfigurationOptions ¶
func (s *Store) UpdateAtlasClusterConfigurationOptions(projectID, clusterName string, args *admin.ClusterDescriptionProcessArgs) (*admin.ClusterDescriptionProcessArgs, error)
UpdateAtlasClusterConfigurationOptions encapsulates the logic to manage different cloud providers.
func (*Store) UpdateAuditingConfig ¶
func (*Store) UpdateCluster ¶
func (s *Store) UpdateCluster(projectID, name string, cluster *admin.AdvancedClusterDescription) (*admin.AdvancedClusterDescription, error)
UpdateCluster encapsulate the logic to manage different cloud providers.
func (*Store) UpdateCompliancePolicy ¶
func (s *Store) UpdateCompliancePolicy(projectID string, opts *atlasv2.DataProtectionSettings20231001) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) UpdateConnectedOrgConfig ¶
func (s *Store) UpdateConnectedOrgConfig(opts *atlasv2.UpdateConnectedOrgConfigApiParams) (*atlasv2.ConnectedOrgConfig, error)
UpdateConnectedOrgConfig encapsulate the logic to manage different cloud providers.
func (*Store) UpdateConnection ¶
func (s *Store) UpdateConnection(projectID, tenantName, connectionsName string, opts *atlasv2.StreamsConnection) (*atlasv2.StreamsConnection, error)
UpdateConnection encapsulates the logic to manage different cloud providers.
func (*Store) UpdateDataFederation ¶
func (s *Store) UpdateDataFederation(projectID, id string, opts *admin.DataLakeTenant) (*admin.DataLakeTenant, error)
UpdateDataFederation encapsulates the logic to manage different cloud providers.
func (*Store) UpdateDataLake ¶
func (s *Store) UpdateDataLake(projectID, name string, dataLake *atlas.DataLakeUpdateRequest) (*atlas.DataLake, error)
UpdateDataLake encapsulate the logic to manage different cloud providers.
func (*Store) UpdateDatabaseRole ¶
func (s *Store) UpdateDatabaseRole(groupID, roleName string, role *atlasv2.UserCustomDBRole) (*atlasv2.UserCustomDBRole, error)
UpdateDatabaseRole encapsulate the logic to manage different cloud providers.
func (*Store) UpdateDatabaseUser ¶
func (s *Store) UpdateDatabaseUser(params *atlasv2.UpdateDatabaseUserApiParams) (*atlasv2.CloudDatabaseUser, error)
func (*Store) UpdateIdentityProvider ¶
func (s *Store) UpdateIdentityProvider(opts *atlasv2.UpdateIdentityProviderApiParams) (*atlasv2.FederationIdentityProvider, error)
UpdateIdentityProvider encapsulate the logic to manage different cloud providers.
func (*Store) UpdateMaintenanceWindow ¶
func (s *Store) UpdateMaintenanceWindow(projectID string, maintenanceWindow *atlasv2.GroupMaintenanceWindow) error
UpdateMaintenanceWindow encapsulates the logic to manage different cloud providers.
func (*Store) UpdateOnlineArchive ¶
func (s *Store) UpdateOnlineArchive(projectID, clusterName string, archive *atlasv2.BackupOnlineArchive) (*atlasv2.BackupOnlineArchive, error)
UpdateOnlineArchive encapsulate the logic to manage different cloud providers.
func (*Store) UpdateOrganizationAPIKey ¶
func (s *Store) UpdateOrganizationAPIKey(orgID, apiKeyID string, input *atlasv2.UpdateAtlasOrganizationApiKey) (*atlasv2.ApiKeyUserDetails, error)
UpdateOrganizationAPIKey encapsulates the logic to manage different cloud providers.
func (*Store) UpdateOrganizationInvitation ¶
func (s *Store) UpdateOrganizationInvitation(orgID, invitationID string, invitation *atlasv2.OrganizationInvitationRequest) (*atlasv2.OrganizationInvitation, error)
UpdateOrganizationInvitation encapsulates the logic to manage different cloud providers.
func (*Store) UpdatePipeline ¶
func (s *Store) UpdatePipeline(projectID, id string, opts atlasv2.DataLakeIngestionPipeline) (*atlasv2.DataLakeIngestionPipeline, error)
UpdatePipeline encapsulates the logic to manage different cloud providers.
func (*Store) UpdateProject ¶
UpdateProject encapsulates the logic to manage different cloud providers.
func (*Store) UpdateProjectInvitation ¶
func (s *Store) UpdateProjectInvitation(groupID, invitationID string, invitation *atlasv2.GroupInvitationRequest) (*atlasv2.GroupInvitation, error)
UpdateProjectInvitation encapsulate the logic to manage different cloud providers.
func (*Store) UpdateProjectSettings ¶
func (s *Store) UpdateProjectSettings(projectID string, projectSettings *atlasv2.GroupSettings) (*atlasv2.GroupSettings, error)
UpdateProjectSettings encapsulates the logic of updating settings of a particular project.
func (*Store) UpdateProjectTeamRoles ¶
func (s *Store) UpdateProjectTeamRoles(projectID, teamID string, team *atlasv2.TeamRole) (*atlasv2.PaginatedTeamRole, error)
UpdateProjectTeamRoles encapsulates the logic to manage different cloud providers.
func (*Store) UpdateRegionalizedPrivateEndpointSetting ¶
func (s *Store) UpdateRegionalizedPrivateEndpointSetting(projectID string, enabled bool) (*atlasv2.ProjectSettingItem, error)
UpdateRegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.
func (*Store) UpdateSchedule ¶
func (s *Store) UpdateSchedule(projectID, clusterName string, policy *atlasv2.DiskBackupSnapshotSchedule) (*atlasv2.DiskBackupSnapshotSchedule, error)
UpdateSchedule encapsulates the logic to manage different cloud providers.
func (*Store) UpdateScheduledPolicy ¶
func (s *Store) UpdateScheduledPolicy(projectID string, policy *atlasv2.BackupComplianceScheduledPolicyItem) (*atlasv2.DataProtectionSettings20231001, error)
func (*Store) UpdateSearchIndexes ¶
func (s *Store) UpdateSearchIndexes(projectID, clusterName, indexID string, index *atlasv2.ClusterSearchIndex) (*atlasv2.ClusterSearchIndex, error)
UpdateSearchIndexes encapsulate the logic to manage different cloud providers.
func (*Store) UpdateSearchNodes ¶
func (s *Store) UpdateSearchNodes(projectID, clusterName string, spec *atlasv2.ApiSearchDeploymentRequest) (*atlasv2.ApiSearchDeploymentResponse, error)
func (*Store) UpdateServerlessInstance ¶
func (s *Store) UpdateServerlessInstance(projectID string, instanceName string, req *atlasv2.ServerlessInstanceDescriptionUpdate) (*atlasv2.ServerlessInstanceDescription, error)
UpdateServerlessInstance encapsulate the logic to manage different cloud providers.
func (*Store) UpdateStream ¶
func (s *Store) UpdateStream(projectID, name string, streamsDataProcessRegion *atlasv2.StreamsDataProcessRegion) (*atlasv2.StreamsTenant, error)
func (*Store) UpgradeCluster ¶
UpgradeCluster encapsulate the logic to upgrade shared clusters in a project.
func (*Store) UserByID ¶
func (s *Store) UserByID(userID string) (*atlasv2.CloudAppUser, error)
UserByID encapsulates the logic to manage different cloud providers.
func (*Store) UserByName ¶
func (s *Store) UserByName(username string) (*atlasv2.CloudAppUser, error)
UserByName encapsulates the logic to manage different cloud providers.
func (*Store) VerifyLDAPConfiguration ¶
func (s *Store) VerifyLDAPConfiguration(projectID string, ldap *atlasv2.LDAPVerifyConnectivityJobRequestParams) (*atlasv2.LDAPVerifyConnectivityJobRequest, error)
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 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 StreamsDescriber ¶
type StreamsDescriber interface {
AtlasStream(string, string) (*atlasv2.StreamsTenant, error)
}
type StreamsDownloader ¶
type StreamsDownloader interface {
DownloadAuditLog(*atlasv2.DownloadStreamTenantAuditLogsApiParams) (io.ReadCloser, error)
}
type StreamsLister ¶
type StreamsLister interface {
ProjectStreams(*atlasv2.ListStreamInstancesApiParams) (*atlasv2.PaginatedApiStreamsTenant, error)
}
type StreamsUpdater ¶
type StreamsUpdater interface {
UpdateStream(string, string, *atlasv2.StreamsDataProcessRegion) (*atlasv2.StreamsTenant, error)
}
type TeamAdder ¶
type TeamAdder interface {
AddUsersToTeam(string, string, []atlasv2.AddUserToTeam) (*atlasv2.PaginatedApiAppUser, error)
}
type TeamCreator ¶
type TeamDeleter ¶
type TeamDescriber ¶
type TeamDescriber interface { TeamByID(string, string) (*atlasv2.TeamResponse, error) TeamByName(string, string) (*atlasv2.TeamResponse, error) }
type TeamLister ¶
type TeamLister interface {
Teams(string, *atlas.ListOptions) (*atlasv2.PaginatedTeam, error)
}
type TeamRenamer ¶
type TeamRenamer interface {
RenameTeam(string, string, *atlasv2.TeamUpdate) (*atlasv2.TeamResponse, error)
}
type TeamRolesUpdater ¶
type TeamUserLister ¶
type TeamUserLister interface {
TeamUsers(string, string) (*atlasv2.PaginatedApiAppUser, error)
}
type TeamUserRemover ¶
type UnauthEventsSender ¶
type UnauthEventsSender interface {
SendUnauthEvents(body interface{}) error
}
type UserCreator ¶
type UserCreator interface {
CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error)
}
type UserDescriber ¶
type UserDescriber interface { UserByID(string) (*atlasv2.CloudAppUser, error) UserByName(string) (*atlasv2.CloudAppUser, error) }
type UserLister ¶
type UserLister interface {
OrganizationUsers(string, *atlas.ListOptions) (*atlasv2.PaginatedAppUser, error)
}
type X509CertificateConfDescriber ¶
type X509CertificateConfDescriber interface {
X509Configuration(string) (*atlasv2.UserSecurity, error)
}
type X509CertificateConfSaver ¶
type X509CertificateConfSaver interface {
SaveX509Configuration(string, string) (*atlasv2.UserSecurity, error)
}
type X509CertificateStore ¶
type X509CertificateStore interface { X509CertificateConfDescriber X509CertificateConfSaver X509CertificateConfDisabler }
Source Files
¶
- access_logs.go
- access_role.go
- alert_configuration.go
- alerts.go
- api_keys.go
- api_keys_access_list.go
- auditing.go
- backup_compliance.go
- cloud_provider_backup.go
- cloud_provider_backup_serverless.go
- cloud_provider_regions.go
- clusters.go
- connected_org_configs.go
- custom_dns.go
- data_federation.go
- data_federation_private_endpoint.go
- data_federation_query_limits.go
- data_lake.go
- data_lake_pipelines.go
- data_lake_pipelines_datasets.go
- data_lake_pipelines_runs.go
- database_roles.go
- database_users.go
- default_mongodb_version.go
- deprected_private_endpoints.go
- encryption_at_rest.go
- events.go
- federation_settings.go
- global_cluster.go
- identity_providers.go
- indexes.go
- integrations.go
- ip_info.go
- ldap_configurations.go
- live_migration.go
- live_migration_link_tokens.go
- live_migrations.go
- logs.go
- maintenance.go
- online_archives.go
- operator.go
- organization_invitations.go
- organizations.go
- peering_connections.go
- performance_advisor.go
- private_endpoints.go
- process_databases.go
- process_disk_measurements.go
- process_disks.go
- process_measurements.go
- processes.go
- project_invitations.go
- project_ip_access_lists.go
- project_settings.go
- projects.go
- search.go
- search_nodes.go
- serverless_instances.go
- serverless_private_endpoints.go
- store.go
- streams.go
- teams.go
- telemetry.go
- users.go
- x509_auth_database_users.go