Documentation ¶
Index ¶
- Variables
- type BasePredicate
- type CPUPredicate
- type CdromBootPredicate
- func (p *CdromBootPredicate) Clone() core.FitPredicate
- func (p *CdromBootPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
- func (p *CdromBootPredicate) Name() string
- func (p *CdromBootPredicate) PreExecute(ctx context.Context, u *core.Unit, _ []core.Candidater) (bool, error)
- type MemoryPredicate
- type NetBondingPredicate
- func (p *NetBondingPredicate) Clone() core.FitPredicate
- func (p *NetBondingPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
- func (p *NetBondingPredicate) Name() string
- func (p *NetBondingPredicate) PreExecute(ctx context.Context, u *core.Unit, _ []core.Candidater) (bool, error)
- type StatusPredicate
- type StoragePredicate
- type UEFIImagePredicate
- func (f *UEFIImagePredicate) Clone() core.FitPredicate
- func (f *UEFIImagePredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
- func (f *UEFIImagePredicate) Name() string
- func (f *UEFIImagePredicate) PreExecute(ctx context.Context, u *core.Unit, cs []core.Candidater) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ExpectedStatus = sets.NewString(api.BAREMETAL_RUNNING, api.BAREMETAL_START_CONVERT, api.BAREMETAL_CONVERTING)
)
Functions ¶
This section is empty.
Types ¶
type BasePredicate ¶
type BasePredicate struct {
predicates.BasePredicate
}
func (*BasePredicate) PreExecute ¶
func (p *BasePredicate) PreExecute(ctx context.Context, u *core.Unit, cs []core.Candidater) (bool, error)
type CPUPredicate ¶
type CPUPredicate struct {
BasePredicate
}
func (*CPUPredicate) Clone ¶
func (p *CPUPredicate) Clone() core.FitPredicate
func (*CPUPredicate) Execute ¶
func (p *CPUPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*CPUPredicate) Name ¶
func (p *CPUPredicate) Name() string
type CdromBootPredicate ¶
type CdromBootPredicate struct {
BasePredicate
}
func (*CdromBootPredicate) Clone ¶
func (p *CdromBootPredicate) Clone() core.FitPredicate
func (*CdromBootPredicate) Execute ¶
func (p *CdromBootPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*CdromBootPredicate) Name ¶
func (p *CdromBootPredicate) Name() string
func (*CdromBootPredicate) PreExecute ¶
func (p *CdromBootPredicate) PreExecute(ctx context.Context, u *core.Unit, _ []core.Candidater) (bool, error)
type MemoryPredicate ¶
type MemoryPredicate struct {
BasePredicate
}
func (*MemoryPredicate) Clone ¶
func (p *MemoryPredicate) Clone() core.FitPredicate
func (*MemoryPredicate) Execute ¶
func (p *MemoryPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*MemoryPredicate) Name ¶
func (p *MemoryPredicate) Name() string
type NetBondingPredicate ¶
type NetBondingPredicate struct {
BasePredicate
}
func (*NetBondingPredicate) Clone ¶
func (p *NetBondingPredicate) Clone() core.FitPredicate
func (*NetBondingPredicate) Execute ¶
func (p *NetBondingPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*NetBondingPredicate) Name ¶
func (p *NetBondingPredicate) Name() string
func (*NetBondingPredicate) PreExecute ¶
func (p *NetBondingPredicate) PreExecute(ctx context.Context, u *core.Unit, _ []core.Candidater) (bool, error)
type StatusPredicate ¶
type StatusPredicate struct {
BasePredicate
}
func (*StatusPredicate) Clone ¶
func (p *StatusPredicate) Clone() core.FitPredicate
func (*StatusPredicate) Execute ¶
func (p *StatusPredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*StatusPredicate) Name ¶
func (p *StatusPredicate) Name() string
type StoragePredicate ¶
type StoragePredicate struct {
BasePredicate
}
func (*StoragePredicate) Clone ¶
func (p *StoragePredicate) Clone() core.FitPredicate
func (*StoragePredicate) Execute ¶
func (p *StoragePredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*StoragePredicate) Name ¶
func (p *StoragePredicate) Name() string
type UEFIImagePredicate ¶
type UEFIImagePredicate struct { predicates.BasePredicate // contains filtered or unexported fields }
func (*UEFIImagePredicate) Clone ¶
func (f *UEFIImagePredicate) Clone() core.FitPredicate
func (*UEFIImagePredicate) Execute ¶
func (f *UEFIImagePredicate) Execute(ctx context.Context, u *core.Unit, c core.Candidater) (bool, []core.PredicateFailureReason, error)
func (*UEFIImagePredicate) Name ¶
func (f *UEFIImagePredicate) Name() string
func (*UEFIImagePredicate) PreExecute ¶
func (f *UEFIImagePredicate) PreExecute(ctx context.Context, u *core.Unit, cs []core.Candidater) (bool, error)
Click to show internal directories.
Click to hide internal directories.