users

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 13 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

func Builder

func Builder() *cobra.Command

func DeleteBuilder

func DeleteBuilder() *cobra.Command

mongocli iam users(s) delete <ID> [--force]

func DescribeBuilder

func DescribeBuilder() *cobra.Command

mongocli iam user(s) describe --id id --username USERNAME

func InviteBuilder

func InviteBuilder() *cobra.Command

func PreRunE

func PreRunE(cbs ...cmdOpt) error

PreRunE is a function to call before running the command, It calls any additional function pass as a callback

Types

type DeleteOpts

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

func (*DeleteOpts) Run

func (opts *DeleteOpts) Run() error

type DescribeOpts

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

func (*DescribeOpts) Run

func (opts *DescribeOpts) Run() error

type InviteOpts

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

func (*InviteOpts) Prompt added in v1.7.0

func (opts *InviteOpts) Prompt() error

func (*InviteOpts) Run

func (opts *InviteOpts) Run() error

Jump to

Keyboard shortcuts

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