Documentation ¶
Overview ¶
Package atmcfg provides helpers for updating Ops Manager automation config.
Index ¶
- func AddIndexConfig(out *opsmngr.AutomationConfig, newIndex *opsmngr.IndexConfig) error
- func AddUser(out *opsmngr.AutomationConfig, u *opsmngr.MongoDBUser)
- func RemoveUser(out *opsmngr.AutomationConfig, username string, database string) error
- func Shutdown(out *opsmngr.AutomationConfig, name string)
- func Startup(out *opsmngr.AutomationConfig, name string)
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.
Click to show internal directories.
Click to hide internal directories.