clusters

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 17 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

View Source
const (
	Clusters        = "Manage clusters for your project."
	CreateCluster   = "Create a MongoDB cluster."
	ApplyCluster    = "Apply a new cluster configuration for your project."
	DescribeCluster = "Describe a cluster."
	ListClusters    = "List clusters for your project."
	UpdateCluster   = "Update a MongoDB cluster."
	ShutdownCluster = "Shutdown a cluster for your project."
	StartUpCluster  = "Start up a cluster for your project."
	Indexes         = "Manage cluster rolling indexes for your project."
	CreateIndex     = "Create a rolling index for your MongoDB cluster."
	DeleteCluster   = "Completely removes a cluster from your project."
	UnmanageCluster = "Stop managing a cluster via automation."
)

Variables

This section is empty.

Functions

func ApplyBuilder

func ApplyBuilder() *cobra.Command

mongocli cloud-manager cluster(s) apply --projectId projectId --file myfile.yaml

func Builder

func Builder() *cobra.Command

func CreateBuilder

func CreateBuilder() *cobra.Command

mongocli cloud-manager cluster(s) create --projectId projectId --file myfile.yaml

func DeleteBuilder

func DeleteBuilder() *cobra.Command

mongocli cloud-manager cluster(s) delete <name> --projectId projectId [--force]

func DescribeBuilder

func DescribeBuilder() *cobra.Command

mongocli cloud-manager cluster(s) describe <name> --projectId projectId

func IndexesBuilder

func IndexesBuilder() *cobra.Command

func IndexesCreateBuilder

func IndexesCreateBuilder() *cobra.Command

mongocli cloud-manager cluster(s) index(es) create [name] --rsName rsName --dbName dbName [--key field:type] --projectId projectId --locale locale --caseFirst caseFirst --alternate alternate --maxVariable maxVariable --strength strength --caseLevel caseLevel --numericOrdering numericOrdering --normalization normalization --backwards backwards --unique unique --sparse sparse --background background

func ListBuilder

func ListBuilder() *cobra.Command

mongocli cloud-manager cluster(s) list --projectId projectId

func ShutdownBuilder

func ShutdownBuilder() *cobra.Command

mongocli cloud-manager cluster(s) shutdown <name> --projectId projectId [--force]

func StartupBuilder

func StartupBuilder() *cobra.Command

mongocli cloud-manager cluster(s) startup <name> --projectId projectId [--force]

func UnmanageBuilder added in v1.9.0

func UnmanageBuilder() *cobra.Command

mongocli cloud-manager cluster(s) unmanage <name> --projectId projectId [--force]

func UpdateBuilder

func UpdateBuilder() *cobra.Command

mongocli cloud-manager cluster(s) update --projectId projectId --file myfile.yaml

Types

type ApplyOpts

type ApplyOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*ApplyOpts) Run

func (opts *ApplyOpts) Run() error

type CreateOpts

type CreateOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*CreateOpts) Run

func (opts *CreateOpts) Run() error

type DeleteOpts

type DeleteOpts struct {
	cli.GlobalOpts
	cli.WatchOpts
	*cli.DeleteOpts
	// contains filtered or unexported fields
}

func (*DeleteOpts) Run

func (opts *DeleteOpts) Run() error

type DescribeOpts

type DescribeOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	// contains filtered or unexported fields
}

func (*DescribeOpts) Run

func (opts *DescribeOpts) Run() error

type IndexesCreateOpts

type IndexesCreateOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*IndexesCreateOpts) Run

func (opts *IndexesCreateOpts) Run() error

type ListOpts

type ListOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	// contains filtered or unexported fields
}

func (*ListOpts) Run

func (opts *ListOpts) Run() error

type ShutdownOpts

type ShutdownOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*ShutdownOpts) Confirm

func (opts *ShutdownOpts) Confirm() error

func (*ShutdownOpts) Run

func (opts *ShutdownOpts) Run() error

type StartupOpts

type StartupOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*StartupOpts) Confirm

func (opts *StartupOpts) Confirm() error

func (*StartupOpts) Run

func (opts *StartupOpts) Run() error

type UnmanageOpts added in v1.9.0

type UnmanageOpts struct {
	cli.GlobalOpts
	*cli.DeleteOpts
	// contains filtered or unexported fields
}

func (*UnmanageOpts) Run added in v1.9.0

func (opts *UnmanageOpts) Run() error

type UpdateOpts

type UpdateOpts struct {
	cli.GlobalOpts
	// contains filtered or unexported fields
}

func (*UpdateOpts) Run

func (opts *UpdateOpts) Run() error

Jump to

Keyboard shortcuts

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