Documentation ¶
Index ¶
- type LocalDiskHandler
- func (ldHandler *LocalDiskHandler) BoundTo(ldc ldm.LocalDiskClaim) error
- func (ldHandler *LocalDiskHandler) ClaimRef() *v1.ObjectReference
- func (ldHandler *LocalDiskHandler) FilterDisk(ldc ldm.LocalDiskClaim) bool
- func (ldHandler *LocalDiskHandler) For(ld ldm.LocalDisk) *LocalDiskHandler
- func (ldHandler *LocalDiskHandler) GetLocalDisk(key client.ObjectKey) (*ldm.LocalDisk, error)
- func (ldHandler *LocalDiskHandler) GetLocalDiskWithLabels(labels labels.Set) (*ldm.LocalDiskList, error)
- func (ldHandler *LocalDiskHandler) ListLocalDisk() (*ldm.LocalDiskList, error)
- func (ldHandler *LocalDiskHandler) ListNodeLocalDisk(node string) (*ldm.LocalDiskList, error)
- func (ldHandler *LocalDiskHandler) RemoveLabel(labels labels.Set)
- func (ldHandler *LocalDiskHandler) SetupLabel(labels labels.Set)
- func (ldHandler *LocalDiskHandler) SetupStatus(status ldm.LocalDiskClaimState)
- func (ldHandler *LocalDiskHandler) UnClaimed() bool
- func (ldHandler *LocalDiskHandler) UpdateStatus() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalDiskHandler ¶
type LocalDiskHandler struct { client.Client record.EventRecorder Ld ldm.LocalDisk // contains filtered or unexported fields }
LocalDiskHandler
func NewLocalDiskHandler ¶
func NewLocalDiskHandler(client client.Client, recorder record.EventRecorder) *LocalDiskHandler
NewLocalDiskHandler
func (*LocalDiskHandler) BoundTo ¶
func (ldHandler *LocalDiskHandler) BoundTo(ldc ldm.LocalDiskClaim) error
BoundTo assign disk to ldc
func (*LocalDiskHandler) ClaimRef ¶
func (ldHandler *LocalDiskHandler) ClaimRef() *v1.ObjectReference
ClaimRef
func (*LocalDiskHandler) FilterDisk ¶
func (ldHandler *LocalDiskHandler) FilterDisk(ldc ldm.LocalDiskClaim) bool
FilterDisk
func (*LocalDiskHandler) For ¶
func (ldHandler *LocalDiskHandler) For(ld ldm.LocalDisk) *LocalDiskHandler
For
func (*LocalDiskHandler) GetLocalDisk ¶
GetLocalDisk
func (*LocalDiskHandler) GetLocalDiskWithLabels ¶
func (ldHandler *LocalDiskHandler) GetLocalDiskWithLabels(labels labels.Set) (*ldm.LocalDiskList, error)
func (*LocalDiskHandler) ListLocalDisk ¶
func (ldHandler *LocalDiskHandler) ListLocalDisk() (*ldm.LocalDiskList, error)
ListLocalDisk
func (*LocalDiskHandler) ListNodeLocalDisk ¶
func (ldHandler *LocalDiskHandler) ListNodeLocalDisk(node string) (*ldm.LocalDiskList, error)
ListNodeLocalDisk
func (*LocalDiskHandler) RemoveLabel ¶
func (ldHandler *LocalDiskHandler) RemoveLabel(labels labels.Set)
SetupLabel
func (*LocalDiskHandler) SetupLabel ¶
func (ldHandler *LocalDiskHandler) SetupLabel(labels labels.Set)
SetupLabel
func (*LocalDiskHandler) SetupStatus ¶
func (ldHandler *LocalDiskHandler) SetupStatus(status ldm.LocalDiskClaimState)
UpdateStatus
func (*LocalDiskHandler) UnClaimed ¶
func (ldHandler *LocalDiskHandler) UnClaimed() bool
UnClaimed Bounded
func (*LocalDiskHandler) UpdateStatus ¶
func (ldHandler *LocalDiskHandler) UpdateStatus() error
UpdateStatus
Click to show internal directories.
Click to hide internal directories.