atmcfg

package
Version: v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package atmcfg provides helpers for updating Ops Manager automation config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIndexConfig

func AddIndexConfig(out *opsmngr.AutomationConfig, newIndex *opsmngr.IndexConfig) error

AddIndexConfig adds an IndexConfig to the authentication config

func AddUser

func AddUser(out *opsmngr.AutomationConfig, u *opsmngr.MongoDBUser)

AddUser adds a MongoDBUser to the authentication config

func RemoveUser

func RemoveUser(out *opsmngr.AutomationConfig, username string, database string) error

RemoveUser removes a MongoDBUser from the authentication config

func Shutdown

func Shutdown(out *opsmngr.AutomationConfig, name string)

Shutdown disables all processes of the given cluster name

func Startup

func Startup(out *opsmngr.AutomationConfig, name string)

Startup enables all processes of the given cluster name

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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