db

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ACTIVITY_STREAM = "ativity_stream"
View Source
const AD_HOC_COMMANDS = "ad_hoc_commands"
View Source
const CREDENTIALS = "credentials"
View Source
const GROUPS = "groups"
View Source
const HOSTS = "hosts"
View Source
const INVENTORIES = "inventories"
View Source
const INVENTORY_SCRIPT = "inventory_scripts"
View Source
const INVENTORY_SOURCES = "inventory_sources"
View Source
const JOBS = "jobs"
View Source
const JOB_TEMPLATES = "job_templates"
View Source
const NOTIFICATIONS = "notifications"
View Source
const NOTIFICATION_TEMPLATES = "notification_templates"
View Source
const ORGANIZATIONS = "organizations"
View Source
const PROJECTS = "projects"
View Source
const TEAMS = "teams"
View Source
const USERS = "users"

Variables

View Source
var MongoDb *mgo.Database

Functions

func ActivityStream

func ActivityStream() *mgo.Collection

func C

func C(c string) *mgo.Collection

func Connect

func Connect() error

Mongodb database

func CreateIndexes

func CreateIndexes()

func Credentials

func Credentials() *mgo.Collection

func Groups

func Groups() *mgo.Collection

func Hosts

func Hosts() *mgo.Collection

func Inventories

func Inventories() *mgo.Collection

func JobTemplates

func JobTemplates() *mgo.Collection

func Jobs

func Jobs() *mgo.Collection

func Organizations

func Organizations() *mgo.Collection

collection shortcut methods

func Projects

func Projects() *mgo.Collection

func Teams

func Teams() *mgo.Collection

func Users

func Users() *mgo.Collection

Types

This section is empty.

Jump to

Keyboard shortcuts

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