filter

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool int
const (
	FALSE Bool = 0
	TRUE  Bool = 1
)

type LocalDiskFilter

type LocalDiskFilter struct {
	LocalDisk ldmv1alpha1.LocalDisk
	Result    Bool
}

func NewLocalDiskFilter

func NewLocalDiskFilter(ld ldmv1alpha1.LocalDisk) LocalDiskFilter

NewLocalDiskFilter

func (*LocalDiskFilter) Capacity

func (ld *LocalDiskFilter) Capacity(cap int64) *LocalDiskFilter

Capacity

func (*LocalDiskFilter) DevType

func (ld *LocalDiskFilter) DevType() *LocalDiskFilter

DevType

func (*LocalDiskFilter) DiskType

func (ld *LocalDiskFilter) DiskType(diskType string) *LocalDiskFilter

DiskType

func (*LocalDiskFilter) GetTotalResult

func (ld *LocalDiskFilter) GetTotalResult() bool

Capacity

func (*LocalDiskFilter) Init

func (ld *LocalDiskFilter) Init() *LocalDiskFilter

Init

func (*LocalDiskFilter) NoPartition

func (ld *LocalDiskFilter) NoPartition() *LocalDiskFilter

NoPartition

func (*LocalDiskFilter) NodeMatch

func (ld *LocalDiskFilter) NodeMatch(wantNode string) *LocalDiskFilter

NodeMatch

func (*LocalDiskFilter) Unclaimed

func (ld *LocalDiskFilter) Unclaimed() *LocalDiskFilter

Unclaimed

func (*LocalDiskFilter) Unique

func (ld *LocalDiskFilter) Unique(diskRefs []*v1.ObjectReference) *LocalDiskFilter

Unique

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL