Documentation ¶
Index ¶
- Constants
- type Controller
- func (ctr Controller) ConstructLocalVolumeMigrate(vol lsapisv1alpha1.LocalVolume) (*lsapisv1alpha1.LocalVolumeMigrate, error)
- func (ctr Controller) CreateLocalVolumeMigrate(lvm lsapisv1alpha1.LocalVolumeMigrate) error
- func (ctr Controller) GetLocalVolumeMigrate(key client.ObjectKey) (lsapisv1alpha1.LocalVolumeMigrate, error)
- func (ctr Controller) GetLocalVolumeMigrateStatus(key client.ObjectKey) (lsapisv1alpha1.LocalVolumeMigrateStatus, error)
- func (ctr Controller) GetLocalVolumeMigrateStatusByLocalVolume(vol lsapisv1alpha1.LocalVolume) (lsapisv1alpha1.LocalVolumeMigrateStatus, error)
- func (ctr Controller) IsAlreadyExist(lvm lsapisv1alpha1.LocalVolumeMigrate) bool
- func (ctr Controller) UpdateLocalVolumeMigrate(lvm lsapisv1alpha1.LocalVolumeMigrate) error
Constants ¶
View Source
const ( APIVersion = "v1alpha1" LocalVolumeMigrateKind = "LocalVolumeMigrate" LocalVolumeMigrateAPIVersion = "hwameistor.io" + "/" + APIVersion )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { // Namespace is the namespace in which migration is created NameSpace string // NodeName is the node in which migration is created NodeName string // contains filtered or unexported fields }
Controller
func (Controller) ConstructLocalVolumeMigrate ¶
func (ctr Controller) ConstructLocalVolumeMigrate(vol lsapisv1alpha1.LocalVolume) (*lsapisv1alpha1.LocalVolumeMigrate, error)
ConstructLocalVolumeMigrate
func (Controller) CreateLocalVolumeMigrate ¶
func (ctr Controller) CreateLocalVolumeMigrate(lvm lsapisv1alpha1.LocalVolumeMigrate) error
CreateLocalVolumeMigrate
func (Controller) GetLocalVolumeMigrate ¶
func (ctr Controller) GetLocalVolumeMigrate(key client.ObjectKey) (lsapisv1alpha1.LocalVolumeMigrate, error)
GetLocalVolumeMigrate
func (Controller) GetLocalVolumeMigrateStatus ¶
func (ctr Controller) GetLocalVolumeMigrateStatus(key client.ObjectKey) (lsapisv1alpha1.LocalVolumeMigrateStatus, error)
GetLocalVolumeMigrateStatus
func (Controller) GetLocalVolumeMigrateStatusByLocalVolume ¶
func (ctr Controller) GetLocalVolumeMigrateStatusByLocalVolume(vol lsapisv1alpha1.LocalVolume) (lsapisv1alpha1.LocalVolumeMigrateStatus, error)
func (Controller) IsAlreadyExist ¶
func (ctr Controller) IsAlreadyExist(lvm lsapisv1alpha1.LocalVolumeMigrate) bool
IsAlreadyExist
func (Controller) UpdateLocalVolumeMigrate ¶
func (ctr Controller) UpdateLocalVolumeMigrate(lvm lsapisv1alpha1.LocalVolumeMigrate) error
UpdateLocalVolumeMigrate
Click to show internal directories.
Click to hide internal directories.