baremetal

package
v2.0.13+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExpectedStatus = sets.NewString("running", "start_convert")
)

Functions

This section is empty.

Types

type BasePredicate

type BasePredicate struct {
	predicates.BasePredicate
}

func (*BasePredicate) PreExecute

func (p *BasePredicate) PreExecute(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 (*CPUPredicate) Name

func (p *CPUPredicate) Name() string

type MemoryPredicate

type MemoryPredicate struct {
	BasePredicate
}

func (*MemoryPredicate) Clone

func (p *MemoryPredicate) Clone() core.FitPredicate

func (*MemoryPredicate) Execute

func (*MemoryPredicate) Name

func (p *MemoryPredicate) Name() string

type NetworkPredicate

type NetworkPredicate struct {
	BasePredicate
	SelectedNetworks sync.Map
}

func (*NetworkPredicate) Clone

func (p *NetworkPredicate) Clone() core.FitPredicate

func (*NetworkPredicate) Execute

func (*NetworkPredicate) Name

func (p *NetworkPredicate) Name() string

func (*NetworkPredicate) OnSelect

func (p *NetworkPredicate) OnSelect(u *core.Unit, c core.Candidater) bool

func (*NetworkPredicate) OnSelectEnd

func (p *NetworkPredicate) OnSelectEnd(u *core.Unit, c core.Candidater, count int64)

func (*NetworkPredicate) PreExecute

func (p *NetworkPredicate) PreExecute(u *core.Unit, cs []core.Candidater) (bool, error)

type StatusPredicate

type StatusPredicate struct {
	BasePredicate
}

func (*StatusPredicate) Clone

func (p *StatusPredicate) Clone() core.FitPredicate

func (*StatusPredicate) Execute

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 (*StoragePredicate) Name

func (p *StoragePredicate) Name() string

Jump to

Keyboard shortcuts

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