github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/cloudsql/cloudsql_vm.go (about)

     1  // Copyright 2013 Google Inc. All rights reserved.
     2  // Use of this source code is governed by the Apache 2.0
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build !appengine
     6  
     7  package cloudsql
     8  
     9  import (
    10  	"errors"
    11  	"net"
    12  )
    13  
    14  func connect(instance string) (net.Conn, error) {
    15  	return nil, errors.New("cloudsql: not supported in Managed VMs")
    16  }