Documentation ¶
Index ¶
- type Bool
- type LocalDiskFilter
- func (ld *LocalDiskFilter) Available() *LocalDiskFilter
- func (ld *LocalDiskFilter) Capacity(cap int64) *LocalDiskFilter
- func (ld *LocalDiskFilter) DevPathMatch(devPaths []string) *LocalDiskFilter
- func (ld *LocalDiskFilter) DevType() *LocalDiskFilter
- func (ld *LocalDiskFilter) DiskType(diskType string) *LocalDiskFilter
- func (ld *LocalDiskFilter) GetTotalResult() bool
- func (ld *LocalDiskFilter) HasBoundWith(claimUID types.UID) bool
- func (ld *LocalDiskFilter) HasNotReserved() *LocalDiskFilter
- func (ld *LocalDiskFilter) Init() *LocalDiskFilter
- func (ld *LocalDiskFilter) IsNameFormatMatch() *LocalDiskFilter
- func (ld *LocalDiskFilter) LdNameMatch(ldNames []string) *LocalDiskFilter
- func (ld *LocalDiskFilter) NoPartition() *LocalDiskFilter
- func (ld *LocalDiskFilter) NodeMatch(wantNode string) *LocalDiskFilter
- func (ld *LocalDiskFilter) OwnerMatch(owner string) *LocalDiskFilter
- func (ld *LocalDiskFilter) Unique(diskRefs []*v1.ObjectReference) *LocalDiskFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalDiskFilter ¶
type LocalDiskFilter struct { Result Bool FailedMessage map[string]bool // contains filtered or unexported fields }
func NewLocalDiskFilter ¶
func NewLocalDiskFilter(ld *v1alpha1.LocalDisk) LocalDiskFilter
func (*LocalDiskFilter) Available ¶
func (ld *LocalDiskFilter) Available() *LocalDiskFilter
func (*LocalDiskFilter) Capacity ¶
func (ld *LocalDiskFilter) Capacity(cap int64) *LocalDiskFilter
func (*LocalDiskFilter) DevPathMatch ¶
func (ld *LocalDiskFilter) DevPathMatch(devPaths []string) *LocalDiskFilter
func (*LocalDiskFilter) DevType ¶
func (ld *LocalDiskFilter) DevType() *LocalDiskFilter
func (*LocalDiskFilter) DiskType ¶
func (ld *LocalDiskFilter) DiskType(diskType string) *LocalDiskFilter
func (*LocalDiskFilter) GetTotalResult ¶
func (ld *LocalDiskFilter) GetTotalResult() bool
func (*LocalDiskFilter) HasBoundWith ¶
func (ld *LocalDiskFilter) HasBoundWith(claimUID types.UID) bool
HasBoundWith indicates disk has already bound with the claim https://github.com/hwameistor/hwameistor/issues/315
func (*LocalDiskFilter) HasNotReserved ¶
func (ld *LocalDiskFilter) HasNotReserved() *LocalDiskFilter
func (*LocalDiskFilter) Init ¶
func (ld *LocalDiskFilter) Init() *LocalDiskFilter
func (*LocalDiskFilter) IsNameFormatMatch ¶
func (ld *LocalDiskFilter) IsNameFormatMatch() *LocalDiskFilter
func (*LocalDiskFilter) LdNameMatch ¶
func (ld *LocalDiskFilter) LdNameMatch(ldNames []string) *LocalDiskFilter
func (*LocalDiskFilter) NoPartition ¶
func (ld *LocalDiskFilter) NoPartition() *LocalDiskFilter
func (*LocalDiskFilter) NodeMatch ¶
func (ld *LocalDiskFilter) NodeMatch(wantNode string) *LocalDiskFilter
func (*LocalDiskFilter) OwnerMatch ¶
func (ld *LocalDiskFilter) OwnerMatch(owner string) *LocalDiskFilter
func (*LocalDiskFilter) Unique ¶
func (ld *LocalDiskFilter) Unique(diskRefs []*v1.ObjectReference) *LocalDiskFilter
Click to show internal directories.
Click to hide internal directories.