You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: versioning.go
    path of file: ./repos/storj/private/testplanet
    
    the code of the file until where you have to start completion: // Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information

package testplanet

import (
	"fmt"
	"os"
	"path/filepath"
	"time"

	"storj.io/common/version"
	"storj.io/storj/private/version/checker"
	"storj.io/storj/versioncontrol"
)

// newVersionControlServer initializes the Versioning Server.
func (planet *Planet) newVersionControlServer() (peer *versioncontrol.Peer, err error) {
	prefix := "versioncontrol"
	log := planet.log.Named(prefix)
	dbDir := filepath.Join(planet.directory, prefix)

	if err := os.MkdirAll(dbDir, 0700); err != nil {
		return nil, err
	}

	var minimum, suggested versioncontrol.VersionConfig
	minimum.Version = "v0.0.1"
	suggested.Version = "v0.0.1"

	defaultProcessConfig := versioncontrol.ProcessConfig{
		Minimum:   minimum,
		Suggested: suggested,
		Rollout: versioncontrol.RolloutConfig{
			Seed: "0000000000000000000000000000000000000000000000000000000000000001",
		},
	}
	config := &versioncontrol.Config{
		Address: planet.NewListenAddress(),
		Versions: versioncontrol.OldVersionConfig{
			Satellite:   "v0.0.1",
			Storagenode: "v0.0.1",
			Uplink:      "v0.0.1",
			Gateway:     "v0.0.1",
			Identity:    "v0.0.1",
		},
		Binary: versioncontrol.ProcessesConfig{
			Satellite:          defaultProcessConfig,
			Storagenode:        defaultProcessConfig,
			StoragenodeUpdater: defaultProcessConfig,
			Uplink:          
    
func (planet *Planet) newVersionControlServer() (peer *versioncontrol.Peer, err error) {
	prefix := "versioncontrol"
	log := planet.log.Named(prefix)
	dbDir := filepath.Join(planet.directory, prefix)

	if err := os.MkdirAll(dbDir, 0700); err != nil {
		return nil, err
	}

	var minimum, suggested versioncontrol.VersionConfig
	minimum.Version = "v0.0.1"
	suggested.Version = "v0.0.1"

	defaultProcessConfig := versioncontrol.ProcessConfig{
		Minimum:   minimum,
		Suggested: suggested,
		Rollout: versioncontrol.RolloutConfig{
			Seed: "0000000000000000000000000000000000000000000000000000000000000001",
		},
	}
	config := &versioncontrol.Config{
		Address: planet.NewListenAddress(),
		Versions: versioncontrol.OldVersionConfig{
			Satellite:   "v0.0.1",
			Storagenode: "v0.0.1",
			Uplink:      "v0.0.1",
			Gateway:     "v0.0.1",
			Identity:    "v0.0.1",
		},
		Binary: versioncontrol.ProcessesConfig{
			Satellite:          defaultProcessConfig,
			Storagenode:        defaultProcessConfig,
			StoragenodeUpdater: defaultProcessConfig,
			Uplink:             defaultProcessConfig,
			Gateway:            defaultProcessConfig,
			Identity:           defaultProcessConfig,
		},
	}
	if planet.config.Reconfigure.VersionControl != nil {
		planet.config.Reconfigure.VersionControl(config)
	}
	peer, err = versioncontrol.New(log, config)
	if err != nil {
		return nil, err
	}

	log.Debug(" addr= " + peer.Addr())

	return peer, nil
}