1
9
10 package openapi
11
12 import (
13 "context"
14 "net/http"
15 )
16
17
18
19
20 type DefaultApiRouter interface {
21 ComponentCommandPost(http.ResponseWriter, *http.Request)
22 ComponentGet(http.ResponseWriter, *http.Request)
23 DevfileGet(http.ResponseWriter, *http.Request)
24 DevfilePut(http.ResponseWriter, *http.Request)
25 InstanceDelete(http.ResponseWriter, *http.Request)
26 InstanceGet(http.ResponseWriter, *http.Request)
27 TelemetryGet(http.ResponseWriter, *http.Request)
28 }
29
30
31
32
33 type DevstateApiRouter interface {
34 DevstateApplyCommandCommandNamePatch(http.ResponseWriter, *http.Request)
35 DevstateApplyCommandPost(http.ResponseWriter, *http.Request)
36 DevstateChartGet(http.ResponseWriter, *http.Request)
37 DevstateCommandCommandNameDelete(http.ResponseWriter, *http.Request)
38 DevstateCommandCommandNameMovePost(http.ResponseWriter, *http.Request)
39 DevstateCommandCommandNameSetDefaultPost(http.ResponseWriter, *http.Request)
40 DevstateCommandCommandNameUnsetDefaultPost(http.ResponseWriter, *http.Request)
41 DevstateCompositeCommandCommandNamePatch(http.ResponseWriter, *http.Request)
42 DevstateCompositeCommandPost(http.ResponseWriter, *http.Request)
43 DevstateContainerContainerNameDelete(http.ResponseWriter, *http.Request)
44 DevstateContainerContainerNamePatch(http.ResponseWriter, *http.Request)
45 DevstateContainerPost(http.ResponseWriter, *http.Request)
46 DevstateDevfileDelete(http.ResponseWriter, *http.Request)
47 DevstateDevfileGet(http.ResponseWriter, *http.Request)
48 DevstateDevfilePut(http.ResponseWriter, *http.Request)
49 DevstateEventsPut(http.ResponseWriter, *http.Request)
50 DevstateExecCommandCommandNamePatch(http.ResponseWriter, *http.Request)
51 DevstateExecCommandPost(http.ResponseWriter, *http.Request)
52 DevstateImageImageNameDelete(http.ResponseWriter, *http.Request)
53 DevstateImageImageNamePatch(http.ResponseWriter, *http.Request)
54 DevstateImagePost(http.ResponseWriter, *http.Request)
55 DevstateMetadataPut(http.ResponseWriter, *http.Request)
56 DevstateQuantityValidPost(http.ResponseWriter, *http.Request)
57 DevstateResourcePost(http.ResponseWriter, *http.Request)
58 DevstateResourceResourceNameDelete(http.ResponseWriter, *http.Request)
59 DevstateResourceResourceNamePatch(http.ResponseWriter, *http.Request)
60 DevstateVolumePost(http.ResponseWriter, *http.Request)
61 DevstateVolumeVolumeNameDelete(http.ResponseWriter, *http.Request)
62 DevstateVolumeVolumeNamePatch(http.ResponseWriter, *http.Request)
63 }
64
65
66
67
68
69 type DefaultApiServicer interface {
70 ComponentCommandPost(context.Context, ComponentCommandPostRequest) (ImplResponse, error)
71 ComponentGet(context.Context) (ImplResponse, error)
72 DevfileGet(context.Context) (ImplResponse, error)
73 DevfilePut(context.Context, DevfilePutRequest) (ImplResponse, error)
74 InstanceDelete(context.Context) (ImplResponse, error)
75 InstanceGet(context.Context) (ImplResponse, error)
76 TelemetryGet(context.Context) (ImplResponse, error)
77 }
78
79
80
81
82
83 type DevstateApiServicer interface {
84 DevstateApplyCommandCommandNamePatch(context.Context, string, DevstateApplyCommandCommandNamePatchRequest) (ImplResponse, error)
85 DevstateApplyCommandPost(context.Context, DevstateApplyCommandPostRequest) (ImplResponse, error)
86 DevstateChartGet(context.Context) (ImplResponse, error)
87 DevstateCommandCommandNameDelete(context.Context, string) (ImplResponse, error)
88 DevstateCommandCommandNameMovePost(context.Context, string, DevstateCommandCommandNameMovePostRequest) (ImplResponse, error)
89 DevstateCommandCommandNameSetDefaultPost(context.Context, string, DevstateCommandCommandNameSetDefaultPostRequest) (ImplResponse, error)
90 DevstateCommandCommandNameUnsetDefaultPost(context.Context, string) (ImplResponse, error)
91 DevstateCompositeCommandCommandNamePatch(context.Context, string, DevstateCompositeCommandCommandNamePatchRequest) (ImplResponse, error)
92 DevstateCompositeCommandPost(context.Context, DevstateCompositeCommandPostRequest) (ImplResponse, error)
93 DevstateContainerContainerNameDelete(context.Context, string) (ImplResponse, error)
94 DevstateContainerContainerNamePatch(context.Context, string, DevstateContainerContainerNamePatchRequest) (ImplResponse, error)
95 DevstateContainerPost(context.Context, DevstateContainerPostRequest) (ImplResponse, error)
96 DevstateDevfileDelete(context.Context) (ImplResponse, error)
97 DevstateDevfileGet(context.Context) (ImplResponse, error)
98 DevstateDevfilePut(context.Context, DevstateDevfilePutRequest) (ImplResponse, error)
99 DevstateEventsPut(context.Context, DevstateEventsPutRequest) (ImplResponse, error)
100 DevstateExecCommandCommandNamePatch(context.Context, string, DevstateExecCommandCommandNamePatchRequest) (ImplResponse, error)
101 DevstateExecCommandPost(context.Context, DevstateExecCommandPostRequest) (ImplResponse, error)
102 DevstateImageImageNameDelete(context.Context, string) (ImplResponse, error)
103 DevstateImageImageNamePatch(context.Context, string, DevstateImageImageNamePatchRequest) (ImplResponse, error)
104 DevstateImagePost(context.Context, DevstateImagePostRequest) (ImplResponse, error)
105 DevstateMetadataPut(context.Context, MetadataRequest) (ImplResponse, error)
106 DevstateQuantityValidPost(context.Context, DevstateQuantityValidPostRequest) (ImplResponse, error)
107 DevstateResourcePost(context.Context, DevstateResourcePostRequest) (ImplResponse, error)
108 DevstateResourceResourceNameDelete(context.Context, string) (ImplResponse, error)
109 DevstateResourceResourceNamePatch(context.Context, string, DevstateResourceResourceNamePatchRequest) (ImplResponse, error)
110 DevstateVolumePost(context.Context, DevstateVolumePostRequest) (ImplResponse, error)
111 DevstateVolumeVolumeNameDelete(context.Context, string) (ImplResponse, error)
112 DevstateVolumeVolumeNamePatch(context.Context, string, DevstateVolumeVolumeNamePatchRequest) (ImplResponse, error)
113 }
114
View as plain text