forked from kubernetes-client/go
/
v1beta1_volume_attachment_status.go
26 lines (20 loc) · 1.35 KB
/
v1beta1_volume_attachment_status.go
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
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// VolumeAttachmentStatus is the status of a VolumeAttachment request.
type V1beta1VolumeAttachmentStatus struct {
// 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.
AttachError *V1beta1VolumeError `json:"attachError,omitempty"`
// Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
Attached bool `json:"attached"`
// 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.
AttachmentMetadata map[string]string `json:"attachmentMetadata,omitempty"`
// 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.
DetachError *V1beta1VolumeError `json:"detachError,omitempty"`
}