You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
47
+
Templated server URL is formatted using default variables from configuration or from context value `openapi.ContextServerVariables` of type `map[string]string`.
@@ -58,7 +58,7 @@ Note, enum values are always validated and all unused variables are silently ign
58
58
59
59
Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
60
60
An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
61
-
Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
61
+
Similar rules for overriding default operation server index and variables applies by using `openapi.ContextOperationServerIndices` and `openapi.ContextOperationServerVariables` context maps.
name:="name_example"// string | Name of the function (optional)
36
36
code:= os.NewFile(1234, "some_file") // *os.File | File with the code of the function (optional)
37
+
waitForWorkers:=true// bool | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. (optional) (default to true)
37
38
events:= []openapiclient.FunctionCreateUpdateEventsInner{*openapiclient.NewFunctionCreateUpdateEventsInner()} // []FunctionCreateUpdateEventsInner | Events that can trigger the function (optional)
38
39
sinks:= []openapiclient.FunctionCreateUpdateSinksInner{*openapiclient.NewFunctionCreateUpdateSinksInner()} // []FunctionCreateUpdateSinksInner | Data sinks that receive invocation's results (optional)
**code** | ***os.File** | File with the code of the function |
64
+
**waitForWorkers** | **bool** | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. | [default to true]
63
65
**events** | [**[]FunctionCreateUpdateEventsInner**](FunctionCreateUpdateEventsInner.md) | Events that can trigger the function |
64
66
**sinks** | [**[]FunctionCreateUpdateSinksInner**](FunctionCreateUpdateSinksInner.md) | Data sinks that receive invocation's results |
**Name** | Pointer to **string** | Name of the function | [optional]
8
8
**Code** | Pointer to ***os.File** | File with the code of the function | [optional]
9
+
**WaitForWorkers** | Pointer to **bool** | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. | [optional][default to true]
9
10
**Events** | Pointer to [**[]FunctionCreateUpdateEventsInner**](FunctionCreateUpdateEventsInner.md) | Events that can trigger the function | [optional]
10
11
**Sinks** | Pointer to [**[]FunctionCreateUpdateSinksInner**](FunctionCreateUpdateSinksInner.md) | Data sinks that receive invocation's results | [optional]
11
12
@@ -78,6 +79,31 @@ SetCode sets Code field to given value.
78
79
79
80
HasCode returns a boolean if a field has been set.
80
81
82
+
### GetWaitForWorkers
83
+
84
+
`func (o *FunctionCreateUpdate) GetWaitForWorkers() bool`
85
+
86
+
GetWaitForWorkers returns the WaitForWorkers field if non-nil, zero value otherwise.
87
+
88
+
### GetWaitForWorkersOk
89
+
90
+
`func (o *FunctionCreateUpdate) GetWaitForWorkersOk() (*bool, bool)`
91
+
92
+
GetWaitForWorkersOk returns a tuple with the WaitForWorkers field if it's non-nil, zero value otherwise
93
+
and a boolean to check if the value has been set.
94
+
95
+
### SetWaitForWorkers
96
+
97
+
`func (o *FunctionCreateUpdate) SetWaitForWorkers(v bool)`
98
+
99
+
SetWaitForWorkers sets WaitForWorkers field to given value.
100
+
101
+
### HasWaitForWorkers
102
+
103
+
`func (o *FunctionCreateUpdate) HasWaitForWorkers() bool`
104
+
105
+
HasWaitForWorkers returns a boolean if a field has been set.
106
+
81
107
### GetEvents
82
108
83
109
`func (o *FunctionCreateUpdate) GetEvents() []FunctionCreateUpdateEventsInner`
moduleName:="moduleName_example"// string | The name of the module to retrieve
37
37
name:="name_example"// string | Name of the function (optional)
38
38
code:= os.NewFile(1234, "some_file") // *os.File | File with the code of the function (optional)
39
+
waitForWorkers:=true// bool | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. (optional) (default to true)
39
40
events:= []openapiclient.FunctionCreateUpdateEventsInner{*openapiclient.NewFunctionCreateUpdateEventsInner()} // []FunctionCreateUpdateEventsInner | Events that can trigger the function (optional)
40
41
sinks:= []openapiclient.FunctionCreateUpdateSinksInner{*openapiclient.NewFunctionCreateUpdateSinksInner()} // []FunctionCreateUpdateSinksInner | Data sinks that receive invocation's results (optional)
@@ -67,6 +68,7 @@ Name | Type | Description | Notes
67
68
68
69
**name** | **string** | Name of the function |
69
70
**code** | ***os.File** | File with the code of the function |
71
+
**waitForWorkers** | **bool** | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. | [default to true]
70
72
**events** | [**[]FunctionCreateUpdateEventsInner**](FunctionCreateUpdateEventsInner.md) | Events that can trigger the function |
71
73
**sinks** | [**[]FunctionCreateUpdateSinksInner**](FunctionCreateUpdateSinksInner.md) | Data sinks that receive invocation's results |
functionName:="functionName_example"// string | The name of the function
333
335
name:="name_example"// string | Name of the function (optional)
334
336
code:= os.NewFile(1234, "some_file") // *os.File | File with the code of the function (optional)
337
+
waitForWorkers:=true// bool | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. (optional) (default to true)
335
338
events:= []openapiclient.FunctionCreateUpdateEventsInner{*openapiclient.NewFunctionCreateUpdateEventsInner()} // []FunctionCreateUpdateEventsInner | Events that can trigger the function (optional)
336
339
sinks:= []openapiclient.FunctionCreateUpdateSinksInner{*openapiclient.NewFunctionCreateUpdateSinksInner()} // []FunctionCreateUpdateSinksInner | Data sinks that receive invocation's results (optional)
@@ -365,6 +368,7 @@ Name | Type | Description | Notes
365
368
366
369
**name** | **string** | Name of the function |
367
370
**code** | ***os.File** | File with the code of the function |
371
+
**waitForWorkers** | **bool** | Whether to wait for all workers to receive the code of the function. If false, the request returns as soon as the creation request terminates. | [default to true]
368
372
**events** | [**[]FunctionCreateUpdateEventsInner**](FunctionCreateUpdateEventsInner.md) | Events that can trigger the function |
369
373
**sinks** | [**[]FunctionCreateUpdateSinksInner**](FunctionCreateUpdateSinksInner.md) | Data sinks that receive invocation's results |
0 commit comments