agents

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 8 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.

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 (
	Agents        = "Manage MongoDB Agents."
	ListAgents    = "List available MongoDB Agents for your project."
	UpgradeAgents = "Upgrade MongoDB Agents to the latest available version."
)

Variables

This section is empty.

Functions

func Builder

func Builder() *cobra.Command

func ListBuilder added in v1.4.0

func ListBuilder() *cobra.Command

mongocli om agent(s) list [--projectId projectId]

func UpgradeBuilder

func UpgradeBuilder() *cobra.Command

mongocli ops-manager agents upgrade [--projectId projectId]

Types

type ListOpts added in v1.4.0

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

func (*ListOpts) Run added in v1.4.0

func (opts *ListOpts) Run() error

type UpgradeOpts

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

func (*UpgradeOpts) Run

func (opts *UpgradeOpts) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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