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
Copy file name to clipboardExpand all lines: restclient/README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
5
5
## Overview
6
-
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
6
+
7
+
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using
8
+
the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
Templated server URL is formatted using default variables from configuration or from context value `restclient.ContextServerVariables` of type `map[string]string`.
49
+
Templated server URL is formatted using default variables from configuration or from context
50
+
value `restclient.ContextServerVariables` of type `map[string]string`.
@@ -58,7 +61,8 @@ Note, enum values are always validated and all unused variables are silently ign
58
61
59
62
Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
60
63
An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
61
-
Similar rules for overriding default operation server index and variables applies by using `restclient.ContextOperationServerIndices` and `restclient.ContextOperationServerVariables` context maps.
64
+
Similar rules for overriding default operation server index and variables applies by
65
+
using `restclient.ContextOperationServerIndices` and `restclient.ContextOperationServerVariables` context maps.
*DefaultAPI* | [**ApiV1ConsumeQueueNameGet**](docs/DefaultAPI.md#apiv1consumequeuenameget) | **Get** /api/v1/consume/{queue_name} | Consumes an event from a queue
81
-
*DefaultAPI* | [**ApiV1FunctionFunctionNameDelete**](docs/DefaultAPI.md#apiv1functionfunctionnamedelete) | **Delete** /api/v1/function/{function_name} | Deletes a function
82
-
*DefaultAPI* | [**ApiV1FunctionFunctionNamePost**](docs/DefaultAPI.md#apiv1functionfunctionnamepost) | **Post** /api/v1/function/{function_name} | Starts a function
83
-
*DefaultAPI* | [**ApiV1FunctionsGet**](docs/DefaultAPI.md#apiv1functionsget) | **Get** /api/v1/functions | Returns a list of functions
84
-
*DefaultAPI* | [**ApiV1ProduceQueueNamePut**](docs/DefaultAPI.md#apiv1producequeuenameput) | **Put** /api/v1/produce/{queue_name} | Produces an event to a queue
*DefaultAPI* | [**ApiV1ConsumeQueueNameGet**](docs/DefaultAPI.md#apiv1consumequeuenameget) | **Get** /api/v1/consume/{queue_name} | Consumes an event from a queue
85
+
*DefaultAPI* | [**ApiV1FunctionFunctionNameDelete**](docs/DefaultAPI.md#apiv1functionfunctionnamedelete) | **Delete** /api/v1/function/{function_name} | Deletes a function
86
+
*DefaultAPI* | [**ApiV1FunctionFunctionNamePost**](docs/DefaultAPI.md#apiv1functionfunctionnamepost) | **Post** /api/v1/function/{function_name} | Starts a function
87
+
*DefaultAPI* | [**ApiV1FunctionsGet**](docs/DefaultAPI.md#apiv1functionsget) | **Get** /api/v1/functions | Returns a list of functions
88
+
*DefaultAPI* | [**ApiV1ProduceQueueNamePut**](docs/DefaultAPI.md#apiv1producequeuenameput) | **Put** /api/v1/produce/{queue_name} | Produces an event to a queue
86
89
87
90
## Documentation For Models
88
91
89
-
-[Function](docs/Function.md)
90
-
92
+
-[Function](docs/Function.md)
91
93
92
94
## Documentation For Authorization
93
95
94
96
Endpoints do not require authorization.
95
97
96
-
97
98
## Documentation for Utility Methods
98
99
99
100
Due to the fact that model structure members are all pointers, this package contains
**Replicas** | Pointer to **int32** | | [optional]
12
+
**Config**| Pointer to **map[string]string** | | [optional]
13
13
14
14
## Methods
15
15
@@ -74,7 +74,6 @@ and a boolean to check if the value has been set.
74
74
75
75
SetArchive sets Archive field to given value.
76
76
77
-
78
77
### GetInputs
79
78
80
79
`func (o *Function) GetInputs() []string`
@@ -94,7 +93,6 @@ and a boolean to check if the value has been set.
94
93
95
94
SetInputs sets Inputs field to given value.
96
95
97
-
98
96
### GetOutput
99
97
100
98
`func (o *Function) GetOutput() string`
@@ -114,7 +112,6 @@ and a boolean to check if the value has been set.
114
112
115
113
SetOutput sets Output field to given value.
116
114
117
-
118
115
### GetReplicas
119
116
120
117
`func (o *Function) GetReplicas() int32`
@@ -165,7 +162,6 @@ SetConfig sets Config field to given value.
165
162
166
163
HasConfig returns a boolean if a field has been set.
167
164
168
-
169
165
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments