// Info returns information about an existing snapshot.
436743
func (dfs *DistributedFilesystem) Info(snapshotID string) (*SnapshotInfo, error) {
	vol, info, err := dfs.getSnapshotVolumeAndInfo(snapshotID)
	if err != nil {
		return nil, err
	}
	return readSnapshotInfo(vol, info)
}
447790
func (e Entry) Info(v ...interface{}) {
	e.Message = fmt.Sprint(v...)
	e.Level = InfoLevel
	HandleEntry(e)
}
8140
func (l *Logger) Info(msg string, fields map[string]interface{}) error {
	return l.Log(LvInfo, msg, fields)
}
983481
func (s *SimpleLogger) Info(v ...interface{}) {
	if s.level <= core.LOG_INFO {
		s.INFO.Output(2, fmt.Sprint(v...))
	}
	return
}
1107313
func (p *peer) Info() *PeerInfo {
	hash, td := p.Head()

	return &PeerInfo{
		Version:    p.version,
		Difficulty: td,
		Head:       hash.Hex(),
	}
}
586723
func (w *Writer) Info(m string) (err error) {
	_, err = w.writeAndRetry(LOG_INFO, m)
	return err
}
1001721
func GetInfo(ctx context.Context, key string) (string, snapshots.Info, snapshots.Usage, error) {
	var (
		id uint64
		su snapshots.Usage
		si = snapshots.Info{
			Name: key,
		}
	)
	err := withSnapshotBucket(ctx, key, func(ctx context.Context, bkt, pbkt *bolt.Bucket) error {
		getUsage(bkt, &su)
		return readSnapshot(bkt, &id, &si)
	})
	if err != nil {
		return "", snapshots.Info{}, snapshots.Usage{}, err
	}

	return fmt.Sprintf("%d", id), si, su, nil
}
386086
func (s *logger) Info(description string, keysAndValues ...interface{}) {
	s.info(1, description, keysAndValues...)
}
1167950
func (v *NFSVolume) SnapshotInfo(label string) (*volume.SnapshotInfo, error) {
	return nil, ErrNotSupported
}
114460
func (p *Peer) Info() *PeerInfo {
	// Gather the protocol capabilities
	var caps []string
	for _, cap := range p.Caps() {
		caps = append(caps, cap.String())
	}
	// Assemble the generic peer metadata
	info := &PeerInfo{
		Enode:     p.Node().String(),
		ID:        p.ID().String(),
		Name:      p.Name(),
		Caps:      caps,
		Protocols: make(map[string]interface{}),
	}
	info.Network.LocalAddress = p.LocalAddr().String()
	info.Network.RemoteAddress = p.RemoteAddr().String()
	info.Network.Inbound = p.rw.is(inboundConn)
	info.Network.Trusted = p.rw.is(trustedConn)
	info.Network.Static = p.rw.is(staticDialedConn)

	// Gather all the running protocol infos
	for _, proto := range p.running {
		protoInfo := interface{}("unknown")
		if query := proto.Protocol.PeerInfo; query != nil {
			if metadata := query(p.ID()); metadata != nil {
				protoInfo = metadata
			} else {
				protoInfo = "handshake"
			}
		}
		info.Protocols[proto.Name] = protoInfo
	}
	return info
}
891306
func (a *adapter) Info(msg string, data ...interface{}) {
	a.Logger.Info(msg, data...)
}
1038623
func (s *grpcAPIService) Info(ctx context.Context, req *InfoRequest) (*InfoResponse, error) {
	return s.api.Info(ctx, req), nil
}
1302370
func (sl *SysLogger) Info(info, msg string) {
	sl.writer.Info(info + " " + msg)
}
737417
func (s *Stream) SnapshotInfo(startTime, endTime time.Time, limit int) (streamSnapshotInfo StreamSnapshotInfoResponse, err error) {
	err = s.live.LiveStreamSnapshotInfo(s.StreamName, startTime, endTime, limit, &streamSnapshotInfo)
	return
}
203488
func (c *commitCommand) Info() *cmd.Info {
	info := &cmd.Info{
		Name:    "commit",
		Args:    "<branch name>",
		Purpose: commitSummary,
		Doc:     commitDoc,
	}
	return jujucmd.Info(info)
}
902546
func (l *Logger) Info(msg string) error {
	return l.logMsg(nil, LEVEL_INFO, msg)
}
501992
func (s *Service) Info() DefinitionInfo {
	return DefinitionInfo{Name: s.Name, Line: s.Line}
}