-
Notifications
You must be signed in to change notification settings - Fork 0
/
internal_autoscaling_gke_io_v_alpha_.clj
176 lines (159 loc) · 11.2 KB
/
internal_autoscaling_gke_io_v_alpha_.clj
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
(ns kubernetes.api.internal-autoscaling-gke-io-v-alpha-
(:require [kubernetes.core :refer [call-api check-required-params with-collection-format]])
(:import (java.io File)))
(defn create-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
create a CapacityRequest"
([namespace body ] (create-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info namespace body nil))
([namespace body {:keys [pretty dry-run field-manager field-validation ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests" :post
{:path-params {"namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "dryRun" dry-run "fieldManager" field-manager "fieldValidation" field-validation }
:form-params {}
:body-param body
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn create-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
create a CapacityRequest"
([namespace body ] (create-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request namespace body nil))
([namespace body optional-params]
(:data (create-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info namespace body optional-params))))
(defn delete-internal-autoscaling-gke-io-v1alpha1-collection-namespaced-capacity-request-with-http-info
"
delete collection of CapacityRequest"
([namespace ] (delete-internal-autoscaling-gke-io-v1alpha1-collection-namespaced-capacity-request-with-http-info namespace nil))
([namespace {:keys [pretty allow-watch-bookmarks continue field-selector label-selector limit resource-version resource-version-match timeout-seconds watch ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests" :delete
{:path-params {"namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "allowWatchBookmarks" allow-watch-bookmarks "continue" continue "fieldSelector" field-selector "labelSelector" label-selector "limit" limit "resourceVersion" resource-version "resourceVersionMatch" resource-version-match "timeoutSeconds" timeout-seconds "watch" watch }
:form-params {}
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn delete-internal-autoscaling-gke-io-v1alpha1-collection-namespaced-capacity-request
"
delete collection of CapacityRequest"
([namespace ] (delete-internal-autoscaling-gke-io-v1alpha1-collection-namespaced-capacity-request namespace nil))
([namespace optional-params]
(:data (delete-internal-autoscaling-gke-io-v1alpha1-collection-namespaced-capacity-request-with-http-info namespace optional-params))))
(defn delete-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
delete a CapacityRequest"
([name namespace ] (delete-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace nil))
([name namespace {:keys [pretty body dry-run grace-period-seconds orphan-dependents propagation-policy ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests/{name}" :delete
{:path-params {"name" name "namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "dryRun" dry-run "gracePeriodSeconds" grace-period-seconds "orphanDependents" orphan-dependents "propagationPolicy" propagation-policy }
:form-params {}
:body-param body
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn delete-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
delete a CapacityRequest"
([name namespace ] (delete-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request name namespace nil))
([name namespace optional-params]
(:data (delete-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace optional-params))))
(defn list-internal-autoscaling-gke-io-v1alpha1-capacity-request-for-all-namespaces-with-http-info
"
list objects of kind CapacityRequest"
([] (list-internal-autoscaling-gke-io-v1alpha1-capacity-request-for-all-namespaces-with-http-info nil))
([{:keys [allow-watch-bookmarks continue field-selector label-selector limit pretty resource-version resource-version-match timeout-seconds watch ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/capacityrequests" :get
{:path-params {}
:header-params {}
:query-params {"allowWatchBookmarks" allow-watch-bookmarks "continue" continue "fieldSelector" field-selector "labelSelector" label-selector "limit" limit "pretty" pretty "resourceVersion" resource-version "resourceVersionMatch" resource-version-match "timeoutSeconds" timeout-seconds "watch" watch }
:form-params {}
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn list-internal-autoscaling-gke-io-v1alpha1-capacity-request-for-all-namespaces
"
list objects of kind CapacityRequest"
([] (list-internal-autoscaling-gke-io-v1alpha1-capacity-request-for-all-namespaces nil))
([optional-params]
(:data (list-internal-autoscaling-gke-io-v1alpha1-capacity-request-for-all-namespaces-with-http-info optional-params))))
(defn list-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
list objects of kind CapacityRequest"
([namespace ] (list-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info namespace nil))
([namespace {:keys [pretty allow-watch-bookmarks continue field-selector label-selector limit resource-version resource-version-match timeout-seconds watch ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests" :get
{:path-params {"namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "allowWatchBookmarks" allow-watch-bookmarks "continue" continue "fieldSelector" field-selector "labelSelector" label-selector "limit" limit "resourceVersion" resource-version "resourceVersionMatch" resource-version-match "timeoutSeconds" timeout-seconds "watch" watch }
:form-params {}
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn list-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
list objects of kind CapacityRequest"
([namespace ] (list-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request namespace nil))
([namespace optional-params]
(:data (list-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info namespace optional-params))))
(defn patch-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
partially update the specified CapacityRequest"
([name namespace body ] (patch-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace body nil))
([name namespace body {:keys [pretty dry-run field-manager field-validation ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests/{name}" :patch
{:path-params {"name" name "namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "dryRun" dry-run "fieldManager" field-manager "fieldValidation" field-validation }
:form-params {}
:body-param body
:content-types ["application/json-patch+json" "application/merge-patch+json" "application/apply-patch+yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn patch-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
partially update the specified CapacityRequest"
([name namespace body ] (patch-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request name namespace body nil))
([name namespace body optional-params]
(:data (patch-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace body optional-params))))
(defn read-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
read the specified CapacityRequest"
([name namespace ] (read-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace nil))
([name namespace {:keys [pretty resource-version ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests/{name}" :get
{:path-params {"name" name "namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "resourceVersion" resource-version }
:form-params {}
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn read-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
read the specified CapacityRequest"
([name namespace ] (read-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request name namespace nil))
([name namespace optional-params]
(:data (read-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace optional-params))))
(defn replace-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info
"
replace the specified CapacityRequest"
([name namespace body ] (replace-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace body nil))
([name namespace body {:keys [pretty dry-run field-manager field-validation ]}]
(call-api "/apis/internal.autoscaling.gke.io/v1alpha1/namespaces/{namespace}/capacityrequests/{name}" :put
{:path-params {"name" name "namespace" namespace }
:header-params {}
:query-params {"pretty" pretty "dryRun" dry-run "fieldManager" field-manager "fieldValidation" field-validation }
:form-params {}
:body-param body
:content-types ["application/json" "application/yaml"]
:accepts ["application/json" "application/yaml"]
:auth-names ["BearerToken"]})))
(defn replace-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request
"
replace the specified CapacityRequest"
([name namespace body ] (replace-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request name namespace body nil))
([name namespace body optional-params]
(:data (replace-internal-autoscaling-gke-io-v1alpha1-namespaced-capacity-request-with-http-info name namespace body optional-params))))