Documentation ¶
Index ¶
- type Handler
- func (ldcHandler *Handler) AppendDiskRef(ld *v1alpha1.LocalDisk)
- func (ldcHandler *Handler) AssignFreeDisk() error
- func (ldcHandler *Handler) Bounded() bool
- func (ldcHandler *Handler) DeleteLocalDiskClaim() error
- func (ldcHandler *Handler) DiskRefs() []*v1.ObjectReference
- func (ldcHandler *Handler) For(ldc *v1alpha1.LocalDiskClaim) *Handler
- func (ldcHandler *Handler) GetLocalDiskClaim(key client.ObjectKey) (*v1alpha1.LocalDiskClaim, error)
- func (ldcHandler *Handler) ListLocalDiskClaim() (*v1alpha1.LocalDiskClaimList, error)
- func (ldcHandler *Handler) ListUnboundLocalDiskClaim() (*v1alpha1.LocalDiskClaimList, error)
- func (ldcHandler *Handler) PatchBoundDiskRef() error
- func (ldcHandler *Handler) PatchClaimSpec(patch client.Patch) error
- func (ldcHandler *Handler) Phase() v1alpha1.DiskClaimStatus
- func (ldcHandler *Handler) Refresh() error
- func (ldcHandler *Handler) SetupClaimStatus(status v1alpha1.DiskClaimStatus)
- func (ldcHandler *Handler) ShowObjectInfo(msg string)
- func (ldcHandler *Handler) UpdateClaimSpec() error
- func (ldcHandler *Handler) UpdateClaimStatus() error
- func (ldcHandler *Handler) UpdateClaimStatusToBound() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v0.6.0
type Handler struct { client.Client record.EventRecorder // contains filtered or unexported fields }
func NewLocalDiskClaimHandler ¶
func NewLocalDiskClaimHandler(client client.Client, recorder record.EventRecorder) *Handler
func (*Handler) AppendDiskRef ¶ added in v0.6.0
func (*Handler) AssignFreeDisk ¶ added in v0.6.0
func (*Handler) DeleteLocalDiskClaim ¶ added in v0.8.0
func (*Handler) DiskRefs ¶ added in v0.6.0
func (ldcHandler *Handler) DiskRefs() []*v1.ObjectReference
func (*Handler) For ¶ added in v0.6.0
func (ldcHandler *Handler) For(ldc *v1alpha1.LocalDiskClaim) *Handler
func (*Handler) GetLocalDiskClaim ¶ added in v0.6.0
func (*Handler) ListLocalDiskClaim ¶ added in v0.6.0
func (ldcHandler *Handler) ListLocalDiskClaim() (*v1alpha1.LocalDiskClaimList, error)
func (*Handler) ListUnboundLocalDiskClaim ¶ added in v0.6.0
func (ldcHandler *Handler) ListUnboundLocalDiskClaim() (*v1alpha1.LocalDiskClaimList, error)
func (*Handler) PatchBoundDiskRef ¶ added in v0.6.1
PatchBoundDiskRef update all disk bounded by the diskClaim to claim.spec.disks
func (*Handler) PatchClaimSpec ¶ added in v0.6.1
func (*Handler) Phase ¶ added in v0.6.0
func (ldcHandler *Handler) Phase() v1alpha1.DiskClaimStatus
func (*Handler) SetupClaimStatus ¶ added in v0.6.0
func (ldcHandler *Handler) SetupClaimStatus(status v1alpha1.DiskClaimStatus)
func (*Handler) ShowObjectInfo ¶ added in v0.6.1
func (*Handler) UpdateClaimSpec ¶ added in v0.6.0
func (*Handler) UpdateClaimStatus ¶ added in v0.6.0
func (*Handler) UpdateClaimStatusToBound ¶ added in v0.6.1
Click to show internal directories.
Click to hide internal directories.