packer-cn/vendor/google.golang.org/appengine/cloudsql/cloudsql_vm.go

17 lines
346 B
Go
Raw Normal View History

2016-02-04 20:33:36 -05:00
// Copyright 2013 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package cloudsql
import (
"errors"
"net"
)
func connect(instance string) (net.Conn, error) {
return nil, errors.New("cloudsql: not supported in Managed VMs")
}