// Info returns the status of all migrations
195873
func Info(d Driver, migrations []Migration) ([]MigrationInfo, error) {
	info := []MigrationInfo{}
	records, err := d.All()

	if err != nil {
		return info, err
	}

	sort.Sort(sort.Reverse(byMigrationRecordVersion(records)))

	for _, migration := range migrations {
		info = append(info, MigrationInfo{
			Status:    getStatus(records, migration),
			Error:     nil,
			Migration: migration,
		})
	}

	return info, nil
}
427644
func (l *Logger) Info(format string, a ...interface{}) {
	l.Log(LevelInfo, format, a...)
}
474380
func (l *Logger) Info(a ...interface{}) {
	l.logAll(optInfo, fmt.Sprint(a...))
}
1359360
func (n *Node) Info(ctx context.Context) (*enginetypes.Info, error) {
	if n.Engine == nil {
		return nil, ErrNilEngine
	}
	return n.Engine.Info(ctx)
}
66439
func (l *DefaultLogger) Info(msg string, args ...interface{}) {
	l.Log(LevelInfo, msg, args)
}
360779
func (e *Entry) Info(msg string) {
	e.Logger.log(InfoLevel, e, msg)
}
1104883
func Info(pkgs []string) ([]Pkg, error) {
	v := url.Values{}
	v.Set("type", "info")
	for _, arg := range pkgs {
		v.Add("arg[]", arg)
	}
	return get(v)
}
1290500
func (c *dumpCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "dump-model",
		Purpose: "Displays the database agnostic representation of the model.",
		Doc:     dumpModelHelpDoc,
	})
}
899983
func (c *importFilesystemCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "import-filesystem",
		Purpose: "Imports a filesystem into the model.",
		Doc:     importFilesystemCommandDoc,
		Args:    importFilesystemCommandAgs,
	})
}
91016
func (e *Errors) Info(format string, a ...interface{}) error {
	return e.add(Info, format, a...)
}
402056
func (env *Env) Info() (*EnvInfo, error) {
	var _info C.MDB_envinfo
	ret := C.mdb_env_info(env._env, &_info)
	if ret != success {
		return nil, operrno("mdb_env_info", ret)
	}
	info := EnvInfo{
		MapSize:    int64(_info.me_mapsize),
		LastPNO:    int64(_info.me_last_pgno),
		LastTxnID:  int64(_info.me_last_txnid),
		MaxReaders: uint(_info.me_maxreaders),
		NumReaders: uint(_info.me_numreaders),
	}
	return &info, nil
}
902546
func (l *Logger) Info(msg string) error {
	return l.logMsg(nil, LEVEL_INFO, msg)
}
1107313
func (p *peer) Info() *PeerInfo {
	hash, td := p.Head()

	return &PeerInfo{
		Version:    p.version,
		Difficulty: td,
		Head:       hash.Hex(),
	}
}
1076153
func (l *logger) Info(v ...interface{}) {
	f := extractFields(&v)
	l.send(LevelInfo, 2, fmt.Sprint(v...), f)
}
953168
func (l *Logger) Info(msg string, v ...interface{}) {
	l.Log("INFO", msg, v)
}
843196
func Info(msg string, args ...interface{}) Response {
	return Response{
		Status:  StatusPass,
		Message: fmt.Sprintf(msg, args...),
	}
}
1201259
func (a *API) Info(args params.BackupsInfoArgs) (params.BackupsMetadataResult, error) {
	backups, closer := newBackups(a.backend)
	defer closer.Close()

	meta, file, err := backups.Get(args.ID)
	if err != nil {
		return params.BackupsMetadataResult{}, errors.Trace(err)
	}
	if file != nil {
		// We don't use the archive file but need to close it
		// nonetheless or else we'll leak sockets.
		defer file.Close()
	}

	return CreateResult(meta, ""), nil
}