func buildBlockDeviceCRD() (*apiext.CustomResourceDefinition, error) {
	crdBuilder := crds.NewBuilder()
	crdBuilder.WithName(apis.BlockDeviceResourceName).
		WithGroup(apis.GroupName).
		WithVersion(apis.APIVersion).
		WithScope(apiext.NamespaceScoped).
		WithKind(apis.BlockDeviceResourceKind).
		WithListKind(apis.BlockDeviceResourceListKind).
		WithPlural(apis.BlockDeviceResourcePlural).
		WithShortNames([]string{apis.BlockDeviceResourceShort}).
		WithPrinterColumns("NodeName", "string", ".spec.nodeAttributes.nodeName").
		WithPriorityPrinterColumns("Path", "string", ".spec.path", 1).
		WithPriorityPrinterColumns("FSType", "string", ".spec.filesystem.fsType", 1).
		WithPrinterColumns("Size", "string", ".spec.capacity.storage").
		WithPrinterColumns("ClaimState", "string", ".status.claimState").
		WithPrinterColumns("Status", "string", ".status.state").
		WithPrinterColumns("Age", "date", ".metadata.creationTimestamp")
	return crdBuilder.Build()
}
// buildBlockDeviceCRD is used to build the blockdevice CRD
buildBlockDeviceCRD is used to build the blockdevice CRD
// buildBlockDeviceCRD is used to build the blockdevice CRD
func buildBlockDeviceCRD() (*apiext.CustomResourceDefinition, error) {
	crdBuilder := crds.NewBuilder()
	crdBuilder.WithName(apis.BlockDeviceResourceName).
		WithGroup(apis.GroupName).
		WithVersion(apis.APIVersion).
		WithScope(apiext.NamespaceScoped).
		WithKind(apis.BlockDeviceResourceKind).
		WithListKind(apis.BlockDeviceResourceListKind).
		WithPlural(apis.BlockDeviceResourcePlural).
		WithShortNames([]string{apis.BlockDeviceResourceShort}).
		WithPrinterColumns("NodeName", "string", ".spec.nodeAttributes.nodeName").
		WithPriorityPrinterColumns("Path", "string", ".spec.path", 1).
		WithPriorityPrinterColumns("FSType", "string", ".spec.filesystem.fsType", 1).
		WithPrinterColumns("Size", "string", ".spec.capacity.storage").
		WithPrinterColumns("ClaimState", "string", ".status.claimState").
		WithPrinterColumns("Status", "string", ".status.state").
		WithPrinterColumns("Age", "date", ".metadata.creationTimestamp")
	return crdBuilder.Build()
}
func buildBlockDeviceCRD ( ) ( * apiext . CustomResourceDefinition , error ) { crdBuilder := crds . NewBuilder ( ) crdBuilder . WithName ( apis . BlockDeviceResourceName ) . WithGroup ( apis . GroupName ) . WithVersion ( apis . APIVersion ) . WithScope ( apiext . NamespaceScoped ) . WithKind ( apis . BlockDeviceResourceKind ) . WithListKind ( apis . BlockDeviceResourceListKind ) . WithPlural ( apis . BlockDeviceResourcePlural ) . WithShortNames ( [ ] string { apis . BlockDeviceResourceShort } ) . WithPrinterColumns ( " " , " " , " " ) . WithPriorityPrinterColumns ( " " , " " , " " , 1 ) . WithPriorityPrinterColumns ( " " , " " , " " , 1 ) . WithPrinterColumns ( " " , " " , " " ) . WithPrinterColumns ( " " , " " , " " ) . WithPrinterColumns ( " " , " " , " " ) . WithPrinterColumns ( " " , " " , " " ) return crdBuilder . Build ( ) }
buildBlockDeviceCRD is used to build the blockdevice CRD
buildBlockDeviceCRD is used to build the blockdevice CRD