-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironment_skeleton.go
69 lines (53 loc) · 2.01 KB
/
environment_skeleton.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// Code generated by tygor; DO NOT EDIT.
//go:build skeleton
package environment
import (
"errors"
"go.k6.io/k6/js/modules"
)
// init invokes module registration.
func init() {
register(newModule)
}
// newModule returns new goModuleImpl instance.
func newModule(_ modules.VU) goModule {
return new(goModuleImpl)
}
// goModuleImpl is an empty implementation of goModule.
type goModuleImpl struct{}
var _ goModule = (*goModuleImpl)(nil)
// newEnvironment is a goModule method implementation.
func (self *goModuleImpl) newEnvironment(paramsArg interface{}) (goEnvironment, error) {
return nil, errors.ErrUnsupported
}
// defaultEnvironmentGetter is a goModule property getter method implementation.
func (self *goModuleImpl) defaultEnvironmentGetter() (goEnvironment, error) {
return nil, errors.ErrUnsupported
}
// goEnvironmentImpl is an empty implementation of goEnvironment.
type goEnvironmentImpl struct{}
var _ goEnvironment = (*goEnvironmentImpl)(nil)
// initMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) initMethod() (interface{}, error) {
return nil, errors.ErrUnsupported
}
// deleteMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) deleteMethod() (interface{}, error) {
return nil, errors.ErrUnsupported
}
// applyMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) applyMethod(fileArg string) (interface{}, error) {
return nil, errors.ErrUnsupported
}
// applySpecMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) applySpecMethod(specArg string) (interface{}, error) {
return nil, errors.ErrUnsupported
}
// waitMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) waitMethod(conditionArg interface{}, optsArg interface{}) (interface{}, error) {
return nil, errors.ErrUnsupported
}
// getNMethod is a goEnvironment method implementation.
func (self *goEnvironmentImpl) getNMethod(typeArg string, optsArg interface{}) (float64, error) {
return 0, errors.ErrUnsupported
}