Debian Codegraph @

image/v1/zz_generated.swagger_doc_generated.go

raw
1 package v1
2
3 // This file contains a collection of methods that can be used from go-restful to
4 // generate Swagger API documentation for its models. Please read this PR for more
5 // information on the implementation: https://github.com/emicklei/go-restful/pull/215
6 //
7 // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
8 // they are on one line! For multiple line or blocks that you want to ignore use ---.
9 // Any context after a --- is ignored.
10 //
11 // Those methods can be generated by using hack/update-swagger-docs.sh
12
13 // AUTO-GENERATED FUNCTIONS START HERE
14 var map_DockerImageReference = map[string]string{
15 "": "DockerImageReference points to a container image.",
16 "Registry": "Registry is the registry that contains the container image",
17 "Namespace": "Namespace is the namespace that contains the container image",
18 "Name": "Name is the name of the container image",
19 "Tag": "Tag is which tag of the container image is being referenced",
20 "ID": "ID is the identifier for the container image",
21 }
22
23 func (DockerImageReference) SwaggerDoc() map[string]string {
24 return map_DockerImageReference
25 }
26
27 var map_Image = map[string]string{
28 "": "Image is an immutable representation of a container image and metadata at a point in time.",
29 "metadata": "Standard object's metadata.",
30 "dockerImageReference": "DockerImageReference is the string that can be used to pull this image.",
31 "dockerImageMetadata": "DockerImageMetadata contains metadata about this image",
32 "dockerImageMetadataVersion": "DockerImageMetadataVersion conveys the version of the object, which if empty defaults to \"1.0\"",
33 "dockerImageManifest": "DockerImageManifest is the raw JSON of the manifest",
34 "dockerImageLayers": "DockerImageLayers represents the layers in the image. May not be set if the image does not define that data.",
35 "signatures": "Signatures holds all signatures of the image.",
36 "dockerImageSignatures": "DockerImageSignatures provides the signatures as opaque blobs. This is a part of manifest schema v1.",
37 "dockerImageManifestMediaType": "DockerImageManifestMediaType specifies the mediaType of manifest. This is a part of manifest schema v2.",
38 "dockerImageConfig": "DockerImageConfig is a JSON blob that the runtime uses to set up the container. This is a part of manifest schema v2.",
39 }
40
41 func (Image) SwaggerDoc() map[string]string {
42 return map_Image
43 }
44
45 var map_ImageBlobReferences = map[string]string{
46 "": "ImageBlobReferences describes the blob references within an image.",
47 "imageMissing": "imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator. When this field is set, layers and config fields may be empty and callers that depend on the image metadata should consider the image to be unavailable for download or viewing.",
48 "layers": "layers is the list of blobs that compose this image, from base layer to top layer. All layers referenced by this array will be defined in the blobs map. Some images may have zero layers.",
49 "config": "config, if set, is the blob that contains the image config. Some images do not have separate config blobs and this field will be set to nil if so.",
50 }
51
52 func (ImageBlobReferences) SwaggerDoc() map[string]string {
53 return map_ImageBlobReferences
54 }
55
56 var map_ImageImportSpec = map[string]string{
57 "": "ImageImportSpec describes a request to import a specific image.",
58 "from": "From is the source of an image to import; only kind DockerImage is allowed",
59 "to": "To is a tag in the current image stream to assign the imported image to, if name is not specified the default tag from from.name will be used",
60 "importPolicy": "ImportPolicy is the policy controlling how the image is imported",
61 "referencePolicy": "ReferencePolicy defines how other components should consume the image",
62 "includeManifest": "IncludeManifest determines if the manifest for each image is returned in the response",
63 }
64
65 func (ImageImportSpec) SwaggerDoc() map[string]string {
66 return map_ImageImportSpec
67 }
68
69 var map_ImageImportStatus = map[string]string{
70 "": "ImageImportStatus describes the result of an image import.",
71 "status": "Status is the status of the image import, including errors encountered while retrieving the image",
72 "image": "Image is the metadata of that image, if the image was located",
73 "tag": "Tag is the tag this image was located under, if any",
74 }
75
76 func (ImageImportStatus) SwaggerDoc() map[string]string {
77 return map_ImageImportStatus
78 }
79
80 var map_ImageLayer = map[string]string{
81 "": "ImageLayer represents a single layer of the image. Some images may have multiple layers. Some may have none.",
82 "name": "Name of the layer as defined by the underlying store.",
83 "size": "Size of the layer in bytes as defined by the underlying store.",
84 "mediaType": "MediaType of the referenced object.",
85 }
86
87 func (ImageLayer) SwaggerDoc() map[string]string {
88 return map_ImageLayer
89 }
90
91 var map_ImageLayerData = map[string]string{
92 "": "ImageLayerData contains metadata about an image layer.",
93 "size": "Size of the layer in bytes as defined by the underlying store. This field is optional if the necessary information about size is not available.",
94 "mediaType": "MediaType of the referenced object.",
95 }
96
97 func (ImageLayerData) SwaggerDoc() map[string]string {
98 return map_ImageLayerData
99 }
100
101 var map_ImageList = map[string]string{
102 "": "ImageList is a list of Image objects.",
103 "metadata": "Standard object's metadata.",
104 "items": "Items is a list of images",
105 }
106
107 func (ImageList) SwaggerDoc() map[string]string {
108 return map_ImageList
109 }
110
111 var map_ImageLookupPolicy = map[string]string{
112 "": "ImageLookupPolicy describes how an image stream can be used to override the image references used by pods, builds, and other resources in a namespace.",
113 "local": "local will change the docker short image references (like \"mysql\" or \"php:latest\") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace.",
114 }
115
116 func (ImageLookupPolicy) SwaggerDoc() map[string]string {
117 return map_ImageLookupPolicy
118 }
119
120 var map_ImageSignature = map[string]string{
121 "": "ImageSignature holds a signature of an image. It allows to verify image identity and possibly other claims as long as the signature is trusted. Based on this information it is possible to restrict runnable images to those matching cluster-wide policy. Mandatory fields should be parsed by clients doing image verification. The others are parsed from signature's content by the server. They serve just an informative purpose.",
122 "metadata": "Standard object's metadata.",
123 "type": "Required: Describes a type of stored blob.",
124 "content": "Required: An opaque binary string which is an image's signature.",
125 "conditions": "Conditions represent the latest available observations of a signature's current state.",
126 "imageIdentity": "A human readable string representing image's identity. It could be a product name and version, or an image pull spec (e.g. \"registry.access.redhat.com/rhel7/rhel:7.2\").",
127 "signedClaims": "Contains claims from the signature.",
128 "created": "If specified, it is the time of signature's creation.",
129 "issuedBy": "If specified, it holds information about an issuer of signing certificate or key (a person or entity who signed the signing certificate or key).",
130 "issuedTo": "If specified, it holds information about a subject of signing certificate or key (a person or entity who signed the image).",
131 }
132
133 func (ImageSignature) SwaggerDoc() map[string]string {
134 return map_ImageSignature
135 }
136
137 var map_ImageStream = map[string]string{
138 "": "ImageStream stores a mapping of tags to images, metadata overrides that are applied when images are tagged in a stream, and an optional reference to a container image repository on a registry.",
139 "metadata": "Standard object's metadata.",
140 "spec": "Spec describes the desired state of this stream",
141 "status": "Status describes the current state of this stream",
142 }
143
144 func (ImageStream) SwaggerDoc() map[string]string {
145 return map_ImageStream
146 }
147
148 var map_ImageStreamImage = map[string]string{
149 "": "ImageStreamImage represents an Image that is retrieved by image name from an ImageStream.",
150 "metadata": "Standard object's metadata.",
151 "image": "Image associated with the ImageStream and image name.",
152 }
153
154 func (ImageStreamImage) SwaggerDoc() map[string]string {
155 return map_ImageStreamImage
156 }
157
158 var map_ImageStreamImport = map[string]string{
159 "": "The image stream import resource provides an easy way for a user to find and import container images from other container image registries into the server. Individual images or an entire image repository may be imported, and users may choose to see the results of the import prior to tagging the resulting images into the specified image stream.\n\nThis API is intended for end-user tools that need to see the metadata of the image prior to import (for instance, to generate an application from it). Clients that know the desired image can continue to create spec.tags directly into their image streams.",
160 "metadata": "Standard object's metadata.",
161 "spec": "Spec is a description of the images that the user wishes to import",
162 "status": "Status is the the result of importing the image",
163 }
164
165 func (ImageStreamImport) SwaggerDoc() map[string]string {
166 return map_ImageStreamImport
167 }
168
169 var map_ImageStreamImportSpec = map[string]string{
170 "": "ImageStreamImportSpec defines what images should be imported.",
171 "import": "Import indicates whether to perform an import - if so, the specified tags are set on the spec and status of the image stream defined by the type meta.",
172 "repository": "Repository is an optional import of an entire container image repository. A maximum limit on the number of tags imported this way is imposed by the server.",
173 "images": "Images are a list of individual images to import.",
174 }
175
176 func (ImageStreamImportSpec) SwaggerDoc() map[string]string {
177 return map_ImageStreamImportSpec
178 }
179
180 var map_ImageStreamImportStatus = map[string]string{
181 "": "ImageStreamImportStatus contains information about the status of an image stream import.",
182 "import": "Import is the image stream that was successfully updated or created when 'to' was set.",
183 "repository": "Repository is set if spec.repository was set to the outcome of the import",
184 "images": "Images is set with the result of importing spec.images",
185 }
186
187 func (ImageStreamImportStatus) SwaggerDoc() map[string]string {
188 return map_ImageStreamImportStatus
189 }
190
191 var map_ImageStreamLayers = map[string]string{
192 "": "ImageStreamLayers describes information about the layers referenced by images in this image stream.",
193 "metadata": "Standard object's metadata.",
194 "blobs": "blobs is a map of blob name to metadata about the blob.",
195 "images": "images is a map between an image name and the names of the blobs and config that comprise the image.",
196 }
197
198 func (ImageStreamLayers) SwaggerDoc() map[string]string {
199 return map_ImageStreamLayers
200 }
201
202 var map_ImageStreamList = map[string]string{
203 "": "ImageStreamList is a list of ImageStream objects.",
204 "metadata": "Standard object's metadata.",
205 "items": "Items is a list of imageStreams",
206 }
207
208 func (ImageStreamList) SwaggerDoc() map[string]string {
209 return map_ImageStreamList
210 }
211
212 var map_ImageStreamMapping = map[string]string{
213 "": "ImageStreamMapping represents a mapping from a single tag to a container image as well as the reference to the container image stream the image came from.",
214 "metadata": "Standard object's metadata.",
215 "image": "Image is a container image.",
216 "tag": "Tag is a string value this image can be located with inside the stream.",
217 }
218
219 func (ImageStreamMapping) SwaggerDoc() map[string]string {
220 return map_ImageStreamMapping
221 }
222
223 var map_ImageStreamSpec = map[string]string{
224 "": "ImageStreamSpec represents options for ImageStreams.",
225 "lookupPolicy": "lookupPolicy controls how other resources reference images within this namespace.",
226 "dockerImageRepository": "dockerImageRepository is optional, if specified this stream is backed by a container repository on this server Deprecated: This field is deprecated as of v3.7 and will be removed in a future release. Specify the source for the tags to be imported in each tag via the spec.tags.from reference instead.",
227 "tags": "tags map arbitrary string values to specific image locators",
228 }
229
230 func (ImageStreamSpec) SwaggerDoc() map[string]string {
231 return map_ImageStreamSpec
232 }
233
234 var map_ImageStreamStatus = map[string]string{
235 "": "ImageStreamStatus contains information about the state of this image stream.",
236 "dockerImageRepository": "DockerImageRepository represents the effective location this stream may be accessed at. May be empty until the server determines where the repository is located",
237 "publicDockerImageRepository": "PublicDockerImageRepository represents the public location from where the image can be pulled outside the cluster. This field may be empty if the administrator has not exposed the integrated registry externally.",
238 "tags": "Tags are a historical record of images associated with each tag. The first entry in the TagEvent array is the currently tagged image.",
239 }
240
241 func (ImageStreamStatus) SwaggerDoc() map[string]string {
242 return map_ImageStreamStatus
243 }
244
245 var map_ImageStreamTag = map[string]string{
246 "": "ImageStreamTag represents an Image that is retrieved by tag name from an ImageStream.",
247 "metadata": "Standard object's metadata.",
248 "tag": "tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream.",
249 "generation": "generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or conditions will be filled out indicating any error.",
250 "lookupPolicy": "lookupPolicy indicates whether this tag will handle image references in this namespace.",
251 "conditions": "conditions is an array of conditions that apply to the image stream tag.",
252 "image": "image associated with the ImageStream and tag.",
253 }
254
255 func (ImageStreamTag) SwaggerDoc() map[string]string {
256 return map_ImageStreamTag
257 }
258
259 var map_ImageStreamTagList = map[string]string{
260 "": "ImageStreamTagList is a list of ImageStreamTag objects.",
261 "metadata": "Standard object's metadata.",
262 "items": "Items is the list of image stream tags",
263 }
264
265 func (ImageStreamTagList) SwaggerDoc() map[string]string {
266 return map_ImageStreamTagList
267 }
268
269 var map_NamedTagEventList = map[string]string{
270 "": "NamedTagEventList relates a tag to its image history.",
271 "tag": "Tag is the tag for which the history is recorded",
272 "items": "Standard object's metadata.",
273 "conditions": "Conditions is an array of conditions that apply to the tag event list.",
274 }
275
276 func (NamedTagEventList) SwaggerDoc() map[string]string {
277 return map_NamedTagEventList
278 }
279
280 var map_RepositoryImportSpec = map[string]string{
281 "": "RepositoryImportSpec describes a request to import images from a container image repository.",
282 "from": "From is the source for the image repository to import; only kind DockerImage and a name of a container image repository is allowed",
283 "importPolicy": "ImportPolicy is the policy controlling how the image is imported",
284 "referencePolicy": "ReferencePolicy defines how other components should consume the image",
285 "includeManifest": "IncludeManifest determines if the manifest for each image is returned in the response",
286 }
287
288 func (RepositoryImportSpec) SwaggerDoc() map[string]string {
289 return map_RepositoryImportSpec
290 }
291
292 var map_RepositoryImportStatus = map[string]string{
293 "": "RepositoryImportStatus describes the result of an image repository import",
294 "status": "Status reflects whether any failure occurred during import",
295 "images": "Images is a list of images successfully retrieved by the import of the repository.",
296 "additionalTags": "AdditionalTags are tags that exist in the repository but were not imported because a maximum limit of automatic imports was applied.",
297 }
298
299 func (RepositoryImportStatus) SwaggerDoc() map[string]string {
300 return map_RepositoryImportStatus
301 }
302
303 var map_SignatureCondition = map[string]string{
304 "": "SignatureCondition describes an image signature condition of particular kind at particular probe time.",
305 "type": "Type of signature condition, Complete or Failed.",
306 "status": "Status of the condition, one of True, False, Unknown.",
307 "lastProbeTime": "Last time the condition was checked.",
308 "lastTransitionTime": "Last time the condition transit from one status to another.",
309 "reason": "(brief) reason for the condition's last transition.",
310 "message": "Human readable message indicating details about last transition.",
311 }
312
313 func (SignatureCondition) SwaggerDoc() map[string]string {
314 return map_SignatureCondition
315 }
316
317 var map_SignatureGenericEntity = map[string]string{
318 "": "SignatureGenericEntity holds a generic information about a person or entity who is an issuer or a subject of signing certificate or key.",
319 "organization": "Organization name.",
320 "commonName": "Common name (e.g. openshift-signing-service).",
321 }
322
323 func (SignatureGenericEntity) SwaggerDoc() map[string]string {
324 return map_SignatureGenericEntity
325 }
326
327 var map_SignatureIssuer = map[string]string{
328 "": "SignatureIssuer holds information about an issuer of signing certificate or key.",
329 }
330
331 func (SignatureIssuer) SwaggerDoc() map[string]string {
332 return map_SignatureIssuer
333 }
334
335 var map_SignatureSubject = map[string]string{
336 "": "SignatureSubject holds information about a person or entity who created the signature.",
337 "publicKeyID": "If present, it is a human readable key id of public key belonging to the subject used to verify image signature. It should contain at least 64 lowest bits of public key's fingerprint (e.g. 0x685ebe62bf278440).",
338 }
339
340 func (SignatureSubject) SwaggerDoc() map[string]string {
341 return map_SignatureSubject
342 }
343
344 var map_TagEvent = map[string]string{
345 "": "TagEvent is used by ImageStreamStatus to keep a historical record of images associated with a tag.",
346 "created": "Created holds the time the TagEvent was created",
347 "dockerImageReference": "DockerImageReference is the string that can be used to pull this image",
348 "image": "Image is the image",
349 "generation": "Generation is the spec tag generation that resulted in this tag being updated",
350 }
351
352 func (TagEvent) SwaggerDoc() map[string]string {
353 return map_TagEvent
354 }
355
356 var map_TagEventCondition = map[string]string{
357 "": "TagEventCondition contains condition information for a tag event.",
358 "type": "Type of tag event condition, currently only ImportSuccess",
359 "status": "Status of the condition, one of True, False, Unknown.",
360 "lastTransitionTime": "LastTransitionTIme is the time the condition transitioned from one status to another.",
361 "reason": "Reason is a brief machine readable explanation for the condition's last transition.",
362 "message": "Message is a human readable description of the details about last transition, complementing reason.",
363 "generation": "Generation is the spec tag generation that this status corresponds to",
364 }
365
366 func (TagEventCondition) SwaggerDoc() map[string]string {
367 return map_TagEventCondition
368 }
369
370 var map_TagImportPolicy = map[string]string{
371 "": "TagImportPolicy controls how images related to this tag will be imported.",
372 "insecure": "Insecure is true if the server may bypass certificate verification or connect directly over HTTP during image import.",
373 "scheduled": "Scheduled indicates to the server that this tag should be periodically checked to ensure it is up to date, and imported",
374 }
375
376 func (TagImportPolicy) SwaggerDoc() map[string]string {
377 return map_TagImportPolicy
378 }
379
380 var map_TagReference = map[string]string{
381 "": "TagReference specifies optional annotations for images using this tag and an optional reference to an ImageStreamTag, ImageStreamImage, or DockerImage this tag should track.",
382 "name": "Name of the tag",
383 "annotations": "Optional; if specified, annotations that are applied to images retrieved via ImageStreamTags.",
384 "from": "Optional; if specified, a reference to another image that this tag should point to. Valid values are ImageStreamTag, ImageStreamImage, and DockerImage. ImageStreamTag references can only reference a tag within this same ImageStream.",
385 "reference": "Reference states if the tag will be imported. Default value is false, which means the tag will be imported.",
386 "generation": "Generation is a counter that tracks mutations to the spec tag (user intent). When a tag reference is changed the generation is set to match the current stream generation (which is incremented every time spec is changed). Other processes in the system like the image importer observe that the generation of spec tag is newer than the generation recorded in the status and use that as a trigger to import the newest remote tag. To trigger a new import, clients may set this value to zero which will reset the generation to the latest stream generation. Legacy clients will send this value as nil which will be merged with the current tag generation.",
387 "importPolicy": "ImportPolicy is information that controls how images may be imported by the server.",
388 "referencePolicy": "ReferencePolicy defines how other components should consume the image.",
389 }
390
391 func (TagReference) SwaggerDoc() map[string]string {
392 return map_TagReference
393 }
394
395 var map_TagReferencePolicy = map[string]string{
396 "": "TagReferencePolicy describes how pull-specs for images in this image stream tag are generated when image change triggers in deployment configs or builds are resolved. This allows the image stream author to control how images are accessed.",
397 "type": "Type determines how the image pull spec should be transformed when the image stream tag is used in deployment config triggers or new builds. The default value is `Source`, indicating the original location of the image should be used (if imported). The user may also specify `Local`, indicating that the pull spec should point to the integrated container image registry and leverage the registry's ability to proxy the pull to an upstream registry. `Local` allows the credentials used to pull this image to be managed from the image stream's namespace, so others on the platform can access a remote image but have no access to the remote secret. It also allows the image layers to be mirrored into the local registry which the images can still be pulled even if the upstream registry is unavailable.",
398 }
399
400 func (TagReferencePolicy) SwaggerDoc() map[string]string {
401 return map_TagReferencePolicy
402 }
403
404 // AUTO-GENERATED FUNCTIONS END HERE