func ExtractVolumeAttachment(volumeAttachment *storagev1beta1.VolumeAttachment, fieldManager string) (*VolumeAttachmentApplyConfiguration, error) {
	return extractVolumeAttachment(volumeAttachment, fieldManager, "")
}
ExtractVolumeAttachment extracts the applied configuration owned by fieldManager from
volumeAttachment. If no managedFields are found in volumeAttachment for fieldManager, a
VolumeAttachmentApplyConfiguration is returned with only the Name, Namespace (if applicable),
APIVersion and Kind populated. It is possible that no managed fields were found for because other
field managers have taken ownership of all the fields previously owned by fieldManager, or because
the fieldManager never owned fields any fields.
volumeAttachment must be a unmodified VolumeAttachment API object that was retrieved from the Kubernetes API.
ExtractVolumeAttachment provides a way to perform a extract/modify-in-place/apply workflow.
Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
applied if another fieldManager has updated or force applied any of the previously applied fields.
Experimental!
package v1beta1
import (
	storagev1beta1 "k8s.io/api/storage/v1beta1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	managedfields "k8s.io/apimachinery/pkg/util/managedfields"
	internal "k8s.io/client-go/applyconfigurations/internal"
	v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
type VolumeAttachmentApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeAttachmentSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumeAttachmentStatusApplyConfiguration `json:"status,omitempty"`
}
func VolumeAttachment(name string) *VolumeAttachmentApplyConfiguration {
	b := &VolumeAttachmentApplyConfiguration{}
	b.WithName(name)
	b.WithKind("VolumeAttachment")
	b.WithAPIVersion("storage.k8s.io/v1beta1")
	return b
}