func (l Limits) ConvertedCpuLimit() int64 {
	if l.CpuLimit == 0 {
		return -1
	}
	return l.CpuLimit * 1000
}
ConvertedCpuLimit converts the CPU limit for a server build into a number
that can be better understood by the Docker environment. If there is no limit
set, return -1 which will indicate to Docker that it has unlimited CPU quota.
package environment
import (
	"fmt"
	"math"
	"strconv"
	"github.com/apex/log"
	"github.com/docker/docker/api/types/container"
	"github.com/pterodactyl/wings/config"
)
type Mount struct {
	Default bool `json:"-"`
	Target string `json:"target"`
	Source string `json:"source"`
	ReadOnly bool `json:"read_only"`
}
type Limits struct {
	MemoryLimit int64 `json:"memory_limit"`
	Swap int64 `json:"swap"`
	IoWeight uint16 `json:"io_weight"`
	CpuLimit int64 `json:"cpu_limit"`
	DiskSpace int64 `json:"disk_space"`
	Threads string `json:"threads"`
	OOMDisabled bool `json:"oom_disabled"`
}