You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
62
+
63
+
status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
Source represents the volume that should be attached.
96
+
source represents the volume that should be attached.
92
97
93
98
<a name="VolumeAttachmentSource"></a>
94
99
*VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.*
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
98
103
99
104
- **source.persistentVolumeName** (string)
100
-
Name of the persistent volume to attach.
105
+
106
+
persistentVolumeName represents the name of the persistent volume to attach.
VolumeAttachmentStatus is the status of a VolumeAttachment request.
130
+
131
+
<hr>
132
+
124
133
- **attached** (boolean), required
125
-
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
134
+
135
+
attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
126
136
-->
127
137
VolumeAttachmentStatus 是 VolumeAttachment 请求的状态。
128
138
129
139
<hr>
130
140
131
141
-**attached** (boolean),必需
132
142
133
-
表示卷被成功挂接。此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
143
+
attached 表示卷被成功挂接。此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
134
144
135
145
<!--
136
146
- **attachError** (VolumeError)
137
-
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
147
+
148
+
attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
138
149
139
150
<a name="VolumeError"></a>
140
151
*VolumeError captures an error encountered during a volume operation.*
141
152
142
153
- **attachError.message** (string)
143
-
String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
154
+
155
+
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
144
156
145
157
- **attachError.time** (Time)
146
-
Time the error was encountered.
158
+
159
+
time represents the time the error was encountered.
147
160
148
161
<a name="Time"></a>
149
162
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
150
163
-->
151
164
-**attachError** (VolumeError)
152
165
153
-
挂接操作期间遇到的最后一个错误,如果有。
166
+
attachError 表示挂接操作期间遇到的最后一个错误,如果有。
154
167
此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
155
-
168
+
156
169
<aname="VolumeError"></a>
157
170
**VolumeError 抓取卷操作期间遇到的一个错误。**
158
-
171
+
159
172
-**attachError.message** (string)
160
173
161
-
此字符串详细说明挂接或解除挂接操作期间遇到的错误。
174
+
message 表示挂接或解除挂接操作期间遇到的错误。
162
175
此字符串可以放入日志,因此它不应包含敏感信息。
163
-
176
+
164
177
-**attachError.time** (Time)
165
178
166
179
遇到错误的时间。
167
-
180
+
168
181
<aname="Time"></a>
169
182
**time 是 time.Time 的包装类,支持正确地序列化为 YAML 和 JSON。
170
183
为 time 包提供的许多工厂方法提供了包装类。**
171
184
172
185
<!--
173
186
- **attachmentMetadata** (map[string]string)
174
-
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
187
+
188
+
attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
189
+
175
190
-->
176
191
-**attachmentMetadata** (map[string]string)
177
192
178
-
成功挂接时,此字段将由挂接操作返回的任何信息进行填充,
193
+
成功挂接时,attachmentMetadata 字段将由挂接操作返回的任何信息进行填充,
179
194
这些信息必须传递到后续的 WaitForAttach 或 Mount 调用中。
180
195
此字段只能由完成挂接操作的实体(例如外部挂接器)进行设置。
181
196
182
197
<!--
183
198
- **detachError** (VolumeError)
184
-
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
199
+
200
+
detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
185
201
186
202
<a name="VolumeError"></a>
187
203
*VolumeError captures an error encountered during a volume operation.*
188
204
189
205
- **detachError.message** (string)
190
-
String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
206
+
207
+
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
191
208
192
209
- **detachError.time** (Time)
193
-
Time the error was encountered.
210
+
211
+
time represents the time the error was encountered.
194
212
195
213
<a name="Time"></a>
196
214
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
0 commit comments