cloudmesh.mongo.MongoDocker¶
Module Contents¶
Classes¶
-
class
cloudmesh.mongo.MongoDocker.MongoDocker(configuration='~/.cloudmesh/cloudmesh.yaml', dryrun=False)¶ Bases:
object-
run(self, script, verbose=True, terminate=False)¶
-
create(self)¶ Starts the MongoDBd Container :return:
-
ssh(self, auth=True)¶ Starts the MongoDBd Container :return:
-
start(self, auth=True)¶ Starts the MongoDBd Container :return:
-
execute(self, command, auth=False, terminate=False, verbose=False)¶ Starts the MongoDBd Container :return:
-
sh(self, command)¶
-
stop(self)¶ Stops the MongoDBd Container :return:
-
wait(self, delay=20, verbose=False)¶ test if mongo is available :return:
-
create_admin(self)¶ Creates the admin user in the Container :return:
-
kill(self, name=None)¶ Kills all Containers :return:
-
ps(self)¶ Creates the Mongo image :return:
-
install(self, clean=False, pull=True)¶ Creates the Mongo image :return:
-
login(self)¶
-
initialize(self)¶
-
status(self, auth=False)¶ Status of the the MongoDB Container :return: DIct with the status
-
-
cloudmesh.mongo.MongoDocker.mongo¶