github.com/openebs/node-disk-manager@v1.9.1-0.20230225014141-4531f06ffa1e/api/v1alpha1/crds.go (about)

     1  /*
     2  Copyright 2019 The OpenEBS Authors
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package v1alpha1
    18  
    19  var (
    20  	// BlockDeviceResourceKind is the kind of block device CRD
    21  	BlockDeviceResourceKind = "BlockDevice"
    22  	// BlockDeviceResourceListKind is the list kind for block device
    23  	BlockDeviceResourceListKind = "BlockDeviceList"
    24  	// BlockDeviceResourcePlural is the plural form used for block device
    25  	BlockDeviceResourcePlural = "blockdevices"
    26  	// BlockDeviceResourceShort is the short name used for block device CRD
    27  	BlockDeviceResourceShort = "bd"
    28  	// BlockDeviceResourceName is the name of the block device resource
    29  	BlockDeviceResourceName = BlockDeviceResourcePlural + "." + GroupVersion.Group
    30  
    31  	// BlockDeviceClaimResourceKind is the kind of block device claim CRD
    32  	BlockDeviceClaimResourceKind = "BlockDeviceClaim"
    33  	// BlockDeviceClaimResourceListKind is the list kind for block device claim
    34  	BlockDeviceClaimResourceListKind = "BlockDeviceClaimList"
    35  	// BlockDeviceClaimResourcePlural is the plural form used for block device claim
    36  	BlockDeviceClaimResourcePlural = "blockdeviceclaims"
    37  	// BlockDeviceClaimResourceShort is the short name used for block device claim CRD
    38  	BlockDeviceClaimResourceShort = "bdc"
    39  	// BlockDeviceClaimResourceName is the name of the block device claim resource
    40  	BlockDeviceClaimResourceName = BlockDeviceClaimResourcePlural + "." + GroupVersion.Group
    41  )