forked from TrueCloudLab/restic
Vendor dependencies for GCS
This commit is contained in:
parent
ba75a3884c
commit
8ca6a9a240
1228 changed files with 1769186 additions and 1 deletions
21
vendor/google.golang.org/appengine/aetest/instance_classic.go
generated
vendored
Normal file
21
vendor/google.golang.org/appengine/aetest/instance_classic.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
// +build appengine
|
||||
|
||||
package aetest
|
||||
|
||||
import "appengine/aetest"
|
||||
|
||||
// NewInstance launches a running instance of api_server.py which can be used
|
||||
// for multiple test Contexts that delegate all App Engine API calls to that
|
||||
// instance.
|
||||
// If opts is nil the default values are used.
|
||||
func NewInstance(opts *Options) (Instance, error) {
|
||||
aetest.PrepareDevAppserver = PrepareDevAppserver
|
||||
var aeOpts *aetest.Options
|
||||
if opts != nil {
|
||||
aeOpts = &aetest.Options{
|
||||
AppID: opts.AppID,
|
||||
StronglyConsistentDatastore: opts.StronglyConsistentDatastore,
|
||||
}
|
||||
}
|
||||
return aetest.NewInstance(aeOpts)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue