store

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright 2021 MongoDB Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPAddress added in v1.14.0

func IPAddress() string

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

Types

type AWSPeeringConnectionCreator added in v1.4.1

type AWSPeeringConnectionCreator interface {
	AWSContainers(string) ([]atlas.Container, error)
	PeeringConnectionCreator
}

type AccessLogsLister added in v1.20.0

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

type AccessLogsListerByClusterName added in v1.20.0

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

type AccessLogsListerByHostname added in v1.20.0

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

type AgentAPIKeyCreator added in v1.4.0

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

type AgentAPIKeyDeleter added in v1.4.0

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

type AgentAPIKeyLister added in v1.4.0

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

type AgentGlobalVersionsLister added in v1.8.0

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

type AgentLister added in v0.0.4

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

type AgentProjectVersionsLister added in v1.8.0

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

type AgentUpgrader added in v0.5.0

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

type AlertAcknowledger added in v0.1.0

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

type AlertConfigurationCreator

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

type AlertConfigurationDeleter

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

type AlertConfigurationLister

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

type AlertConfigurationUpdater added in v0.1.0

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

type AlertDescriber added in v0.1.0

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

type AlertLister added in v0.1.0

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

type AllClusterLister added in v0.0.4

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

type ArchivesDownloader added in v1.0.0

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

type AtlasClusterDescriber added in v1.6.0

type AtlasClusterDescriber interface {
	AtlasCluster(string, string) (*atlas.AdvancedCluster, error)
}

type AtlasClusterGetterUpdater added in v1.6.0

type AtlasClusterGetterUpdater interface {
	AtlasClusterDescriber
	ClusterUpdater
}

type AuthenticatedConfig added in v1.15.3

type AuthenticatedConfig interface {
	CredentialsGetter
	TransportConfigGetter
	ServiceGetter
}

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

type AutomationGetter

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

type AutomationPatcher added in v0.1.0

type AutomationPatcher interface {
	AutomationGetter
	AutomationUpdater
}

type AutomationStatusGetter added in v0.0.4

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

type AutomationUpdater

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

type AzurePeeringConnectionCreator added in v1.4.1

type AzurePeeringConnectionCreator interface {
	AzureContainers(string) ([]atlas.Container, error)
	PeeringConnectionCreator
}

type BackupConfigGetter added in v1.7.0

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

type BackupConfigLister added in v1.7.0

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

type BackupConfigUpdater added in v1.7.0

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

type BasicConfig added in v1.15.3

type BasicConfig interface {
	TransportConfigGetter
	ServiceGetter
}

type BlockstoresCreator added in v1.7.0

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

type BlockstoresDeleter added in v1.7.0

type BlockstoresDeleter interface {
	DeleteBlockstore(string) error
}

type BlockstoresDescriber added in v1.7.0

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

type BlockstoresLister added in v1.7.0

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

type BlockstoresUpdater added in v1.7.0

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

type CheckpointsLister added in v0.0.4

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

type CloudManagerClustersDeleter added in v1.9.0

type CloudManagerClustersDescriber added in v1.3.0

type CloudManagerClustersDescriber interface {
	AutomationGetter
	OpsManagerClusterDescriber
}

type CloudManagerClustersLister added in v0.0.4

type CloudManagerClustersLister interface {
	AutomationGetter
	ClusterLister
	AllClusterLister
}

type CloudProviderAccessRoleAuthorizer added in v1.11.0

type CloudProviderAccessRoleAuthorizer interface {
	AuthorizeCloudProviderAccessRole(string, string, *atlas.CloudProviderAuthorizationRequest) (*atlas.AWSIAMRole, error)
}

CreateCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

type CloudProviderAccessRoleCreator added in v1.11.0

type CloudProviderAccessRoleCreator interface {
	CreateCloudProviderAccessRole(string, string) (*atlas.AWSIAMRole, error)
}

type CloudProviderAccessRoleDeauthorizer added in v1.11.0

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

type CloudProviderAccessRoleLister added in v1.11.0

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

type CloudProviderRegionsLister added in v1.14.0

type CloudProviderRegionsLister interface {
	CloudProviderRegions(string, string, []*string) (*atlas.CloudProviders, error)
}

type ClusterCreator

type ClusterCreator interface {
	CreateCluster(*atlas.AdvancedCluster) (*atlas.AdvancedCluster, error)
}

type ClusterDeleter

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

type ClusterLister

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

type ClusterPauser added in v1.3.0

type ClusterPauser interface {
	PauseCluster(string, string) (*atlas.AdvancedCluster, error)
}

type ClusterStarter added in v1.3.0

type ClusterStarter interface {
	StartCluster(string, string) (*atlas.AdvancedCluster, error)
}

type ClusterUpdater

type ClusterUpdater interface {
	UpdateCluster(string, string, *atlas.AdvancedCluster) (*atlas.AdvancedCluster, error)
}

type ContainersDeleter added in v1.4.1

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

type ContainersLister added in v1.4.1

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

type ContinuousJobCreator added in v0.0.4

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

type ContinuousJobLister added in v0.0.4

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

type ContinuousSnapshotsLister added in v1.0.0

type ContinuousSnapshotsLister interface {
	ContinuousSnapshots(string, string, *atlas.ListOptions) (*atlas.ContinuousSnapshots, error)
}

type CredentialsGetter added in v1.15.0

type CredentialsGetter interface {
	PublicAPIKey() string
	PrivateAPIKey() string
}

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

type CustomDNSDescriber added in v1.6.0

type CustomDNSDescriber interface {
	DescribeCustomDNS(string) (*atlas.AWSCustomDNSSetting, error)
}

type CustomDNSDisabler added in v1.6.0

type CustomDNSDisabler interface {
	DisableCustomDNS(string) (*atlas.AWSCustomDNSSetting, error)
}

type CustomDNSEnabler added in v1.6.0

type CustomDNSEnabler interface {
	EnableCustomDNS(string) (*atlas.AWSCustomDNSSetting, error)
}

type DBUserCertificateCreator added in v1.3.0

type DBUserCertificateCreator interface {
	CreateDBUserCertificate(string, string, int) (*atlas.UserCertificate, error)
}

type DBUserCertificateLister added in v1.3.0

type DBUserCertificateLister interface {
	DBUserCertificates(string, string) ([]atlas.UserCertificate, error)
}

type DataLakeCreator added in v1.2.0

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

type DataLakeDeleter added in v1.2.0

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

type DataLakeDescriber added in v1.2.0

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

type DataLakeLister added in v1.2.0

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

type DataLakePrivateEndpointCreator added in v1.22.0

type DataLakePrivateEndpointCreator interface {
	DataLakeCreatePrivateEndpoint(string, *atlas.PrivateLinkEndpointDataLake) (*atlas.PrivateLinkEndpointDataLakeResponse, error)
}

type DataLakePrivateEndpointDeleter added in v1.22.0

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

type DataLakePrivateEndpointDescriber added in v1.22.0

type DataLakePrivateEndpointDescriber interface {
	DataLakePrivateEndpoint(string, string) (*atlas.PrivateLinkEndpointDataLake, error)
}

type DataLakePrivateEndpointLister added in v1.22.0

type DataLakePrivateEndpointLister interface {
	DataLakePrivateEndpoints(string) (*atlas.PrivateLinkEndpointDataLakeResponse, error)
}

type DataLakeStore added in v1.2.0

type DataLakeUpdater added in v1.2.0

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

type DatabaseRoleCreator added in v1.11.0

type DatabaseRoleCreator interface {
	CreateDatabaseRole(string, *atlas.CustomDBRole) (*atlas.CustomDBRole, error)
}

type DatabaseRoleDeleter added in v1.11.0

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

type DatabaseRoleDescriber added in v1.11.0

type DatabaseRoleDescriber interface {
	DatabaseRole(string, string) (*atlas.CustomDBRole, error)
}

type DatabaseRoleLister added in v1.11.0

type DatabaseRoleLister interface {
	DatabaseRoles(string, *atlas.ListOptions) (*[]atlas.CustomDBRole, error)
}

type DatabaseRoleUpdater added in v1.11.0

type DatabaseRoleUpdater interface {
	UpdateDatabaseRole(string, string, *atlas.CustomDBRole) (*atlas.CustomDBRole, error)
	DatabaseRole(string, string) (*atlas.CustomDBRole, error)
}

type DatabaseUserCreator

type DatabaseUserCreator interface {
	CreateDatabaseUser(*atlas.DatabaseUser) (*atlas.DatabaseUser, error)
}

type DatabaseUserDeleter

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

type DatabaseUserDescriber

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

type DatabaseUserLister

type DatabaseUserLister interface {
	DatabaseUsers(groupID string, opts *atlas.ListOptions) ([]atlas.DatabaseUser, error)
}

type DatabaseUserUpdater

type DatabaseUserUpdater interface {
	UpdateDatabaseUser(*atlas.DatabaseUser) (*atlas.DatabaseUser, error)
}

type DefaultVersionGetter added in v1.11.0

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

type EventLister added in v1.0.0

type EventLister interface {
	OrganizationEventLister
	ProjectEventLister
}

type FeatureControlPoliciesLister added in v1.8.0

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

type FeatureControlPoliciesUpdater added in v1.8.0

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

type FileSystemsCreator added in v1.8.0

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

type FileSystemsDeleter added in v1.7.0

type FileSystemsDeleter interface {
	DeleteFileSystem(string) error
}

type FileSystemsDescriber added in v1.7.0

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

type FileSystemsLister added in v1.7.0

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

type FileSystemsUpdater added in v1.8.0

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

type GCPPeeringConnectionCreator added in v1.4.1

type GCPPeeringConnectionCreator interface {
	GCPContainers(string) ([]atlas.Container, error)
	PeeringConnectionCreator
}

type GlobalAPIKeyCreator added in v1.4.1

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

type GlobalAPIKeyDeleter added in v1.4.1

type GlobalAPIKeyDeleter interface {
	DeleteGlobalAPIKey(string) error
}

type GlobalAPIKeyDescriber added in v1.4.1

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

type GlobalAPIKeyLister added in v1.4.1

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

type GlobalAPIKeyUpdater added in v1.4.1

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

type GlobalAPIKeyWhitelistCreator added in v1.4.1

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

type GlobalAPIKeyWhitelistDeleter added in v1.4.1

type GlobalAPIKeyWhitelistDeleter interface {
	DeleteGlobalAPIKeyWhitelist(string) error
}

type GlobalAPIKeyWhitelistDescriber added in v1.4.1

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

type GlobalAPIKeyWhitelistLister added in v1.4.1

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

type GlobalAlertLister added in v0.1.0

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

type HostByHostnameDescriber added in v1.9.0

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

type HostDatabaseLister added in v0.2.0

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

type HostDatabaseMeasurementsLister added in v1.4.1

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

type HostDescriber added in v0.2.0

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

type HostDiskMeasurementsLister added in v0.2.0

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

type HostDisksLister added in v0.2.0

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

type HostLister added in v0.2.0

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

type HostMeasurementLister added in v0.2.0

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

type IPInfoDescriber added in v1.14.0

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

type IndexCreator added in v0.2.0

type IndexCreator interface {
	CreateIndex(string, string, *atlas.IndexConfiguration) error
}

type IntegrationCreator added in v1.5.0

type IntegrationCreator interface {
	CreateIntegration(string, string, *atlas.ThirdPartyIntegration) (*atlas.ThirdPartyIntegrations, error)
}

type IntegrationDeleter added in v1.5.0

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

type IntegrationDescriber added in v1.5.0

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

type IntegrationLister added in v1.5.0

type IntegrationLister interface {
	Integrations(string) (*atlas.ThirdPartyIntegrations, error)
}

type InterfaceEndpointCreator added in v1.4.0

type InterfaceEndpointCreator interface {
	CreateInterfaceEndpoint(string, string, string, *atlas.InterfaceEndpointConnection) (*atlas.InterfaceEndpointConnection, error)
}

type InterfaceEndpointCreatorDeprecated added in v1.11.0

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

type InterfaceEndpointDeleter added in v1.4.0

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

type InterfaceEndpointDeleterDeprecated added in v1.11.0

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

type InterfaceEndpointDescriber added in v1.4.0

type InterfaceEndpointDescriber interface {
	InterfaceEndpoint(string, string, string, string) (*atlas.InterfaceEndpointConnection, error)
}

type InterfaceEndpointDescriberDeprecated added in v1.11.0

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

type LDAPConfigurationDeleter added in v1.6.0

type LDAPConfigurationDeleter interface {
	DeleteLDAPConfiguration(string) error
}

type LDAPConfigurationDescriber added in v1.6.0

type LDAPConfigurationDescriber interface {
	GetStatusLDAPConfiguration(string, string) (*atlas.LDAPConfiguration, error)
}

type LDAPConfigurationGetter added in v1.6.0

type LDAPConfigurationGetter interface {
	GetLDAPConfiguration(string) (*atlas.LDAPConfiguration, error)
}

type LDAPConfigurationSaver added in v1.6.0

type LDAPConfigurationSaver interface {
	SaveLDAPConfiguration(string, *atlas.LDAPConfiguration) (*atlas.LDAPConfiguration, error)
}

type LDAPConfigurationVerifier added in v1.6.0

type LDAPConfigurationVerifier interface {
	VerifyLDAPConfiguration(string, *atlas.LDAP) (*atlas.LDAPConfiguration, error)
}

type LinkTokenCreator added in v1.20.0

type LinkTokenCreator interface {
	CreateLinkToken(string, *atlas.TokenCreateRequest) (*atlas.LinkToken, error)
}

type LinkTokenDeleter added in v1.20.0

type LinkTokenDeleter interface {
	DeleteLinkToken(string) error
}

type LinkTokenStore added in v1.20.0

type LinkTokenStore interface {
	LinkTokenCreator
	LinkTokenDeleter
}

type LiveMigrationCreator added in v1.20.0

type LiveMigrationCreator interface {
	LiveMigrationCreate(string, *atlas.LiveMigration) (*atlas.LiveMigration, error)
}

type LiveMigrationCutoverCreator added in v1.20.0

type LiveMigrationCutoverCreator interface {
	CreateLiveMigrationCutover(string, string) (*atlas.Validation, error)
}

type LiveMigrationDescriber added in v1.20.0

type LiveMigrationDescriber interface {
	LiveMigrationDescribe(string, string) (*atlas.LiveMigration, error)
}

type LiveMigrationValidationsCreator added in v1.20.0

type LiveMigrationValidationsCreator interface {
	CreateValidation(string, *atlas.LiveMigration) (*atlas.Validation, error)
}

type LiveMigrationValidationsDescriber added in v1.20.0

type LiveMigrationValidationsDescriber interface {
	GetValidationStatus(string, string) (*atlas.Validation, error)
}

type LogCollector added in v0.5.0

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

type LogJobDeleter added in v0.5.0

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

type LogJobLister added in v0.5.0

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

type LogJobsDownloader added in v0.5.0

type LogJobsDownloader interface {
	DownloadLogJob(string, string, io.Writer) error
}

type LogsDownloader added in v0.2.0

type LogsDownloader interface {
	DownloadLog(string, string, string, io.Writer, *atlas.DateRangetOptions) error
}

type MaintenanceWindowClearer added in v1.5.0

type MaintenanceWindowClearer interface {
	ClearMaintenanceWindow(string) error
}

type MaintenanceWindowDeferrer added in v1.5.0

type MaintenanceWindowDeferrer interface {
	DeferMaintenanceWindow(string) error
}

type MaintenanceWindowDescriber added in v1.5.0

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

type MaintenanceWindowUpdater added in v1.5.0

type MaintenanceWindowUpdater interface {
	UpdateMaintenanceWindow(string, *atlas.MaintenanceWindow) error
}

type ManifestGetter added in v1.15.0

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

type MatcherFieldsLister added in v0.1.0

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

type MonitoringStarter added in v1.8.0

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

type MonitoringStopper added in v1.8.0

type MonitoringStopper interface {
	StopMonitoring(string, string) error
}

type OnlineArchiveCreator added in v1.2.0

type OnlineArchiveCreator interface {
	CreateOnlineArchive(string, string, *atlas.OnlineArchive) (*atlas.OnlineArchive, error)
}

type OnlineArchiveDeleter added in v1.2.0

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

type OnlineArchiveDescriber added in v1.2.0

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

type OnlineArchiveLister added in v1.2.0

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

type OnlineArchiveUpdater added in v1.2.0

type OnlineArchiveUpdater interface {
	UpdateOnlineArchive(string, string, *atlas.OnlineArchive) (*atlas.OnlineArchive, error)
}

type OplogsCreator added in v1.8.0

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

type OplogsDeleter added in v1.8.0

type OplogsDeleter interface {
	DeleteOplog(string) error
}

type OplogsDescriber added in v1.8.0

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

type OplogsLister added in v1.8.0

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

type OplogsUpdater added in v1.8.0

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

type OpsManagerClusterDescriber added in v1.6.0

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

type OpsManagerMaintenanceWindowCreator added in v1.5.0

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

type OpsManagerMaintenanceWindowDeleter added in v1.5.0

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

type OpsManagerMaintenanceWindowDescriber added in v1.5.0

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

type OpsManagerMaintenanceWindowLister added in v1.5.0

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

type OpsManagerMaintenanceWindowUpdater added in v1.5.0

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

type Option added in v1.15.0

type Option func(s *Store) error

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

func AuthenticatedPreset added in v1.17.1

func AuthenticatedPreset(c AuthenticatedConfig) Option

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

func NetworkPresets added in v1.15.0

func NetworkPresets(c TransportConfigGetter) Option

NetworkPresets is the default Option to set custom network preference.

func Options added in v1.15.0

func Options(opts ...Option) Option

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

func Service added in v1.15.0

func Service(service string) Option

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

func SkipVerify added in v1.15.0

func SkipVerify() Option

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

func UnauthenticatedPreset added in v1.17.1

func UnauthenticatedPreset(c BasicConfig) Option

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

func WithAuthentication added in v1.15.0

func WithAuthentication(c CredentialsGetter) Option

WithAuthentication sets the store credentials.

func WithBaseURL added in v1.15.0

func WithBaseURL(configURL string) Option

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

func WithCACertificate added in v1.15.0

func WithCACertificate(caCertificate string) Option

WithCACertificate enables the Store to use a custom CA certificate.

func WithContext added in v1.20.1

func WithContext(ctx context.Context) Option

WithContext sets the store context.

type OrgProjectLister

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

type OrganizationAPIKeyAccessListCreator added in v1.11.0

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

type OrganizationAPIKeyAccessListDeleter added in v1.11.0

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

type OrganizationAPIKeyAccessListLister added in v1.11.0

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

type OrganizationAPIKeyAccessListWhitelistCreator added in v1.20.0

type OrganizationAPIKeyAccessListWhitelistCreator interface {
	OrganizationAPIKeyAccessListCreator
	OrganizationAPIKeyWhitelistCreator
	ServiceVersionDescriber
}

type OrganizationAPIKeyAccessListWhitelistDeleter added in v1.20.0

type OrganizationAPIKeyAccessListWhitelistDeleter interface {
	OrganizationAPIKeyAccessListDeleter
	OrganizationAPIKeyWhitelistDeleter
	ServiceVersionDescriber
}

type OrganizationAPIKeyAccessListWhitelistLister added in v1.20.0

type OrganizationAPIKeyAccessListWhitelistLister interface {
	OrganizationAPIKeyAccessListLister
	OrganizationAPIKeyWhitelistLister
	ServiceVersionDescriber
}

type OrganizationAPIKeyCreator added in v1.4.0

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

type OrganizationAPIKeyDeleter added in v1.4.0

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

type OrganizationAPIKeyDescriber added in v1.4.0

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

type OrganizationAPIKeyLister added in v1.4.0

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

type OrganizationAPIKeyUpdater added in v1.4.0

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

type OrganizationAPIKeyWhitelistCreator added in v1.4.0

type OrganizationAPIKeyWhitelistCreator interface {
	CreateOrganizationAPIKeyWhitelist(string, string, []*atlas.WhitelistAPIKeysReq) (*atlas.WhitelistAPIKeys, error)
}

type OrganizationAPIKeyWhitelistDeleter added in v1.4.0

type OrganizationAPIKeyWhitelistDeleter interface {
	DeleteOrganizationAPIKeyWhitelist(string, string, string) error
}

type OrganizationAPIKeyWhitelistLister added in v1.4.0

type OrganizationAPIKeyWhitelistLister interface {
	OrganizationAPIKeyWhitelists(string, string, *atlas.ListOptions) (*atlas.WhitelistAPIKeys, error)
}

type OrganizationCreator

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

type OrganizationDeleter

type OrganizationDeleter interface {
	DeleteOrganization(string) error
}

type OrganizationDescriber added in v1.1.0

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

type OrganizationEventLister added in v0.1.0

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

type OrganizationHostAssignmentLister added in v1.8.0

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

type OrganizationInvitationDeleter added in v1.18.0

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

type OrganizationInvitationDescriber added in v1.18.0

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

type OrganizationInvitationLister added in v1.18.0

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

type OrganizationInvitationUpdater added in v1.18.0

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

type OrganizationInviter added in v1.18.0

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

type OrganizationLister

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

type OrganizationServerTypeGetter added in v1.8.0

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

type OrganizationServerTypeUpdater added in v1.8.0

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

type OrganizationsConnector added in v1.20.0

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

type OrganizationsDescriber added in v1.20.0

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

type OwnerCreator

type OwnerCreator interface {
	CreateOwner(*opsmngr.User, []string) (*opsmngr.CreateUserResponse, error)
}

type PeeringConnectionCreator added in v1.4.1

type PeeringConnectionCreator interface {
	CreateContainer(string, *atlas.Container) (*atlas.Container, error)
	CreatePeeringConnection(string, *atlas.Peer) (*atlas.Peer, error)
}

type PeeringConnectionDeleter added in v1.4.1

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

type PeeringConnectionDescriber added in v1.4.1

type PeeringConnectionDescriber interface {
	PeeringConnection(string, string) (*atlas.Peer, error)
}

type PeeringConnectionLister added in v1.4.1

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

type PerformanceAdvisorIndexesLister added in v1.6.0

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

type PerformanceAdvisorNamespacesLister added in v1.6.0

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

type PerformanceAdvisorSlowOperationThresholdDisabler added in v1.20.0

type PerformanceAdvisorSlowOperationThresholdDisabler interface {
	DisablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowOperationThresholdEnabler added in v1.20.0

type PerformanceAdvisorSlowOperationThresholdEnabler interface {
	EnablePerformanceAdvisorSlowOperationThreshold(string) error
}

type PerformanceAdvisorSlowQueriesLister added in v1.6.0

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

type PrivateEndpointCreator added in v1.4.0

type PrivateEndpointCreator interface {
	CreatePrivateEndpoint(string, *atlas.PrivateEndpointConnection) (*atlas.PrivateEndpointConnection, error)
}

type PrivateEndpointCreatorDeprecated added in v1.11.0

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

type PrivateEndpointDeleter added in v1.4.0

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

type PrivateEndpointDeleterDeprecated added in v1.11.0

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

type PrivateEndpointDescriber added in v1.4.0

type PrivateEndpointDescriber interface {
	PrivateEndpoint(string, string, string) (*atlas.PrivateEndpointConnection, error)
}

type PrivateEndpointDescriberDeprecated added in v1.11.0

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

type PrivateEndpointLister added in v1.4.0

type PrivateEndpointLister interface {
	PrivateEndpoints(string, string, *atlas.ListOptions) ([]atlas.PrivateEndpointConnection, error)
}

type PrivateEndpointListerDeprecated added in v1.11.0

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

type ProcessDatabaseLister added in v0.2.0

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

type ProcessDatabaseMeasurementsLister added in v1.4.1

type ProcessDatabaseMeasurementsLister interface {
	ProcessDatabaseMeasurements(string, string, int, string, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDatabaseMeasurements, error)
}

type ProcessDiskMeasurementsLister added in v0.2.0

type ProcessDiskMeasurementsLister interface {
	ProcessDiskMeasurements(string, string, int, string, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDiskMeasurements, error)
}

type ProcessDisksLister added in v0.2.0

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

type ProcessLister added in v0.2.0

type ProcessLister interface {
	Processes(string, *atlas.ProcessesListOptions) ([]*atlas.Process, error)
}

type ProcessMeasurementLister added in v0.2.0

type ProcessMeasurementLister interface {
	ProcessMeasurements(string, string, int, *atlas.ProcessMeasurementListOptions) (*atlas.ProcessMeasurements, error)
}

type ProjectAPIKeyAssigner added in v1.4.0

type ProjectAPIKeyAssigner interface {
	AssignProjectAPIKey(string, string, *atlas.AssignAPIKey) error
}

type ProjectAPIKeyCreator added in v1.4.0

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

type ProjectAPIKeyDeleter added in v1.4.0

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

type ProjectAPIKeyLister added in v1.4.0

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

type ProjectCreator

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

type ProjectDeleter

type ProjectDeleter interface {
	DeleteProject(string) error
}

type ProjectDescriber added in v1.1.0

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

type ProjectEventLister added in v0.1.0

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

type ProjectHostAssignmentLister added in v1.8.0

type ProjectHostAssignmentLister interface {
	ProjectHostAssignments(string, *opsmngr.ServerTypeOptions) (*opsmngr.HostAssignments, error)
}

type ProjectIPAccessListCreator added in v1.8.0

type ProjectIPAccessListCreator interface {
	CreateProjectIPAccessList([]*atlas.ProjectIPAccessList) (*atlas.ProjectIPAccessLists, error)
}

type ProjectIPAccessListDeleter added in v1.8.0

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

type ProjectIPAccessListDescriber added in v1.8.0

type ProjectIPAccessListDescriber interface {
	IPAccessList(string, string) (*atlas.ProjectIPAccessList, error)
}

type ProjectIPAccessListLister added in v1.8.0

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

type ProjectInvitationDeleter added in v1.18.0

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

type ProjectInvitationDescriber added in v1.18.0

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

type ProjectInvitationLister added in v1.18.0

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

type ProjectInvitationUpdater added in v1.18.0

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

type ProjectInviter added in v1.18.0

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

type ProjectLister

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

type ProjectServerTypeGetter added in v1.8.0

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

type ProjectServerTypeUpdater added in v1.8.0

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

type ProjectTeamAdder added in v1.5.0

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

type ProjectTeamDeleter added in v1.5.0

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

type ProjectTeamLister added in v1.5.0

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

type ProjectUserDeleter added in v1.5.0

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

type ProjectUsersLister added in v1.5.0

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

type RegionalizedPrivateEndpointSettingDescriber added in v1.11.0

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

type RegionalizedPrivateEndpointSettingUpdater added in v1.11.0

type RegionalizedPrivateEndpointSettingUpdater interface {
	UpdateRegionalizedPrivateEndpointSetting(string, bool) (*atlas.RegionalizedPrivateEndpointSetting, error)
}

type RestoreJobsCreator added in v1.0.0

type RestoreJobsCreator interface {
	CreateRestoreJobs(string, string, *atlas.CloudProviderSnapshotRestoreJob) (*atlas.CloudProviderSnapshotRestoreJob, error)
}

type RestoreJobsLister added in v1.0.0

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

type S3BlockstoresCreator added in v1.8.0

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

type S3BlockstoresDeleter added in v1.8.0

type S3BlockstoresDeleter interface {
	DeleteS3Blockstore(string) error
}

type S3BlockstoresDescriber added in v1.8.0

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

type S3BlockstoresLister added in v1.8.0

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

type S3BlockstoresUpdater added in v1.8.0

type S3BlockstoresUpdater interface {
	UpdateS3Blockstores(string, *opsmngr.S3Blockstore) (*opsmngr.S3Blockstore, error)
}

type SampleDataAdder added in v1.15.0

type SampleDataAdder interface {
	AddSampleData(string, string) (*atlas.SampleDatasetJob, error)
}

type SampleDataStatusDescriber added in v1.15.0

type SampleDataStatusDescriber interface {
	SampleDataStatus(string, string) (*atlas.SampleDatasetJob, error)
}

type SearchIndexCreator added in v1.3.0

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

type SearchIndexDeleter added in v1.3.0

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

type SearchIndexDescriber added in v1.3.0

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

type SearchIndexLister added in v1.3.0

type SearchIndexLister interface {
	SearchIndexes(string, string, string, string, *atlas.ListOptions) ([]*atlas.SearchIndex, error)
}

type SearchIndexUpdater added in v1.3.0

type SearchIndexUpdater interface {
	UpdateSearchIndexes(string, string, string, *atlas.SearchIndex) (*atlas.SearchIndex, error)
}

type ServerUsageReportDownloader added in v1.8.0

type ServerUsageReportDownloader interface {
	DownloadServerUsageReport(opts *opsmngr.ServerTypeOptions, out io.Writer) error
}

type ServerlessInstanceCreator added in v1.20.0

type ServerlessInstanceCreator interface {
	CreateServerlessInstance(string, *atlas.ServerlessCreateRequestParams) (*atlas.Cluster, error)
}

type ServerlessInstanceDeleter added in v1.20.0

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

type ServerlessInstanceDescriber added in v1.20.0

type ServerlessInstanceDescriber interface {
	ServerlessInstance(string, string) (*atlas.Cluster, error)
}

type ServerlessInstanceLister added in v1.20.0

type ServerlessInstanceLister interface {
	ServerlessInstances(string, *atlas.ListOptions) (*atlas.ClustersResponse, error)
}

type ServiceGetter added in v1.15.3

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

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

type ServiceVersionDescriber added in v1.20.0

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

type SnapshotGenerator added in v1.8.0

type SnapshotGenerator interface {
	GenerateSnapshot() error
}

type SnapshotScheduleDescriber added in v1.8.0

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

type SnapshotScheduleUpdater added in v1.8.0

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

type SnapshotsCreator added in v1.4.1

type SnapshotsCreator interface {
	CreateSnapshot(string, string, *atlas.CloudProviderSnapshot) (*atlas.CloudProviderSnapshot, error)
}

type SnapshotsDeleter added in v1.4.1

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

type SnapshotsDescriber added in v1.4.1

type SnapshotsDescriber interface {
	Snapshot(string, string, string) (*atlas.CloudProviderSnapshot, error)
}

type SnapshotsLister added in v0.0.4

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

type Store

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

func New

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

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

Usage:

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

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

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

func NewVersionManifest added in v1.11.0

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

NewVersionManifest ets the appropriate client for the manifest version page.

func (*Store) AWSContainers added in v1.4.1

func (s *Store) AWSContainers(projectID string) ([]atlas.Container, error)

AWSContainers encapsulates the logic to manage different cloud providers.

func (*Store) AccessLogsByClusterName added in v1.20.0

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

AccessLogsByClusterName encapsulates the logic to manage different cloud providers.

func (*Store) AccessLogsByHostname added in v1.20.0

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

AccessLogsByHostname encapsulates the logic to manage different cloud providers.

func (*Store) AcknowledgeAlert added in v0.1.0

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

Acknowledge encapsulate the logic to manage different cloud providers.

func (*Store) AddSampleData added in v1.15.0

func (s *Store) AddSampleData(groupID, clusterName string) (*atlas.SampleDatasetJob, error)

AddSampleData encapsulate the logic to manage different cloud providers.

func (*Store) AddTeamsToProject added in v1.5.0

func (s *Store) AddTeamsToProject(projectID string, teams []*atlas.ProjectTeam) (*atlas.TeamsAssigned, error)

AddTeamsToProject encapsulates the logic to manage different cloud providers.

func (*Store) AddUsersToTeam added in v1.5.0

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

AddUsersToTeam encapsulates the logic to manage different cloud providers.

func (*Store) AgentAPIKeys added in v1.4.0

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

AgentAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) AgentGlobalVersions added in v1.8.0

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

Agents encapsulates the logic to manage different cloud providers.

func (*Store) AgentProjectVersions added in v1.8.0

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

Agents encapsulates the logic to manage different cloud providers.

func (*Store) Agents added in v0.0.4

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

Agents encapsulates the logic to manage different cloud providers.

func (*Store) Alert added in v0.1.0

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

Alert encapsulate the logic to manage different cloud providers.

func (*Store) AlertConfigurations

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

AlertConfigurations encapsulate the logic to manage different cloud providers.

func (*Store) Alerts added in v0.1.0

func (s *Store) Alerts(projectID string, opts *atlas.AlertsListOptions) (*atlas.AlertsResponse, error)

Alerts encapsulate the logic to manage different cloud providers.

func (*Store) AllContainers added in v1.4.1

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

AllContainers encapsulates the logic to manage different cloud providers.

func (*Store) AssignProjectAPIKey added in v1.4.0

func (s *Store) AssignProjectAPIKey(projectID, apiKeyID string, input *atlas.AssignAPIKey) error

AssignProjectAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) AtlasCluster added in v1.6.0

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

AtlasCluster encapsulates the logic to manage different cloud providers.

func (*Store) AuthorizeCloudProviderAccessRole added in v1.11.0

func (s *Store) AuthorizeCloudProviderAccessRole(groupID, roleID string, req *atlas.CloudProviderAuthorizationRequest) (*atlas.AWSIAMRole, error)

AuthorizeCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

func (*Store) AzureContainers added in v1.4.1

func (s *Store) AzureContainers(projectID string) ([]atlas.Container, error)

AzureContainers encapsulates the logic to manage different cloud providers.

func (*Store) Checkpoints added in v1.0.0

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

Checkpoints encapsulate the logic to manage different cloud providers.

func (*Store) ClearMaintenanceWindow added in v1.5.0

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

ClearMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) CloudProviderAccessRoles added in v1.11.0

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

CloudProviderAccessRoles encapsulates the logic to manage different cloud providers.

func (*Store) CloudProviderRegions added in v1.14.0

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

CloudProviderRegions encapsulates the logic to manage different cloud providers.

func (*Store) Collect added in v0.5.0

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

Collect encapsulate the logic to manage different cloud providers.

func (*Store) ConnectOrganizations added in v1.20.0

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

CreateLinkConnection encapsulate the logic to manage different cloud providers.

func (*Store) Container added in v1.4.1

func (s *Store) Container(projectID, containerID string) (*atlas.Container, error)

Container encapsulates the logic to manage different cloud providers.

func (*Store) ContainersByProvider added in v1.4.1

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

ContainersByProvider encapsulates the logic to manage different cloud providers.

func (*Store) ContinuousRestoreJobs added in v0.0.4

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

ContinuousRestoreJobs encapsulate the logic to manage different cloud providers.

func (*Store) ContinuousSnapshots added in v0.0.4

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

ContinuousSnapshots encapsulate the logic to manage different cloud providers.

func (*Store) CreateAgentAPIKey added in v1.4.0

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

CreateAgentAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateAlertConfiguration

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

CreateAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) CreateBlockstore added in v1.7.0

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

CreateBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) CreateCloudProviderAccessRole added in v1.11.0

func (s *Store) CreateCloudProviderAccessRole(groupID, provider string) (*atlas.AWSIAMRole, error)

CreateCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

func (*Store) CreateCluster

func (s *Store) CreateCluster(cluster *atlas.AdvancedCluster) (*atlas.AdvancedCluster, error)

CreateCluster encapsulate the logic to manage different cloud providers.

func (*Store) CreateContainer added in v1.4.1

func (s *Store) CreateContainer(projectID string, container *atlas.Container) (*atlas.Container, error)

CreateContainer encapsulates the logic to manage different cloud providers.

func (*Store) CreateContinuousRestoreJob added in v0.0.4

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

CreateContinuousRestoreJob encapsulate the logic to manage different cloud providers.

func (*Store) CreateDBUserCertificate added in v1.3.0

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

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

func (*Store) CreateDataLake added in v1.2.0

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

CreateDataLake encapsulate the logic to manage different cloud providers.

func (*Store) CreateDatabaseRole added in v1.11.0

func (s *Store) CreateDatabaseRole(groupID string, role *atlas.CustomDBRole) (*atlas.CustomDBRole, error)

CreateDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) CreateDatabaseUser

func (s *Store) CreateDatabaseUser(user *atlas.DatabaseUser) (*atlas.DatabaseUser, error)

CreateDatabaseUser encapsulate the logic to manage different cloud providers.

func (*Store) CreateFileSystems added in v1.8.0

CreateFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) CreateGlobalAPIKey added in v1.4.1

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

CreateGlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateGlobalAPIKeyWhitelist added in v1.4.1

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

CreateGlobalAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

func (*Store) CreateIndex added in v0.2.0

func (s *Store) CreateIndex(projectID, clusterName string, index *atlas.IndexConfiguration) error

CreateIndex encapsulate the logic to manage different cloud providers.

func (*Store) CreateIntegration added in v1.5.0

func (s *Store) CreateIntegration(projectID, integrationType string, integration *atlas.ThirdPartyIntegration) (*atlas.ThirdPartyIntegrations, error)

CreateIntegration encapsulates the logic to manage different cloud providers.

func (*Store) CreateInterfaceEndpoint added in v1.4.0

func (s *Store) CreateInterfaceEndpoint(projectID, provider, endpointServiceID string, createRequest *atlas.InterfaceEndpointConnection) (*atlas.InterfaceEndpointConnection, error)

CreateInterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) CreateInterfaceEndpointDeprecated added in v1.11.0

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

CreateInterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) CreateLinkToken added in v1.20.0

func (s *Store) CreateLinkToken(orgID string, linkToken *atlas.TokenCreateRequest) (*atlas.LinkToken, error)

CreateLinkToken encapsulate the logic to manage different cloud providers.

func (*Store) CreateLiveMigrationCutover added in v1.20.0

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

StartLiveMigrationCutover encapsulate the logic to manage different cloud providers.

func (*Store) CreateOnlineArchive added in v1.2.0

func (s *Store) CreateOnlineArchive(projectID, clusterName string, archive *atlas.OnlineArchive) (*atlas.OnlineArchive, error)

CreateOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) CreateOplog added in v1.8.0

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

CreateOplog encapsulates the logic to manage different cloud providers.

func (*Store) CreateOpsManagerMaintenanceWindow added in v1.5.0

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

CreateOpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganization

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

CreateOrganization encapsulate the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKey added in v1.4.0

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

CreateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKeyAccessList added in v1.11.0

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

CreateOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.

func (*Store) CreateOrganizationAPIKeyWhitelist deprecated added in v1.20.0

func (s *Store) CreateOrganizationAPIKeyWhitelist(orgID, apiKeyID string, opts []*atlas.WhitelistAPIKeysReq) (*atlas.WhitelistAPIKeys, error)

CreateOrganizationAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

Deprecated: kept until Ops Manager 4.4 reaches EOL.

func (*Store) CreateOwner

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

CreateOwner encapsulate the logic to manage different cloud providers.

func (*Store) CreatePeeringConnection added in v1.4.1

func (s *Store) CreatePeeringConnection(projectID string, peer *atlas.Peer) (*atlas.Peer, error)

CreatePeeringConnection encapsulates the logic to manage different cloud providers.

func (*Store) CreatePrivateEndpoint added in v1.4.0

func (s *Store) CreatePrivateEndpoint(projectID string, r *atlas.PrivateEndpointConnection) (*atlas.PrivateEndpointConnection, error)

CreatePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) CreatePrivateEndpointDeprecated added in v1.11.0

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

CreatePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) CreateProject

func (s *Store) CreateProject(name, orgID, regionUsageRestrictions string, defaultAlertSettings *bool, opts *atlas.CreateProjectOptions) (interface{}, error)

CreateProject encapsulates the logic to manage different cloud providers.

func (*Store) CreateProjectAPIKey added in v1.4.0

func (s *Store) CreateProjectAPIKey(projectID string, apiKeyInput *atlas.APIKeyInput) (*atlas.APIKey, error)

CreateProjectAPIKey creates an API Keys for a project.

func (*Store) CreateProjectIPAccessList added in v1.8.0

func (s *Store) CreateProjectIPAccessList(entries []*atlas.ProjectIPAccessList) (*atlas.ProjectIPAccessLists, error)

CreateProjectIPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) CreateRestoreJobs added in v1.0.0

func (s *Store) CreateRestoreJobs(projectID, clusterName string, request *atlas.CloudProviderSnapshotRestoreJob) (*atlas.CloudProviderSnapshotRestoreJob, error)

CreateSnapshotRestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) CreateS3Blockstores added in v1.8.0

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

CreateS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) CreateSearchIndexes added in v1.3.0

func (s *Store) CreateSearchIndexes(projectID, clusterName string, index *atlas.SearchIndex) (*atlas.SearchIndex, error)

CreateSearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) CreateServerlessInstance added in v1.20.0

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

CreateServerlessInstance encapsulate the logic to manage different cloud providers.

func (*Store) CreateSnapshot added in v1.4.1

func (s *Store) CreateSnapshot(projectID, clusterName string, request *atlas.CloudProviderSnapshot) (*atlas.CloudProviderSnapshot, error)

CreateSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) CreateSync added in v1.8.0

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

CreateSync encapsulates the logic to manage different cloud providers.

func (*Store) CreateTeam added in v1.5.0

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

CreateTeam encapsulates the logic to manage different cloud providers.

func (*Store) CreateUser added in v1.5.0

func (s *Store) CreateUser(user *UserRequest) (interface{}, error)

CreateUser encapsulates the logic to manage different cloud providers.

func (*Store) CreateValidation added in v1.20.0

func (s *Store) CreateValidation(groupID string, liveMigration *atlas.LiveMigration) (*atlas.Validation, error)

CreateValidation encapsulate the logic to manage different cloud providers.

func (*Store) DBUserCertificates added in v1.3.0

func (s *Store) DBUserCertificates(projectID, username string) ([]atlas.UserCertificate, error)

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

func (*Store) DataLake added in v1.2.0

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

DataLake encapsulate the logic to manage different cloud providers.

func (*Store) DataLakeCreatePrivateEndpoint added in v1.22.0

func (s *Store) DataLakeCreatePrivateEndpoint(projectID string, r *atlas.PrivateLinkEndpointDataLake) (*atlas.PrivateLinkEndpointDataLakeResponse, error)

DataLakeCreatePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakeDeletePrivateEndpoint added in v1.22.0

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

DataLakeDeletePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakePrivateEndpoint added in v1.22.0

func (s *Store) DataLakePrivateEndpoint(projectID, privateLinkID string) (*atlas.PrivateLinkEndpointDataLake, error)

DataLakePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DataLakePrivateEndpoints added in v1.22.0

func (s *Store) DataLakePrivateEndpoints(projectID string) (*atlas.PrivateLinkEndpointDataLakeResponse, error)

DataLakePrivateEndpoints encapsulates the logic to manage different cloud providers.

func (*Store) DataLakes added in v1.2.0

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

DataLakes encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseRole added in v1.11.0

func (s *Store) DatabaseRole(groupID, roleName string) (*atlas.CustomDBRole, error)

DatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseRoles added in v1.11.0

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

DatabaseRoles encapsulate the logic to manage different cloud providers.

func (*Store) DatabaseUser

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

func (*Store) DatabaseUsers

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

func (*Store) DeauthorizeCloudProviderAccessRoles added in v1.11.0

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

DeauthorizeCloudProviderAccessRoles encapsulates the logic to manage different cloud providers.

func (*Store) DefaultMongoDBVersion added in v1.11.0

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

CreateCloudProviderAccessRole encapsulates the logic to manage different cloud providers.

func (*Store) DeferMaintenanceWindow added in v1.5.0

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

DeferMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) DeleteAgentAPIKey added in v1.4.0

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

DeleteAgentAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteAlertConfiguration

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

DeleteAlertConfiguration encapsulate the logic to manage different cloud providers.

func (*Store) DeleteBlockstore added in v1.7.0

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

DeleteBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) DeleteCluster

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

DeleteCluster encapsulate the logic to manage different cloud providers.

func (*Store) DeleteCollectionJob added in v0.5.0

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

DeleteCollectionJob encapsulate the logic to manage different cloud providers.

func (*Store) DeleteContainer added in v1.4.1

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

DeleteContainer encapsulates the logic to manage different cloud providers.

func (*Store) DeleteDataLake added in v1.2.0

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

DeleteDataLake encapsulate the logic to manage different cloud providers.

func (*Store) DeleteDatabaseRole added in v1.11.0

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

DeleteDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) DeleteDatabaseUser

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

func (*Store) DeleteFileSystem added in v1.7.0

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

DeleteFileSystem encapsulates the logic to manage different cloud providers.

func (*Store) DeleteGlobalAPIKey added in v1.4.1

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

DeleteGlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteGlobalAPIKeyWhitelist added in v1.4.1

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

DeleteGlobalAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

func (*Store) DeleteIntegration added in v1.5.0

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

DeleteIntegration encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInterfaceEndpoint added in v1.4.0

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

DeleteInterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInterfaceEndpointDeprecated added in v1.11.0

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

DeleteInterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) DeleteInvitation added in v1.18.0

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

DeleteInvitation encapsulate the logic to manage different cloud providers.

func (*Store) DeleteLDAPConfiguration added in v1.6.0

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

DeleteLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) DeleteLinkToken added in v1.20.0

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

DeleteLinkToken encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOnlineArchive added in v1.2.0

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

DeleteOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOplog added in v1.8.0

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

DeleteOplog encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOpsManagerMaintenanceWindow added in v1.5.0

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

DeleteOpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOrganization

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

DeleteOrganization encapsulate the logic to manage different cloud providers.

func (*Store) DeleteOrganizationAPIKey added in v1.4.0

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

DeleteOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOrganizationAPIKeyAccessList added in v1.11.0

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

DeleteOrganizationAPIKeyAccessList encapsulates the logic to manage different cloud providers.

func (*Store) DeleteOrganizationAPIKeyWhitelist deprecated added in v1.4.0

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

DeleteOrganizationAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

Deprecated: kept until Ops Manager 4.4 reaches EOL.

func (*Store) DeletePeeringConnection added in v1.4.1

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

DeletePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeletePrivateEndpoint added in v1.4.0

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

DeletePrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) DeletePrivateEndpointDeprecated added in v1.11.0

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

DeletePrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProject

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

DeleteProject encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProjectAPIKey added in v1.4.0

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

DeleteProjectAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) DeleteProjectIPAccessList added in v1.8.0

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

DeleteProjectIPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) DeleteProjectInvitation added in v1.18.0

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

DeleteProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) DeleteS3Blockstore added in v1.8.0

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

DeleteS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) DeleteSearchIndex added in v1.3.0

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

DeleteSearchIndex encapsulate the logic to manage different cloud providers.

func (*Store) DeleteServerlessInstance added in v1.20.0

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

DeleteServerlessInstance encapsulate the logic to manage different cloud providers.

func (*Store) DeleteSnapshot added in v1.4.1

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

DeleteSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) DeleteSync added in v1.8.0

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

DeleteSync encapsulates the logic to manage different cloud providers.

func (*Store) DeleteTeam added in v1.5.0

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

DeleteTeam encapsulates the logic to manage different cloud providers.

func (*Store) DeleteTeamFromProject added in v1.5.0

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

DeleteTeamFromProject encapsulates the logic to manage different cloud providers.

func (*Store) DeleteUser added in v1.5.0

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

DeleteUser encapsulates the logic to manage different cloud providers.

func (*Store) DeleteUserFromProject added in v1.5.0

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

DeleteProject encapsulates the logic to manage different cloud providers.

func (*Store) DescribeBlockstore added in v1.7.0

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

DescribeBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) DescribeCustomDNS added in v1.6.0

func (s *Store) DescribeCustomDNS(projectID string) (*atlas.AWSCustomDNSSetting, error)

DescribeCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) DescribeFileSystem added in v1.7.0

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

DescribeFileSystem encapsulates the logic to manage different cloud providers.

func (*Store) DisableCustomDNS added in v1.6.0

func (s *Store) DisableCustomDNS(projectID string) (*atlas.AWSCustomDNSSetting, error)

DisableCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) DisablePerformanceAdvisorSlowOperationThreshold added in v1.20.0

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

DisablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.

func (*Store) DisableX509Configuration added in v1.3.0

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

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

func (*Store) DownloadArchive added in v1.0.0

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

DownloadArchive encapsulate the logic to manage different cloud providers.

func (*Store) DownloadLog added in v0.2.0

func (s *Store) DownloadLog(groupID, host, name string, out io.Writer, opts *atlas.DateRangetOptions) error

ProcessDisks encapsulate the logic to manage different cloud providers.

func (*Store) DownloadLogJob added in v0.5.0

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

DownloadLogJob encapsulate the logic to manage different cloud providers.

func (*Store) DownloadServerUsageReport added in v1.8.0

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

DownloadServerUsageReport encapsulate the logic to manage different cloud providers.

func (*Store) EnableCustomDNS added in v1.6.0

func (s *Store) EnableCustomDNS(projectID string) (*atlas.AWSCustomDNSSetting, error)

EnableCustomDNS encapsulates the logic to manage different cloud providers.

func (*Store) EnablePerformanceAdvisorSlowOperationThreshold added in v1.20.0

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

EnablePerformanceAdvisorSlowOperationThreshold encapsulates the logic to manage different cloud providers.

func (*Store) FeatureControlPolicies added in v1.8.0

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

FeatureControlPolicies encapsulate the logic to manage different cloud providers.

func (*Store) GCPContainers added in v1.4.1

func (s *Store) GCPContainers(projectID string) ([]atlas.Container, error)

GCPContainers encapsulates the logic to manage different cloud providers.

func (*Store) GenerateSnapshot added in v1.8.0

func (s *Store) GenerateSnapshot() error

GenerateSnapshot encapsulates the logic to manage different cloud providers.

func (*Store) GetAutomationConfig

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

GetAutomationConfig encapsulate the logic to manage different cloud providers.

func (*Store) GetAutomationStatus added in v0.0.4

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

func (*Store) GetBackupConfig added in v1.7.0

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

GetBackupConfig encapsulates the logic to manage different cloud providers.

func (*Store) GetLDAPConfiguration added in v1.6.0

func (s *Store) GetLDAPConfiguration(projectID string) (*atlas.LDAPConfiguration, error)

GetLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) GetOplog added in v1.8.0

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

GetOplog encapsulates the logic to manage different cloud providers.

func (*Store) GetOrgProjects

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

GetOrgProjects encapsulates the logic to manage different cloud providers.

func (*Store) GetS3Blockstore added in v1.8.0

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

ListS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) GetSnapshotSchedule added in v1.8.0

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

GetSnapshotSchedule encapsulates the logic to manage different cloud providers.

func (*Store) GetStatusLDAPConfiguration added in v1.6.0

func (s *Store) GetStatusLDAPConfiguration(projectID, requestID string) (*atlas.LDAPConfiguration, error)

GetStatusLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) GetSync added in v1.8.0

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

GetSync encapsulates the logic to manage different cloud providers.

func (*Store) GetValidationStatus added in v1.20.0

func (s *Store) GetValidationStatus(groupID, liveMigrationID string) (*atlas.Validation, error)

GetValidationStatus encapsulate the logic to manage different cloud providers.

func (*Store) GetVersionManifest added in v1.7.0

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

GetVersionManifest encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKey added in v1.4.1

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

GlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeyWhitelist added in v1.4.1

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

GlobalAPIKeyWhitelist encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeyWhitelists added in v1.4.1

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

GlobalAPIKeyWhitelists encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAPIKeys added in v1.4.1

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

GlobalAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) GlobalAlerts added in v0.1.0

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

GlobalAlerts encapsulate the logic to manage different cloud providers.

func (*Store) Host added in v0.2.0

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

Host encapsulate the logic to manage different cloud providers.

func (*Store) HostByHostname added in v1.9.0

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

HostByHostname encapsulate the logic to manage different cloud providers.

func (*Store) HostDatabaseMeasurements added in v1.4.1

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

HostDatabaseMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) HostDatabases added in v0.2.0

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

HostDatabases encapsulate the logic to manage different cloud providers.

func (*Store) HostDiskMeasurements added in v0.2.0

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

HostDiskMeasurements encapsulates the logic to manage different cloud providers.

func (*Store) HostDisks added in v0.2.0

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

HostDisks encapsulate the logic to manage different cloud providers.

func (*Store) HostMeasurements added in v0.2.0

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

HostMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) Hosts added in v0.2.0

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

Hosts encapsulate the logic to manage different cloud providers.

func (*Store) IPAccessList added in v1.8.0

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

IPAccessList encapsulate the logic to manage different cloud providers.

func (*Store) IPInfo added in v1.14.0

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

IPInfo encapsulates the logic to manage different cloud providers.

func (*Store) Integration added in v1.5.0

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

Integration encapsulates the logic to manage different cloud providers.

func (*Store) Integrations added in v1.5.0

func (s *Store) Integrations(projectID string) (*atlas.ThirdPartyIntegrations, error)

Integrations encapsulates the logic to manage different cloud providers.

func (*Store) InterfaceEndpoint added in v1.4.0

func (s *Store) InterfaceEndpoint(projectID, cloudProvider, endpointServiceID, privateEndpointID string) (*atlas.InterfaceEndpointConnection, error)

InterfaceEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) InterfaceEndpointDeprecated added in v1.11.0

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

InterfaceEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) InviteUser added in v1.18.0

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

InviteUser encapsulate the logic to manage different cloud providers.

func (*Store) InviteUserToProject added in v1.18.0

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

InviteUserToProject encapsulate the logic to manage different cloud providers.

func (*Store) ListAllProjectClusters added in v0.1.0

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

ListAllProjectClusters encapsulate the logic to manage different cloud providers.

func (*Store) ListBackupConfigs added in v1.7.0

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

ListBackupConfigs encapsulates the logic to manage different cloud providers.

func (*Store) ListBlockstores added in v1.7.0

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

ListBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) ListFileSystems added in v1.7.0

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

ListFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) ListOplogs added in v1.8.0

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

ListOplogs encapsulates the logic to manage different cloud providers.

func (*Store) ListS3Blockstores added in v1.8.0

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

ListS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) ListSyncs added in v1.8.0

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

ListSyncs encapsulates the logic to manage different cloud providers.

func (*Store) LiveMigrationCreate added in v1.20.0

func (s *Store) LiveMigrationCreate(groupID string, liveMigration *atlas.LiveMigration) (*atlas.LiveMigration, error)

LiveMigrationCreate encapsulate the logic to manage different cloud providers.

func (*Store) LiveMigrationDescribe added in v1.20.0

func (s *Store) LiveMigrationDescribe(groupID, migrationID string) (*atlas.LiveMigration, error)

LiveMigrationCreate encapsulate the logic to manage different cloud providers.

func (*Store) LogCollectionJobs added in v0.5.0

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

LogCollectionJobs encapsulate the logic to manage different cloud providers.

func (*Store) MaintenanceWindow added in v1.5.0

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

MaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) MatcherFields added in v0.1.0

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

MatcherFields encapsulate the logic to manage different cloud providers.

func (*Store) OnlineArchive added in v1.2.0

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

OnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) OnlineArchives added in v1.2.0

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

OnlineArchives encapsulate the logic to manage different cloud providers.

func (*Store) OpsManagerCluster added in v1.6.0

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

OpsManagerCluster encapsulates the logic to manage different cloud providers.

func (*Store) OpsManagerMaintenanceWindow added in v1.5.0

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

OpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) OpsManagerMaintenanceWindows added in v1.5.0

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

OpsManagerMaintenanceWindows encapsulates the logic to manage different cloud providers.

func (*Store) Organization added in v1.1.0

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

Organization encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationAPIKey added in v1.4.0

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

OrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeyAccessLists added in v1.11.0

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

OrganizationAPIKeyAccessLists encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationAPIKeyWhitelists deprecated added in v1.4.0

func (s *Store) OrganizationAPIKeyWhitelists(orgID, apiKeyID string, opts *atlas.ListOptions) (*atlas.WhitelistAPIKeys, error)

OrganizationAPIKeyWhitelists encapsulates the logic to manage different cloud providers.

Deprecated: kept until Ops Manager 4.4 reaches EOL.

func (*Store) OrganizationAPIKeys added in v1.4.0

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

OrganizationAPIKeys encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationConnectionStatus added in v1.20.0

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

OrganizationsLinkStatus encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationEvents added in v0.1.0

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

OrganizationEvents encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationHostAssignments added in v1.8.0

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

OrganizationHostAssignments encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationInvitation added in v1.18.0

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

OrganizationInvitation encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationInvitations added in v1.18.0

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

OrganizationInvitations encapsulate the logic to manage different cloud providers.

func (*Store) OrganizationServerType added in v1.8.0

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

OrganizationServerType encapsulates the logic to manage different cloud providers.

func (*Store) OrganizationUsers added in v1.5.0

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

OrganizationUsers encapsulates the logic to manage different cloud providers.

func (*Store) Organizations added in v1.1.0

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

Organizations encapsulate the logic to manage different cloud providers.

func (*Store) PauseCluster added in v1.3.0

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

PauseCluster encapsulate the logic to manage different cloud providers.

func (*Store) PeeringConnection added in v1.4.1

func (s *Store) PeeringConnection(projectID, peerID string) (*atlas.Peer, error)

PeeringConnections encapsulates the logic to manage different cloud providers.

func (*Store) PeeringConnections added in v1.4.1

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

PeeringConnections encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorIndexes added in v1.6.0

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

PerformanceAdvisorIndexes encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorNamespaces added in v1.6.0

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

PerformanceAdvisorNamespaces encapsulates the logic to manage different cloud providers.

func (*Store) PerformanceAdvisorSlowQueries added in v1.6.0

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

PerformanceAdvisorSlowQueries encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpoint added in v1.4.0

func (s *Store) PrivateEndpoint(projectID, provider, privateLinkID string) (*atlas.PrivateEndpointConnection, error)

PrivateEndpoint encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpointDeprecated added in v1.11.0

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

PrivateEndpointDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpoints added in v1.4.0

func (s *Store) PrivateEndpoints(projectID, provider string, opts *atlas.ListOptions) ([]atlas.PrivateEndpointConnection, error)

PrivateEndpoints encapsulates the logic to manage different cloud providers.

func (*Store) PrivateEndpointsDeprecated added in v1.11.0

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

PrivateEndpointsDeprecated encapsulates the logic to manage different cloud providers.

func (*Store) ProcessDatabaseMeasurements added in v1.4.1

func (s *Store) ProcessDatabaseMeasurements(groupID, host string, port int, dbName string, opts *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDatabaseMeasurements, error)

ProcessDiskMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDatabases added in v0.2.0

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

ProcessDatabases encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDiskMeasurements added in v0.2.0

func (s *Store) ProcessDiskMeasurements(groupID, host string, port int, partitionName string, opts *atlas.ProcessMeasurementListOptions) (*atlas.ProcessDiskMeasurements, error)

ProcessDiskMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) ProcessDisks added in v0.2.0

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

ProcessDisks encapsulates the logic to manage different cloud providers.

func (*Store) ProcessMeasurements added in v0.2.0

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

ProcessMeasurements encapsulate the logic to manage different cloud providers.

func (*Store) Processes added in v0.2.0

func (s *Store) Processes(groupID string, opts *atlas.ProcessesListOptions) ([]*atlas.Process, error)

Processes encapsulate the logic to manage different cloud providers.

func (*Store) Project added in v1.1.0

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

Project encapsulates the logic to manage different cloud providers.

func (*Store) ProjectAPIKeys added in v1.4.0

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

ProjectAPIKeys returns the API Keys for a specific project.

func (*Store) ProjectClusters

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

ProjectClusters encapsulate the logic to manage different cloud providers.

func (*Store) ProjectEvents added in v0.1.0

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

ProjectEvents encapsulate the logic to manage different cloud providers.

func (*Store) ProjectHostAssignments added in v1.8.0

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

ProjectHostAssignments encapsulates the logic to manage different cloud providers.

func (*Store) ProjectIPAccessLists added in v1.8.0

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

ProjectIPAccessLists encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitation added in v1.18.0

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

ProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) ProjectInvitations added in v1.18.0

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

ProjectInvitations encapsulate the logic to manage different cloud providers.

func (*Store) ProjectServerType added in v1.8.0

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

ProjectServerType encapsulates the logic to manage different cloud providers.

func (*Store) ProjectTeams added in v1.5.0

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

ProjectTeams encapsulates the logic to manage different cloud providers.

func (*Store) ProjectUsers added in v1.5.0

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

ProjectUsers lists all IAM users in a project.

func (*Store) Projects added in v1.1.0

func (s *Store) Projects(opts *atlas.ListOptions) (interface{}, error)

Projects encapsulates the logic to manage different cloud providers.

func (*Store) RegionalizedPrivateEndpointSetting added in v1.11.0

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

RegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.

func (*Store) RemoveUserFromTeam added in v1.5.0

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

RemoveUserFromTeam encapsulates the logic to manage different cloud providers.

func (*Store) RestoreJobs added in v1.0.0

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

SnapshotRestoreJobs encapsulates the logic to manage different cloud providers.

func (*Store) SampleDataStatus added in v1.15.0

func (s *Store) SampleDataStatus(groupID, id string) (*atlas.SampleDatasetJob, error)

SampleData encapsulate the logic to manage different cloud providers.

func (*Store) SaveLDAPConfiguration added in v1.6.0

func (s *Store) SaveLDAPConfiguration(projectID string, ldap *atlas.LDAPConfiguration) (*atlas.LDAPConfiguration, error)

SaveLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) SaveX509Configuration added in v1.3.0

func (s *Store) SaveX509Configuration(projectID, certificate string) (*atlas.CustomerX509, error)

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

func (*Store) SearchIndex added in v1.3.0

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

SearchIndex encapsulate the logic to manage different cloud providers.

func (*Store) SearchIndexes added in v1.3.0

func (s *Store) SearchIndexes(projectID, clusterName, dbName, collName string, opts *atlas.ListOptions) ([]*atlas.SearchIndex, error)

SearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) ServerlessInstance added in v1.20.0

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

ServerlessInstance encapsulates the logic to manage different cloud providers.

func (*Store) ServerlessInstances added in v1.20.0

func (s *Store) ServerlessInstances(projectID string, listOps *atlas.ListOptions) (*atlas.ClustersResponse, error)

ServerlessInstances encapsulates the logic to manage different cloud providers.

func (*Store) ServiceVersion added in v1.20.0

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

ServiceVersion encapsulates the logic to manage different cloud providers.

func (*Store) Snapshot added in v1.4.1

func (s *Store) Snapshot(projectID, clusterName, snapshotID string) (*atlas.CloudProviderSnapshot, error)

Snapshot encapsulates the logic to manage different cloud providers.

func (*Store) Snapshots added in v1.0.0

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

Snapshots encapsulates the logic to manage different cloud providers.

func (*Store) StartCluster added in v1.3.0

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

StartCluster encapsulate the logic to manage different cloud providers.

func (*Store) StartMonitoring added in v1.8.0

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

StartMonitoring encapsulates the logic to manage different cloud providers.

func (*Store) StopMonitoring added in v1.8.0

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

StopMonitoring encapsulates the logic to manage different cloud providers.

func (*Store) TeamByID added in v1.5.0

func (s *Store) TeamByID(orgID, teamID string) (*atlas.Team, error)

TeamByID encapsulates the logic to manage different cloud providers.

func (*Store) TeamByName added in v1.5.0

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

TeamByName encapsulates the logic to manage different cloud providers.

func (*Store) TeamUsers added in v1.5.0

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

TeamUsers encapsulates the logic to manage different cloud providers.

func (*Store) Teams added in v1.5.0

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

Teams encapsulates the logic to manage different cloud providers.

func (*Store) UpdateAlertConfiguration added in v0.1.0

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

func (*Store) UpdateAutomationConfig

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

UpdateAutomationConfig encapsulate the logic to manage different cloud providers.

func (*Store) UpdateBackupConfig added in v1.7.0

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

UpdateBackupConfig encapsulates the logic to manage different cloud providers.

func (*Store) UpdateBlockstore added in v1.7.0

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

UpdateBlockstore encapsulates the logic to manage different cloud providers.

func (*Store) UpdateCluster

func (s *Store) UpdateCluster(projectID, name string, cluster *atlas.AdvancedCluster) (*atlas.AdvancedCluster, error)

UpdateCluster encapsulate the logic to manage different cloud providers.

func (*Store) UpdateDataLake added in v1.2.0

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 added in v1.11.0

func (s *Store) UpdateDatabaseRole(groupID, roleName string, role *atlas.CustomDBRole) (*atlas.CustomDBRole, error)

UpdateDatabaseRole encapsulate the logic to manage different cloud providers.

func (*Store) UpdateDatabaseUser

func (s *Store) UpdateDatabaseUser(user *atlas.DatabaseUser) (*atlas.DatabaseUser, error)

func (*Store) UpdateFeatureControlPolicy added in v1.8.0

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

UpdateFeatureControlPolicy encapsulate the logic to manage different cloud providers.

func (*Store) UpdateFileSystems added in v1.8.0

UpdateFileSystems encapsulates the logic to manage different cloud providers.

func (*Store) UpdateGlobalAPIKey added in v1.4.1

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

UpdateGlobalAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) UpdateMaintenanceWindow added in v1.5.0

func (s *Store) UpdateMaintenanceWindow(projectID string, maintenanceWindow *atlas.MaintenanceWindow) error

UpdateMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOnlineArchive added in v1.2.0

func (s *Store) UpdateOnlineArchive(projectID, clusterName string, archive *atlas.OnlineArchive) (*atlas.OnlineArchive, error)

UpdateOnlineArchive encapsulate the logic to manage different cloud providers.

func (*Store) UpdateOplog added in v1.8.0

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

UpdateOplog encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOpsManagerMaintenanceWindow added in v1.5.0

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

UpdateOpsManagerMaintenanceWindow encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationAPIKey added in v1.4.0

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

UpdateOrganizationAPIKey encapsulates the logic to manage different cloud providers.

func (*Store) UpdateOrganizationInvitation added in v1.18.0

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

OrganizationInvitations encapsulate the logic to manage different cloud providers.

func (*Store) UpdateOrganizationServerType added in v1.8.0

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

UpdateOrganizationServerType encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProjectInvitation added in v1.18.0

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

UpdateProjectInvitation encapsulate the logic to manage different cloud providers.

func (*Store) UpdateProjectServerType added in v1.8.0

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

UpdateProjectServerType encapsulates the logic to manage different cloud providers.

func (*Store) UpdateProjectTeamRoles added in v1.5.0

func (s *Store) UpdateProjectTeamRoles(projectID, teamID string, team *atlas.TeamUpdateRoles) ([]atlas.TeamRoles, error)

UpdateProjectTeamRoles encapsulates the logic to manage different cloud providers.

func (*Store) UpdateRegionalizedPrivateEndpointSetting added in v1.11.0

func (s *Store) UpdateRegionalizedPrivateEndpointSetting(projectID string, enabled bool) (*atlas.RegionalizedPrivateEndpointSetting, error)

UpdateRegionalizedPrivateEndpointSetting encapsulates the logic to manage different cloud providers.

func (*Store) UpdateS3Blockstores added in v1.8.0

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

UpdateS3Blockstores encapsulates the logic to manage different cloud providers.

func (*Store) UpdateSearchIndexes added in v1.3.0

func (s *Store) UpdateSearchIndexes(projectID, clusterName, indexID string, index *atlas.SearchIndex) (*atlas.SearchIndex, error)

UpdateSearchIndexes encapsulate the logic to manage different cloud providers.

func (*Store) UpdateSnapshotSchedule added in v1.8.0

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

UpdateSnapshotSchedule encapsulates the logic to manage different cloud providers.

func (*Store) UpdateSync added in v1.8.0

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

UpdateSync encapsulates the logic to manage different cloud providers.

func (*Store) UpdateVersionManifest added in v1.7.0

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

UpdateVersionManifest encapsulates the logic to manage different cloud providers.

func (*Store) UpgradeAgent added in v0.5.0

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

UpgradeAgent encapsulates the logic to manage different cloud providers.

func (*Store) UserByID added in v1.5.0

func (s *Store) UserByID(userID string) (interface{}, error)

UserByID encapsulates the logic to manage different cloud providers.

func (*Store) UserByName added in v1.5.0

func (s *Store) UserByName(username string) (interface{}, error)

UserByName encapsulates the logic to manage different cloud providers.

func (*Store) VerifyLDAPConfiguration added in v1.6.0

func (s *Store) VerifyLDAPConfiguration(projectID string, ldap *atlas.LDAP) (*atlas.LDAPConfiguration, error)

VerifyLDAPConfiguration encapsulates the logic to manage different cloud providers.

func (*Store) X509Configuration added in v1.3.0

func (s *Store) X509Configuration(projectID string) (*atlas.CustomerX509, error)

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

type SyncsCreator added in v1.8.0

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

type SyncsDeleter added in v1.8.0

type SyncsDeleter interface {
	DeleteSync(string) error
}

type SyncsDescriber added in v1.8.0

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

type SyncsLister added in v1.8.0

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

type SyncsUpdater added in v1.8.0

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

type TeamAdder added in v1.5.0

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

type TeamCreator added in v1.5.0

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

type TeamDeleter added in v1.5.0

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

type TeamDescriber added in v1.5.0

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

type TeamLister added in v1.5.0

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

type TeamRolesUpdater added in v1.5.0

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

type TeamUserLister added in v1.5.0

type TeamUserLister interface {
	TeamUsers(string, string) (interface{}, error)
}

type TeamUserRemover added in v1.5.0

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

type TransportConfigGetter added in v1.15.0

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

TransportConfigGetter interface for Ops Manager custom network settings.

type UserCreator added in v1.5.0

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

type UserDeleter added in v1.5.0

type UserDeleter interface {
	DeleteUser(string) error
}

type UserDescriber added in v1.5.0

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

type UserLister added in v1.5.0

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

type UserRequest added in v1.5.0

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

type VersionManifestGetter added in v1.7.0

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

type VersionManifestUpdater added in v1.7.0

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

type VersionManifestUpdaterServiceVersionDescriber added in v1.20.0

type VersionManifestUpdaterServiceVersionDescriber interface {
	VersionManifestUpdater
	ServiceVersionDescriber
}

type X509CertificateConfDescriber added in v1.3.0

type X509CertificateConfDescriber interface {
	X509Configuration(string) (*atlas.CustomerX509, error)
}

type X509CertificateConfDisabler added in v1.3.0

type X509CertificateConfDisabler interface {
	DisableX509Configuration(string) error
}

type X509CertificateConfSaver added in v1.3.0

type X509CertificateConfSaver interface {
	SaveX509Configuration(string, string) (*atlas.CustomerX509, error)
}

Jump to

Keyboard shortcuts

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