store

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2020 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentLister added in v0.0.4

type AgentLister interface {
	Agents(string, string) (*opsmngr.Agents, 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 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 CheckpointsLister added in v0.0.4

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

type CloudManagerClustersLister added in v0.0.4

type CloudManagerClustersLister interface {
	AutomationGetter
	AllClusterLister
}

type ClusterCreator

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

type ClusterDeleter

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

type ClusterDescriber

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

type ClusterLister

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

type ClusterUpdater

type ClusterUpdater interface {
	UpdateCluster(string, string, *atlas.Cluster) (*atlas.Cluster, 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 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 EventLister added in v1.0.0

type EventLister interface {
	OrganizationEventLister
	ProjectEventLister
}

type GlobalAlertLister added in v0.1.0

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

type HostDatabaseLister added in v0.2.0

type HostDatabaseLister interface {
	HostDatabases(string, string, *atlas.ListOptions) (*atlas.ProcessDatabasesResponse, 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 IndexCreator added in v0.2.0

type IndexCreator interface {
	CreateIndex(string, string, *atlas.IndexConfiguration) 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 MatcherFieldsLister added in v0.1.0

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

type OrgProjectLister

type OrgProjectLister interface {
	GetOrgProjects(string) (interface{}, 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 OrganizationLister

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

type OwnerCreator

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

type ProcessDatabaseLister added in v0.2.0

type ProcessDatabaseLister interface {
	ProcessDatabases(string, string, int, *atlas.ListOptions) (*atlas.ProcessDatabasesResponse, 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 ProjectCreator

type ProjectCreator interface {
	CreateProject(string, string) (interface{}, error)
}

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 ProjectIPWhitelistCreator

type ProjectIPWhitelistCreator interface {
	CreateProjectIPWhitelist(*atlas.ProjectIPWhitelist) ([]atlas.ProjectIPWhitelist, error)
}

type ProjectIPWhitelistDeleter

type ProjectIPWhitelistDeleter interface {
	DeleteProjectIPWhitelist(string, string) error
}

type ProjectIPWhitelistDescriber

type ProjectIPWhitelistDescriber interface {
	IPWhitelist(string, string) (*atlas.ProjectIPWhitelist, error)
}

type ProjectIPWhitelistLister

type ProjectIPWhitelistLister interface {
	ProjectIPWhitelists(string, *atlas.ListOptions) ([]atlas.ProjectIPWhitelist, error)
}

type ProjectLister

type ProjectLister interface {
	Projects(*atlas.ListOptions) (interface{}, error)
	GetOrgProjects(string, *atlas.ListOptions) (interface{}, 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 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(c config.Config) (*Store, error)

New get the appropriate client for the profile/service selected

func NewUnauthenticated

func NewUnauthenticated(c config.Config) (*Store, error)

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) Agents added in v0.0.4

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

Agents encapsulate 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) 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) Cluster

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

Cluster encapsulate 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) 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) CreateAlertConfiguration

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

CreateAlertConfiguration encapsulate the logic to manage different cloud providers

func (*Store) CreateCloudProviderSnapshot added in v1.0.0

func (s *Store) CreateCloudProviderSnapshot(projectID, clusterName string, req *atlas.CloudProviderSnapshot) (*atlas.CloudProviderSnapshot, error)

CreateCloudProviderSnapshot encapsulate the logic to manage different cloud providers

func (*Store) CreateCluster

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

CreateCluster encapsulate 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) CreateDatabaseUser

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

CreateDatabaseUser encapsulate 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) CreateOrganization

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

CreateOrganization encapsulate the logic to manage different cloud providers

func (*Store) CreateOwner

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

CreateOwner encapsulate the logic to manage different cloud providers

func (*Store) CreateProject

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

CreateProject encapsulate the logic to manage different cloud providers

func (*Store) CreateProjectIPWhitelist

func (s *Store) CreateProjectIPWhitelist(whitelist *atlas.ProjectIPWhitelist) ([]atlas.ProjectIPWhitelist, error)

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

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

DeleteAlertConfiguration encapsulate the logic to manage different cloud providers

func (*Store) DeleteCloudProviderSnapshot added in v1.0.0

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

DeleteCloudProviderSnapshot encapsulate the logic to manage different cloud providers

func (*Store) DeleteCluster

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

DeleteCluster encapsulate the logic to manage different cloud providers

func (*Store) 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) DeleteDatabaseUser

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

func (*Store) DeleteOrganization

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

DeleteOrganization encapsulate the logic to manage different cloud providers

func (*Store) DeleteProject

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

DeleteProject encapsulate the logic to manage different cloud providers

func (*Store) DeleteProjectIPWhitelist

func (s *Store) DeleteProjectIPWhitelist(projectID, whitelistEntry string) error

DeleteProjectIPWhitelist encapsulate the logic to manage different cloud providers

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

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

GetOrgProjects encapsulate 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) 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 encapsulate 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) IPWhitelist

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

IPWhitelist 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) 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) MatcherFields added in v0.1.0

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

MatcherFields encapsulate 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) 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) Organizations added in v1.1.0

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

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

func (*Store) ProjectClusters

func (s *Store) ProjectClusters(projectID string, opts *atlas.ListOptions) ([]atlas.Cluster, 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) ProjectIPWhitelists

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

ProjectIPWhitelists encapsulate the logic to manage different cloud providers

func (*Store) Projects added in v1.1.0

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

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

ContinuousSnapshots encapsulate 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) UpdateCluster

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

UpdateCluster encapsulate the logic to manage different cloud providers

func (*Store) UpdateDatabaseUser

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

func (*Store) UpgradeAgent added in v0.5.0

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

UpgradeAgent encapsulate the logic to manage different cloud providers

Jump to

Keyboard shortcuts

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