func NewMetadata() Metadata {
	return instance.NewMetadataAPI()
}
NewMetadata returns a new Metadata object to be used from a Scaleway instance
package scaleway
import (
	"errors"
	"fmt"
	"github.com/scaleway/scaleway-sdk-go/api/instance/v1"
	"github.com/scaleway/scaleway-sdk-go/scw"
)
const (
	MaxVolumesPerNode = 16
	DefaultVolumeType = instance.VolumeVolumeTypeBSSD
)
var (
	ErrMultipleVolumes = errors.New("multiple volumes exists with the same name")
	ErrDifferentSize = errors.New("volume exists with a different size")
	ErrVolumeNotFound = errors.New("volume not found")
	ErrSnapshotNotFound = errors.New("snapshot not found")
	ErrSnapshotSameName = errors.New("a snapshot with the same name exists")
	ErrSnapshotStillSnapshotting = errors.New("snapshot is still snapshotting")
)
type Scaleway struct {
	InstanceAPI
}
func NewScaleway(userAgent string) *Scaleway {
	client, err := scw.NewClient(
		scw.WithEnv(),
		scw.WithUserAgent(userAgent),
	)
	if err != nil {
		panic(err)
	}
	api := instance.NewAPI(client)
	return &Scaleway{api}
}
type Metadata interface {
	GetMetadata() (m *instance.Metadata, err error)
}