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.
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.
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.
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 ¶
- func AtlasAlertConfigsFieldsBuilder() *cobra.Command
- func AtlasAlertsAcknowledgeBuilder() *cobra.Command
- func AtlasAlertsBuilder() *cobra.Command
- func AtlasAlertsConfigBuilder() *cobra.Command
- func AtlasAlertsConfigCreateBuilder() *cobra.Command
- func AtlasAlertsConfigDeleteBuilder() *cobra.Command
- func AtlasAlertsConfigListBuilder() *cobra.Command
- func AtlasAlertsConfigUpdateBuilder() *cobra.Command
- func AtlasAlertsConfigsFieldsBuilder() *cobra.Command
- func AtlasAlertsDescribeBuilder() *cobra.Command
- func AtlasAlertsListBuilder() *cobra.Command
- func AtlasBackupsBuilder() *cobra.Command
- func AtlasBackupsCheckpointsBuilder() *cobra.Command
- func AtlasBackupsCheckpointsListBuilder() *cobra.Command
- func AtlasBackupsRestoresBuilder() *cobra.Command
- func AtlasBackupsRestoresListBuilder() *cobra.Command
- func AtlasBackupsRestoresStartBuilder() *cobra.Command
- func AtlasBackupsSnapshotsBuilder() *cobra.Command
- func AtlasBackupsSnapshotsListBuilder() *cobra.Command
- func AtlasBuilder() *cobra.Command
- func AtlasClustersBuilder() *cobra.Command
- func AtlasClustersCreateBuilder() *cobra.Command
- func AtlasClustersDeleteBuilder() *cobra.Command
- func AtlasClustersDescribeBuilder() *cobra.Command
- func AtlasClustersListBuilder() *cobra.Command
- func AtlasClustersUpdateBuilder() *cobra.Command
- func AtlasDBUsersBuilder() *cobra.Command
- func AtlasDBUsersCreateBuilder() *cobra.Command
- func AtlasDBUsersDeleteBuilder() *cobra.Command
- func AtlasDBUsersListBuilder() *cobra.Command
- func AtlasDBUsersUpdateBuilder() *cobra.Command
- func AtlasEventsBuilder() *cobra.Command
- func AtlasEventsListBuilder() *cobra.Command
- func AtlasWhitelistBuilder() *cobra.Command
- func AtlasWhitelistCreateBuilder() *cobra.Command
- func AtlasWhitelistDeleteBuilder() *cobra.Command
- func AtlasWhitelistDescribeBuilder() *cobra.Command
- func AtlasWhitelistListBuilder() *cobra.Command
- func CloudManagerBuilder() *cobra.Command
- func CloudManagerClustersApplyBuilder() *cobra.Command
- func CloudManagerClustersBuilder() *cobra.Command
- func CloudManagerClustersCreateBuilder() *cobra.Command
- func CloudManagerClustersDescribeBuilder() *cobra.Command
- func CloudManagerClustersListBuilder() *cobra.Command
- func CloudManagerClustersShutdownBuilder() *cobra.Command
- func CloudManagerClustersStartupBuilder() *cobra.Command
- func CloudManagerClustersUpdateBuilder() *cobra.Command
- func ConfigBuilder() *cobra.Command
- func ConfigSetBuilder() *cobra.Command
- func IAMBuilder() *cobra.Command
- func IAMOrganizationsBuilder() *cobra.Command
- func IAMOrganizationsCreateBuilder() *cobra.Command
- func IAMOrganizationsDeleteBuilder() *cobra.Command
- func IAMOrganizationsListBuilder() *cobra.Command
- func IAMProjectsBuilder() *cobra.Command
- func IAMProjectsCreateBuilder() *cobra.Command
- func IAMProjectsDeleteOpts() *cobra.Command
- func IAMProjectsListBuilder() *cobra.Command
- func OpsManagerAgentsListBuilder() *cobra.Command
- func OpsManagerAlertsGlobalListBuilder() *cobra.Command
- func OpsManagerAutomationBuilder() *cobra.Command
- func OpsManagerAutomationShowBuilder() *cobra.Command
- func OpsManagerAutomationStatusBuilder() *cobra.Command
- func OpsManagerBuilder() *cobra.Command
- func OpsManagerDBUsersBuilder() *cobra.Command
- func OpsManagerDBUsersCreateBuilder() *cobra.Command
- func OpsManagerDBUsersDeleteBuilder() *cobra.Command
- func OpsManagerDBUsersListBuilder() *cobra.Command
- func OpsManagerGlobalBuilder() *cobra.Command
- func OpsManagerOwnerBuilder() *cobra.Command
- func OpsManagerOwnerCreateBuilder() *cobra.Command
- func OpsManagerSecurityBuilder() *cobra.Command
- func OpsManagerSecurityEnableBuilder() *cobra.Command
- func OpsManagerServersBuilder() *cobra.Command
- type OpsManagerServersListOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtlasAlertConfigsFieldsBuilder ¶ added in v0.1.0
func AtlasAlertsAcknowledgeBuilder ¶ added in v0.1.0
mongocli atlas alerts acknowledge alertID --projectId projectId
func AtlasAlertsBuilder ¶
func AtlasAlertsConfigBuilder ¶ added in v0.1.0
func AtlasAlertsConfigCreateBuilder ¶ added in v0.1.0
mongocli atlas alerts config(s) create [--event event] [--enabled enabled][--matcherField fieldName --matcherOperator operator --matcherValue value] [--notificationType type --notificationDelayMin min --notificationEmailEnabled --notificationSmsEnabled --notificationUsername username --notificationTeamID id [--notificationEmailAddress email --notificationMobileNumber number --notificationChannelName channel --notificationApiToken --notificationRegion region] [--projectId projectId]
func AtlasAlertsConfigDeleteBuilder ¶ added in v0.1.0
mongocli atlas alerts config(s) delete id --projectId projectId [--confirm]
func AtlasAlertsConfigListBuilder ¶ added in v0.1.0
mongocli atlas alerts config(s) list --projectId projectId [--page N] [--limit N]
func AtlasAlertsConfigUpdateBuilder ¶ added in v0.1.0
mongocli atlas alerts config(s) update [--event event] [--enabled enabled][--matcherField fieldName --matcherOperator operator --matcherValue value] [--notificationType type --notificationDelayMin min --notificationEmailEnabled --notificationSmsEnabled --notificationUsername username --notificationTeamID id [--notificationEmailAddress email --notificationMobileNumber number --notificationChannelName channel --notificationApiToken --notificationRegion region] [--projectId projectId]
func AtlasAlertsConfigsFieldsBuilder ¶ added in v0.1.0
mongocli atlas alerts config(s) fields type
func AtlasAlertsDescribeBuilder ¶ added in v0.1.0
mongocli atlas alerts describe alertID --projectId projectId
func AtlasAlertsListBuilder ¶ added in v0.1.0
mongocli atlas alerts list [--status status] [--projectId projectId] [--page N] [--limit N]
func AtlasBackupsBuilder ¶ added in v0.0.4
func AtlasBackupsCheckpointsBuilder ¶ added in v0.0.4
func AtlasBackupsCheckpointsListBuilder ¶ added in v0.0.4
mongocli atlas backup(s) checkpoint(s) list clusterName [--projectId projectId]
func AtlasBackupsRestoresBuilder ¶ added in v0.0.4
func AtlasBackupsRestoresListBuilder ¶ added in v0.0.4
mongocli atlas backup(s) restore(s) job(s) list [clusterName|clusterId] [--page N] [--limit N]
func AtlasBackupsRestoresStartBuilder ¶ added in v0.0.4
mongocli atlas backup(s) restore(s) job(s) start
func AtlasBackupsSnapshotsBuilder ¶ added in v0.0.4
func AtlasBackupsSnapshotsListBuilder ¶ added in v0.0.4
mongocli atlas backups snapshots list <clusterId|clusterName> --projectId projectId [--page N] [--limit N]
func AtlasBuilder ¶
func AtlasClustersBuilder ¶
func AtlasClustersCreateBuilder ¶
AtlasClustersCreateBuilder builds a cobra.Command that can run as: create <name> --projectId projectId --provider AWS|GCP|AZURE --region regionName [--members N] [--instanceSize M#] [--diskSizeGB N] [--backup] [--mdbVersion]
func AtlasClustersDeleteBuilder ¶
mongocli atlas cluster(s) delete name --projectId projectId [--confirm]
func AtlasClustersDescribeBuilder ¶
mongocli atlas cluster(s) describe [name] --projectId projectId
func AtlasClustersListBuilder ¶
mongocli atlas cluster(s) list --projectId projectId [--page N] [--limit N]
func AtlasClustersUpdateBuilder ¶
mongocli atlas cluster(s) update name --projectId projectId [--instanceSize M#] [--diskSizeGB N] [--mdbVersion]
func AtlasDBUsersBuilder ¶
func AtlasDBUsersCreateBuilder ¶
mongocli atlas dbuser(s) create --username username --password password --role roleName@dbName [--projectId projectId]
func AtlasDBUsersDeleteBuilder ¶
mongocli atlas dbuser(s) delete <username> --force
func AtlasDBUsersListBuilder ¶
mongocli atlas dbuser(s) list --projectId projectId [--page N] [--limit N]
func AtlasDBUsersUpdateBuilder ¶
mongocli atlas dbuser(s) update username [--password password] [--role roleName@dbName] [--projectId projectId]
func AtlasEventsBuilder ¶ added in v0.1.0
func AtlasEventsListBuilder ¶ added in v0.1.0
mongocli atlas event(s) list [--projectId projectId] [--source source][--type type] [--page N] [--limit N] [--mindate minDate] [--maxDate maxDate]
func AtlasWhitelistBuilder ¶
func AtlasWhitelistCreateBuilder ¶
mongocli atlas whitelist(s) create value --type cidrBlock|ipAddress [--comment comment] [--projectId projectId]
func AtlasWhitelistDeleteBuilder ¶
mongocli atlas whitelist delete <entry> --force
func AtlasWhitelistDescribeBuilder ¶
mongocli atlas whitelist(s) describe [name] --projectId projectId
func AtlasWhitelistListBuilder ¶
mongocli atlas whitelist(s) list --projectId projectId [--page N] [--limit N]
func CloudManagerBuilder ¶
func CloudManagerClustersApplyBuilder ¶
mongocli cloud-manager cluster(s) apply --projectId projectId --file myfile.yaml
func CloudManagerClustersCreateBuilder ¶
mongocli cloud-manager cluster(s) create --projectId projectId --file myfile.yaml
func CloudManagerClustersDescribeBuilder ¶
mongocli cloud-manager cluster(s) describe [name] --projectId projectId
func CloudManagerClustersListBuilder ¶
mongocli cloud-manager cluster(s) list --projectId projectId
func CloudManagerClustersShutdownBuilder ¶
mongocli cloud-manager cluster(s) shutdown [name] --projectId projectId [--force]
func CloudManagerClustersStartupBuilder ¶
mongocli cloud-manager cluster(s) startup [name] --projectId projectId [--force]
func CloudManagerClustersUpdateBuilder ¶
mongocli cloud-manager cluster(s) update --projectId projectId --file myfile.yaml
func ConfigBuilder ¶
func ConfigSetBuilder ¶
func IAMBuilder ¶
func IAMOrganizationsBuilder ¶
func IAMOrganizationsCreateBuilder ¶
mongocli iam organization(s) create name [--orgId orgId]
func IAMOrganizationsDeleteBuilder ¶
mongocli iam organization(s) delete [id] [--orgId orgId]
func IAMOrganizationsListBuilder ¶
mongocli iam organizations(s) list [--orgId orgId]
func IAMProjectsBuilder ¶
func IAMProjectsCreateBuilder ¶
mongocli iam project(s) create name [--orgId orgId]
func IAMProjectsDeleteOpts ¶
mongocli iam project(s) delete [id] [--orgId orgId]
func IAMProjectsListBuilder ¶
mongocli iam project(s) list [--orgId orgId]
func OpsManagerAgentsListBuilder ¶ added in v0.0.4
mongocli om server(s) list [--projectId projectId]
func OpsManagerAlertsGlobalListBuilder ¶ added in v0.1.0
mongocli om|cm alert(s) global list [--status status]
func OpsManagerAutomationBuilder ¶ added in v0.0.4
func OpsManagerAutomationShowBuilder ¶ added in v0.1.0
mongocli ops-manager automation show [--projectId projectId]
func OpsManagerAutomationStatusBuilder ¶ added in v0.0.4
mongocli ops-manager automation status [--projectId projectId]
func OpsManagerBuilder ¶
func OpsManagerDBUsersBuilder ¶ added in v0.1.0
func OpsManagerDBUsersCreateBuilder ¶ added in v0.1.0
mongocli atlas dbuser(s) create --username username --password password --role roleName@dbName [--projectId projectId]
func OpsManagerDBUsersDeleteBuilder ¶ added in v0.1.0
mongocli atlas dbuser(s) delete <username> [--projectId projectId]
func OpsManagerDBUsersListBuilder ¶ added in v0.1.0
mongocli om|cm dbuser(s) list [--projectId projectId]
func OpsManagerGlobalBuilder ¶ added in v0.1.0
func OpsManagerOwnerBuilder ¶
func OpsManagerOwnerCreateBuilder ¶
mongocli ops-manager owner create --email username --password password --firstName firstName --lastName lastName --whitelistIps whitelistIp
func OpsManagerSecurityBuilder ¶ added in v0.1.0
func OpsManagerSecurityEnableBuilder ¶ added in v0.1.0
mongocli ops-manager security enable[MONGODB-CR|SCRAM-SHA-256] [--projectId projectId]
func OpsManagerServersBuilder ¶ added in v0.0.4
Types ¶
type OpsManagerServersListOpts ¶ added in v0.0.4
type OpsManagerServersListOpts struct {
// contains filtered or unexported fields
}
func (OpsManagerServersListOpts) OrgID ¶ added in v0.0.4
func (opts OpsManagerServersListOpts) OrgID() string
OrgID returns the organization id. If the id is empty, it caches it after querying config.
func (OpsManagerServersListOpts) ProjectID ¶ added in v0.0.4
func (opts OpsManagerServersListOpts) ProjectID() string
ProjectID returns the project id. If the id is empty, it caches it after querying config.
func (*OpsManagerServersListOpts) Run ¶ added in v0.0.4
func (opts *OpsManagerServersListOpts) Run() error
Source Files ¶
- atlas.go
- atlas_alerts.go
- atlas_alerts_acknowledge.go
- atlas_alerts_config.go
- atlas_alerts_config_create.go
- atlas_alerts_config_delete.go
- atlas_alerts_config_fields.go
- atlas_alerts_config_fields_type.go
- atlas_alerts_config_list.go
- atlas_alerts_config_update.go
- atlas_alerts_describe.go
- atlas_alerts_list.go
- atlas_backups.go
- atlas_backups_checkpoints.go
- atlas_backups_checkpoints_list.go
- atlas_backups_restores.go
- atlas_backups_restores_list.go
- atlas_backups_restores_start.go
- atlas_backups_snapshots.go
- atlas_backups_snapshots_list.go
- atlas_clusters.go
- atlas_clusters_create.go
- atlas_clusters_delete.go
- atlas_clusters_describe.go
- atlas_clusters_list.go
- atlas_clusters_update.go
- atlas_dbusers.go
- atlas_dbusers_create.go
- atlas_dbusers_delete.go
- atlas_dbusers_list.go
- atlas_dbusers_update.go
- atlas_events.go
- atlas_events_list.go
- atlas_whitelist.go
- atlas_whitelist_create.go
- atlas_whitelist_delete.go
- atlas_whitelist_describe.go
- atlas_whitelist_list.go
- cli.go
- cloud_manager.go
- cloud_manager_clusters.go
- cloud_manager_clusters_apply.go
- cloud_manager_clusters_create.go
- cloud_manager_clusters_describe.go
- cloud_manager_clusters_list.go
- cloud_manager_clusters_shutdown.go
- cloud_manager_clusters_startup.go
- cloud_manager_clusters_update.go
- config.go
- config_set.go
- errors.go
- iam.go
- iam_organizations.go
- iam_organizations_create.go
- iam_organizations_delete.go
- iam_organizations_list.go
- iam_projects.go
- iam_projects_create.go
- iam_projects_delete.go
- iam_projects_list.go
- ops_manager.go
- ops_manager_alerts_global_list.go
- ops_manager_automation.go
- ops_manager_automation_show.go
- ops_manager_automation_status.go
- ops_manager_dbusers.go
- ops_manager_dbusers_create.go
- ops_manager_dbusers_delete.go
- ops_manager_dbusers_list.go
- ops_manager_global.go
- ops_manager_owner.go
- ops_manager_owner_create.go
- ops_manager_security.go
- ops_manager_security_enable.go
- ops_manager_servers.go
- ops_manager_servers_list.go