Directories ¶
Path | Synopsis |
---|---|
api
|
|
v1/acreservationcrd
Package acrcrd contains API Schema definitions for the available capacity reservation v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package acrcrd contains API Schema definitions for the available capacity reservation v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
v1/availablecapacitycrd
Package accrd contains API Schema definitions for the available capacity v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package accrd contains API Schema definitions for the available capacity v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
v1/drivecrd
Package drivecrd contains API Schema definitions for the drive v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package drivecrd contains API Schema definitions for the drive v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
v1/lvgcrd
Package lvgcrd contains API Schema definitions for the LogicalVolumeGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package lvgcrd contains API Schema definitions for the LogicalVolumeGroup v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
v1/nodecrd
Package nodecrd contains API Schema definitions for the csi node v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package nodecrd contains API Schema definitions for the csi node v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
v1/volumecrd
Package volumecrd contains API Schema definitions for the volume v1 API group +groupName=csi-baremetal.dell.com +versionName=v1
|
Package volumecrd contains API Schema definitions for the volume v1 API group +groupName=csi-baremetal.dell.com +versionName=v1 |
cmd
|
|
controller
Package for main function of Controller
|
Package for main function of Controller |
drivemgr
Package dmsetup has method for drivemgr initialization and startup
|
Package dmsetup has method for drivemgr initialization and startup |
node
Package for main function of Node
|
Package for main function of Node |
operator
Package for main function of CSI Bare-metal operator
|
Package for main function of CSI Bare-metal operator |
pkg
|
|
base
Package base is for basic methods which can be used by all CSI components
|
Package base is for basic methods which can be used by all CSI components |
base/cache
Package cache contains common interface for caches with Get, Delete and Set methods and in memory cache implementation
|
Package cache contains common interface for caches with Get, Delete and Set methods and in memory cache implementation |
base/linuxutils/datadiscover
Package datadiscover contains code for discovering filesystems, partitions, partition table and LVM PV on drive
|
Package datadiscover contains code for discovering filesystems, partitions, partition table and LVM PV on drive |
base/linuxutils/datadiscover/types
Package types contains interface and structure for discovering of logic entries on drive
|
Package types contains interface and structure for discovering of logic entries on drive |
base/linuxutils/fs
Package fs contains code for communicating with system file system utils such as mkdri/mkfs and so on
|
Package fs contains code for communicating with system file system utils such as mkdri/mkfs and so on |
base/linuxutils/ipmi
Package ipmi contains code for running and interpreting output of system ipmitool util
|
Package ipmi contains code for running and interpreting output of system ipmitool util |
base/linuxutils/lsblk
Package lsblk contains code for running and interpreting output of system util lsblk
|
Package lsblk contains code for running and interpreting output of system util lsblk |
base/linuxutils/lvm
Package lvm contains code for running and interpreting output of system logical volume manager utils such as: pvcreate/pvremove, vgcreate/vgremove, lvcreate/lvremove
|
Package lvm contains code for running and interpreting output of system logical volume manager utils such as: pvcreate/pvremove, vgcreate/vgremove, lvcreate/lvremove |
base/linuxutils/partitionhelper
Package partitionhelper contains code for manipulating with block device partitions and run such system utilites as parted, partprobe, sgdisk
|
Package partitionhelper contains code for manipulating with block device partitions and run such system utilites as parted, partprobe, sgdisk |
base/util
Package util contains common utilities
|
Package util contains common utilities |
common
Package common is for common operations with CSI resources such as AvailableCapacity or Volume Package common is for common operations with CSI resources such as AvailableCapacity or Volume
|
Package common is for common operations with CSI resources such as AvailableCapacity or Volume Package common is for common operations with CSI resources such as AvailableCapacity or Volume |
controller
Package controller contains implementation of CSI Controller component
|
Package controller contains implementation of CSI Controller component |
crcontrollers/operator/common
Package common contains variables that are used in controller code and in other places too the reason of that package is to avoid conflict during initialization k8s client for e2e test
|
Package common contains variables that are used in controller code and in other places too the reason of that package is to avoid conflict during initialization k8s client for e2e test |
drivemgr
Package drivemgr contains a code for managers of storage hardware such as drives
|
Package drivemgr contains a code for managers of storage hardware such as drives |
drivemgr/idracmgr
Package idracmgr provides the iDRAC based implementation of DriveManager interface
|
Package idracmgr provides the iDRAC based implementation of DriveManager interface |
drivemgr/loopbackmgr
Package loopbackmgr contains DriveManager for test purposes based on loop devices
|
Package loopbackmgr contains DriveManager for test purposes based on loop devices |
events
Package events implement a library that will help send events to k8s.
|
Package events implement a library that will help send events to k8s. |
events/recorder
Package recorder implements a simple library for sending event to k8s
|
Package recorder implements a simple library for sending event to k8s |
metrics
Package metrics is for metrics, used in CSI
|
Package metrics is for metrics, used in CSI |
mocks
Package mocks contains mock implementation of CSI methods for test purposes
|
Package mocks contains mock implementation of CSI methods for test purposes |
node
Package node contains implementation of CSI Node component
|
Package node contains implementation of CSI Node component |
node/provisioners
Package provisioners contains code for Volume CR reconcile handling during which volumes on node are created or removed It operates by underlying structures such as a drives/partitions/file system and encapsulates all low-level work with these objects.
|
Package provisioners contains code for Volume CR reconcile handling during which volumes on node are created or removed It operates by underlying structures such as a drives/partitions/file system and encapsulates all low-level work with these objects. |
node/provisioners/utilwrappers
Package utilwrappers consists of code that manipulates by os utils and use code from linuxutils for that Interfaces descriptions: 1.
|
Package utilwrappers consists of code that manipulates by os utils and use code from linuxutils for that Interfaces descriptions: 1. |
test
|
|
e2e/scenarios
test package includes baremetal test storage class definition for e2e tests and definition of e2e test suites with ginkgo library main file for e2e tests is in cmd/tests directory we can run defined test suites with following command: go test cmd/tests/baremetal_e2e.go -ginkgo.v -ginkgo.progress --kubeconfig=<kubeconfig>
|
test package includes baremetal test storage class definition for e2e tests and definition of e2e test suites with ginkgo library main file for e2e tests is in cmd/tests directory we can run defined test suites with following command: go test cmd/tests/baremetal_e2e.go -ginkgo.v -ginkgo.progress --kubeconfig=<kubeconfig> |
Click to show internal directories.
Click to hide internal directories.