Skip to content

Commit adde3ba

Browse files
committed
implement sdk
1 parent e13dc69 commit adde3ba

File tree

307 files changed

+94316
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+94316
-19
lines changed

.gitignore

+18-19
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
# If you prefer the allow list template instead of the deny list, see community template:
2-
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3-
#
4-
# Binaries for programs and plugins
5-
*.exe
6-
*.exe~
7-
*.dll
1+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2+
*.o
3+
*.a
84
*.so
9-
*.dylib
105

11-
# Test binary, built with `go test -c`
12-
*.test
6+
# Folders
7+
_obj
8+
_test
139

14-
# Output of the go coverage tool, specifically when used with LiteIDE
15-
*.out
10+
# Architecture specific extensions/prefixes
11+
*.[568vq]
12+
[568vq].out
1613

17-
# Dependency directories (remove the comment below to include it)
18-
# vendor/
14+
*.cgo1.go
15+
*.cgo2.c
16+
_cgo_defun.c
17+
_cgo_gotypes.go
18+
_cgo_export.*
1919

20-
# Go workspace file
21-
go.work
22-
go.work.sum
20+
_testmain.go
2321

24-
# env file
25-
.env
22+
*.exe
23+
*.test
24+
*.prof

.openapi-generator-ignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

+303
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
.gitignore
2+
.openapi-generator-ignore
3+
.travis.yml
4+
README.md
5+
api/openapi.yaml
6+
api_alerts.go
7+
api_clusters.go
8+
api_dashboards.go
9+
api_folders.go
10+
api_functions.go
11+
api_kv.go
12+
api_logs.go
13+
api_meta.go
14+
api_metrics.go
15+
api_organizations.go
16+
api_rum.go
17+
api_saved_views.go
18+
api_search.go
19+
api_short_url.go
20+
api_streams.go
21+
api_syslog_routes.go
22+
api_templates.go
23+
api_traces.go
24+
api_users.go
25+
client.go
26+
configuration.go
27+
docs/AggFunction.md
28+
docs/Aggregation.md
29+
docs/AggregationFunc.md
30+
docs/Alert.md
31+
docs/AlertSummary.md
32+
docs/AlertsAPI.md
33+
docs/AxisItem.md
34+
docs/BulkResponse.md
35+
docs/BulkResponseError.md
36+
docs/BulkResponseItem.md
37+
docs/CancelQueryResponse.md
38+
docs/ClustersAPI.md
39+
docs/CompareHistoricData.md
40+
docs/Condition.md
41+
docs/CreateAlertRequestBody.md
42+
docs/CreateFolderRequestBody.md
43+
docs/CreateViewRequest.md
44+
docs/CreateViewResponse.md
45+
docs/CustomFieldsOption.md
46+
docs/Dashboard.md
47+
docs/DashboardsAPI.md
48+
docs/DeleteViewResponse.md
49+
docs/Destination.md
50+
docs/DestinationType.md
51+
docs/EnableAlertResponseBody.md
52+
docs/FolderType.md
53+
docs/FoldersAPI.md
54+
docs/FrequencyType.md
55+
docs/FunctionList.md
56+
docs/FunctionsAPI.md
57+
docs/HTTPType.md
58+
docs/HealthzResponse.md
59+
docs/HttpResponse.md
60+
docs/IngestionPasscode.md
61+
docs/IngestionResponse.md
62+
docs/KVAPI.md
63+
docs/Layout.md
64+
docs/ListAlertsResponseBody.md
65+
docs/ListAlertsResponseBodyItem.md
66+
docs/ListDashboardsResponseBody.md
67+
docs/ListDashboardsResponseBodyItem.md
68+
docs/ListFoldersResponseBody.md
69+
docs/ListStream.md
70+
docs/LogsAPI.md
71+
docs/MetaAPI.md
72+
docs/Metadata.md
73+
docs/MetricType.md
74+
docs/MetricsAPI.md
75+
docs/MoveAlertsRequestBody.md
76+
docs/MoveDashboardRequestBody.md
77+
docs/MoveDashboardsRequestBody.md
78+
docs/Operator.md
79+
docs/OrderBy.md
80+
docs/OrgDetails.md
81+
docs/OrgSummary.md
82+
docs/OrgUser.md
83+
docs/OrganizationResponse.md
84+
docs/OrganizationSetting.md
85+
docs/OrganizationSettingResponse.md
86+
docs/OrganizationsAPI.md
87+
docs/Panel.md
88+
docs/PanelConfig.md
89+
docs/PanelFields.md
90+
docs/PanelFilter.md
91+
docs/PartitionTimeLevel.md
92+
docs/PasscodeResponse.md
93+
docs/PipelineSummary.md
94+
docs/QueryCondition.md
95+
docs/QueryData.md
96+
docs/QueryInfo.md
97+
docs/QueryStatus.md
98+
docs/QueryStatusResponse.md
99+
docs/QueryType.md
100+
docs/RecordStatus.md
101+
docs/RequestEncoding.md
102+
docs/ResponseNodeTook.md
103+
docs/ResponseTook.md
104+
docs/RumAPI.md
105+
docs/RumIngestionResponse.md
106+
docs/RumIngestionToken.md
107+
docs/SavedViewsAPI.md
108+
docs/ScanStats.md
109+
docs/SearchAPI.md
110+
docs/SearchEventContext.md
111+
docs/SearchEventType.md
112+
docs/SearchHistoryRequest.md
113+
docs/SearchPartitionRequest.md
114+
docs/SearchPartitionResponse.md
115+
docs/SearchQuery.md
116+
docs/SearchRequest.md
117+
docs/SearchResponse.md
118+
docs/ShardResponse.md
119+
docs/ShortUrlAPI.md
120+
docs/ShortenUrlRequest.md
121+
docs/ShortenUrlResponse.md
122+
docs/SignInResponse.md
123+
docs/Stream.md
124+
docs/StreamDeleteFields.md
125+
docs/StreamOrder.md
126+
docs/StreamPartition.md
127+
docs/StreamPartitionType.md
128+
docs/StreamPartitionTypeOneOf.md
129+
docs/StreamProperty.md
130+
docs/StreamSettings.md
131+
docs/StreamStats.md
132+
docs/StreamStatus.md
133+
docs/StreamSummary.md
134+
docs/StreamType.md
135+
docs/StreamsAPI.md
136+
docs/SyslogRoute.md
137+
docs/SyslogRoutes.md
138+
docs/SyslogRoutesAPI.md
139+
docs/Template.md
140+
docs/TemplatesAPI.md
141+
docs/TestVRLRequest.md
142+
docs/TimedAnnotation.md
143+
docs/TimedAnnotationDelete.md
144+
docs/TimedAnnotationReq.md
145+
docs/TimedAnnotationUpdate.md
146+
docs/TracesAPI.md
147+
docs/Transform.md
148+
docs/TriggerCondition.md
149+
docs/UpdateStreamSettings.md
150+
docs/UpdateUser.md
151+
docs/UpdateViewRequest.md
152+
docs/UserList.md
153+
docs/UserOrgRole.md
154+
docs/UserRequest.md
155+
docs/UserResponse.md
156+
docs/UserRole.md
157+
docs/UsersAPI.md
158+
docs/VariableList.md
159+
docs/Variables.md
160+
docs/View.md
161+
docs/ViewWithoutData.md
162+
docs/ViewsWithoutData.md
163+
git_push.sh
164+
go.mod
165+
go.sum
166+
model_agg_function.go
167+
model_aggregation.go
168+
model_aggregation_func.go
169+
model_alert.go
170+
model_alert_summary.go
171+
model_axis_item.go
172+
model_bulk_response.go
173+
model_bulk_response_error.go
174+
model_bulk_response_item.go
175+
model_cancel_query_response.go
176+
model_compare_historic_data.go
177+
model_condition.go
178+
model_create_alert_request_body.go
179+
model_create_folder_request_body.go
180+
model_create_view_request.go
181+
model_create_view_response.go
182+
model_custom_fields_option.go
183+
model_dashboard.go
184+
model_delete_view_response.go
185+
model_destination.go
186+
model_destination_type.go
187+
model_enable_alert_response_body.go
188+
model_folder_type.go
189+
model_frequency_type.go
190+
model_function_list.go
191+
model_healthz_response.go
192+
model_http_response.go
193+
model_http_type.go
194+
model_ingestion_passcode.go
195+
model_ingestion_response.go
196+
model_layout.go
197+
model_list_alerts_response_body.go
198+
model_list_alerts_response_body_item.go
199+
model_list_dashboards_response_body.go
200+
model_list_dashboards_response_body_item.go
201+
model_list_folders_response_body.go
202+
model_list_stream.go
203+
model_metadata.go
204+
model_metric_type.go
205+
model_move_alerts_request_body.go
206+
model_move_dashboard_request_body.go
207+
model_move_dashboards_request_body.go
208+
model_operator.go
209+
model_order_by.go
210+
model_org_details.go
211+
model_org_summary.go
212+
model_org_user.go
213+
model_organization_response.go
214+
model_organization_setting.go
215+
model_organization_setting_response.go
216+
model_panel.go
217+
model_panel_config.go
218+
model_panel_fields.go
219+
model_panel_filter.go
220+
model_partition_time_level.go
221+
model_passcode_response.go
222+
model_pipeline_summary.go
223+
model_query_condition.go
224+
model_query_data.go
225+
model_query_info.go
226+
model_query_status.go
227+
model_query_status_response.go
228+
model_query_type.go
229+
model_record_status.go
230+
model_request_encoding.go
231+
model_response_node_took.go
232+
model_response_took.go
233+
model_rum_ingestion_response.go
234+
model_rum_ingestion_token.go
235+
model_scan_stats.go
236+
model_search_event_context.go
237+
model_search_event_type.go
238+
model_search_history_request.go
239+
model_search_partition_request.go
240+
model_search_partition_response.go
241+
model_search_query.go
242+
model_search_request.go
243+
model_search_response.go
244+
model_shard_response.go
245+
model_shorten_url_request.go
246+
model_shorten_url_response.go
247+
model_sign_in_response.go
248+
model_stream.go
249+
model_stream_delete_fields.go
250+
model_stream_order.go
251+
model_stream_partition.go
252+
model_stream_partition_type.go
253+
model_stream_partition_type_one_of.go
254+
model_stream_property.go
255+
model_stream_settings.go
256+
model_stream_stats.go
257+
model_stream_status.go
258+
model_stream_summary.go
259+
model_stream_type.go
260+
model_syslog_route.go
261+
model_syslog_routes.go
262+
model_template.go
263+
model_test_vrl_request.go
264+
model_timed_annotation.go
265+
model_timed_annotation_delete.go
266+
model_timed_annotation_req.go
267+
model_timed_annotation_update.go
268+
model_transform.go
269+
model_trigger_condition.go
270+
model_update_stream_settings.go
271+
model_update_user.go
272+
model_update_view_request.go
273+
model_user_list.go
274+
model_user_org_role.go
275+
model_user_request.go
276+
model_user_response.go
277+
model_user_role.go
278+
model_variable_list.go
279+
model_variables.go
280+
model_view.go
281+
model_view_without_data.go
282+
model_views_without_data.go
283+
response.go
284+
test/api_alerts_test.go
285+
test/api_clusters_test.go
286+
test/api_dashboards_test.go
287+
test/api_folders_test.go
288+
test/api_functions_test.go
289+
test/api_kv_test.go
290+
test/api_logs_test.go
291+
test/api_meta_test.go
292+
test/api_metrics_test.go
293+
test/api_organizations_test.go
294+
test/api_rum_test.go
295+
test/api_saved_views_test.go
296+
test/api_search_test.go
297+
test/api_short_url_test.go
298+
test/api_streams_test.go
299+
test/api_syslog_routes_test.go
300+
test/api_templates_test.go
301+
test/api_traces_test.go
302+
test/api_users_test.go
303+
utils.go

.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.12.0

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: go
2+
3+
install:
4+
- go get -d -v .
5+
6+
script:
7+
- go build -v ./
8+

0 commit comments

Comments
 (0)