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
- func AtlasBackupsCheckpointsListBuilder() *cobra.Command
- func Builder() *cobra.Command
- func CheckpointsBuilder() *cobra.Command
- func EnableBuilder() *cobra.Command
- func RestoresBuilder() *cobra.Command
- func RestoresListBuilder() *cobra.Command
- func RestoresStartBuilder() *cobra.Command
- type CheckpointsListOpts
- type EnableOpts
- type RestoresListOpts
- type RestoresStartOpts
Constants ¶
const ( Backup = "Manage continuous backups for your project." Checkpoints = "Manage backup checkpoints for your project." ListCheckpoints = "List continuous backup checkpoints for your project." Restores = "Manage restore jobs for your project." ListRestores = "Lists restore jobs for a project and cluster." StartRestore = "Start a restore job for a project and cluster." )
Variables ¶
This section is empty.
Functions ¶
func AtlasBackupsCheckpointsListBuilder ¶
mongocli atlas backup(s) checkpoint(s) list <clusterId> [--projectId projectId]
func CheckpointsBuilder ¶
func EnableBuilder ¶ added in v1.6.0
mongocli ops-manager monitoring enable <hostname> [--projectId projectId]
func RestoresBuilder ¶
func RestoresListBuilder ¶
mongocli atlas backup(s) restore(s) job(s) list <clusterId> [--page N] [--limit N]
func RestoresStartBuilder ¶
mongocli atlas backup(s) restore(s) job(s) start
Types ¶
type CheckpointsListOpts ¶
type CheckpointsListOpts struct { cli.GlobalOpts cli.OutputOpts cli.ListOpts // contains filtered or unexported fields }
func (*CheckpointsListOpts) Run ¶
func (opts *CheckpointsListOpts) Run() error
type EnableOpts ¶ added in v1.6.0
type EnableOpts struct { cli.GlobalOpts // contains filtered or unexported fields }
func (*EnableOpts) Run ¶ added in v1.6.0
func (opts *EnableOpts) Run() error
type RestoresListOpts ¶
type RestoresListOpts struct { cli.GlobalOpts cli.OutputOpts cli.ListOpts // contains filtered or unexported fields }
func (*RestoresListOpts) Run ¶
func (opts *RestoresListOpts) Run() error
type RestoresStartOpts ¶
type RestoresStartOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
func (*RestoresStartOpts) Run ¶
func (opts *RestoresStartOpts) Run() error