@@ -20,7 +20,7 @@ import (
2020 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2121)
2222
23- // GlanceTag is the name of the go field tag in properties structs used to specify the glance property name.
23+ // GlanceTag is the name of the go field tag in properties structs used to specify the Glance property name.
2424const GlanceTag = "glance"
2525
2626// +kubebuilder:validation:MinLength:=1
@@ -244,14 +244,14 @@ type ImageContentSourceDownload struct {
244244
245245 // Decompress specifies that the source data must be decompressed with the
246246 // given compression algorithm before being stored. Specifying Decompress
247- // will disable the use of glance 's web-download, as web-download cannot
247+ // will disable the use of Glance 's web-download, as web-download cannot
248248 // currently deterministically decompress downloaded content.
249249 // +optional
250250 Decompress * ImageCompression `json:"decompress,omitempty"`
251251
252252 // Hash is a hash which will be used to verify downloaded data, i.e.
253253 // before any decompression. If not specified, no hash verification will be
254- // performed. Specifying a Hash will disable the use of glance 's
254+ // performed. Specifying a Hash will disable the use of Glance 's
255255 // web-download, as web-download cannot currently deterministically verify
256256 // the hash of downloaded content.
257257 // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="hash is immutable"
@@ -272,9 +272,9 @@ type ImageHash struct {
272272 Value string `json:"value"`
273273}
274274
275- // ImageResourceSpec contains the desired state of a glance image
275+ // ImageResourceSpec contains the desired state of a Glance image
276276type ImageResourceSpec struct {
277- // Name will be the name of the created glance image. If not specified, the
277+ // Name will be the name of the created Glance image. If not specified, the
278278 // name of the Image object will be used.
279279 // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="imageName is immutable"
280280 // +optional
@@ -308,10 +308,10 @@ type ImageResourceSpec struct {
308308 Content * ImageContent `json:"content,omitempty"`
309309}
310310
311- // ImageFilter defines a glance query
311+ // ImageFilter defines a Glance query
312312// +kubebuilder:validation:MinProperties:=1
313313type ImageFilter struct {
314- // Name specifies the name of a glance image
314+ // Name specifies the name of a Glance image
315315 // +optional
316316 // +kubebuilder:validation:MinLength:=1
317317 // +kubebuilder:validation:MaxLength:=1000
@@ -323,7 +323,7 @@ type ImageFilter struct {
323323// +kubebuilder:validation:MinProperties:=1
324324// +kubebuilder:validation:MaxProperties:=1
325325type ImageImport struct {
326- // ID contains the unique identifier of an existing glance image. Note that
326+ // ID contains the unique identifier of an existing Glance image. Note that
327327 // when specifying an image import by ID, the image MUST already exist. The
328328 // Image will enter an error state if the image does not exist.
329329 // +optional
@@ -351,7 +351,7 @@ type ImageSpec struct {
351351 // +optional
352352 Import * ImageImport `json:"import,omitempty"`
353353
354- // Resource specifies the desired state of the glance image.
354+ // Resource specifies the desired state of the Glance image.
355355 //
356356 // Resource may not be specified if the management policy is `unmanaged`.
357357 //
@@ -377,14 +377,14 @@ type ImageSpec struct {
377377 CloudCredentialsRef CloudCredentialsReference `json:"cloudCredentialsRef"`
378378}
379379
380- // ImageResourceStatus represents the observed state of a glance image
380+ // ImageResourceStatus represents the observed state of a Glance image
381381type ImageResourceStatus struct {
382- // Status is the image status as reported by glance
382+ // Status is the image status as reported by Glance
383383 // +optional
384384 Status * string `json:"status,omitempty"`
385385
386- // Hash is the hash of the image data published by glance . Note that this is
387- // a hash of the data stored internally by glance , which will have been
386+ // Hash is the hash of the image data published by Glance . Note that this is
387+ // a hash of the data stored internally by Glance , which will have been
388388 // decompressed and potentially format converted depending on server-side
389389 // configuration which is not visible to clients. It is expected that this
390390 // hash will usually differ from the download hash.
@@ -405,11 +405,11 @@ type ImageStatus struct {
405405 // Conditions represents the observed status of the object.
406406 // Known .status.conditions.type are: "Available", "Progressing"
407407 //
408- // Available represents the availability of the glance image. If it is
409- // true then the image is ready for use in glance , and its hash has been
408+ // Available represents the availability of the Glance image. If it is
409+ // true then the image is ready for use in Glance , and its hash has been
410410 // verified.
411411 //
412- // Progressing indicates the state of the glance image does not currently
412+ // Progressing indicates the state of the Glance image does not currently
413413 // reflect the desired state, but that reconciliation is progressing.
414414 // Progressing will be False either because the desired state has been
415415 // achieved, or some terminal error prevents it from being achieved and the
@@ -421,11 +421,11 @@ type ImageStatus struct {
421421 // +listMapKey=type
422422 Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
423423
424- // ID is the unique identifier of the glance image
424+ // ID is the unique identifier of the Glance image
425425 // +optional
426426 ID * string `json:"id,omitempty"`
427427
428- // Resource contains the observed state of the glance image
428+ // Resource contains the observed state of the Glance image
429429 // +optional
430430 Resource * ImageResourceStatus `json:"resource,omitempty"`
431431
0 commit comments