Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvoidSameHostPriority ¶
type AvoidSameHostPriority struct {
priorities.BasePriority
}
func (*AvoidSameHostPriority) Clone ¶
func (p *AvoidSameHostPriority) Clone() core.Priority
func (*AvoidSameHostPriority) Map ¶
func (p *AvoidSameHostPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
func (*AvoidSameHostPriority) Name ¶
func (p *AvoidSameHostPriority) Name() string
type CapacityPriority ¶
type CapacityPriority struct {
priorities.BasePriority
}
func (*CapacityPriority) Clone ¶
func (p *CapacityPriority) Clone() core.Priority
func (*CapacityPriority) Map ¶
func (p *CapacityPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
func (*CapacityPriority) Name ¶
func (p *CapacityPriority) Name() string
type CreatingPriority ¶
type CreatingPriority struct {
priorities.BasePriority
}
func (*CreatingPriority) Clone ¶
func (p *CreatingPriority) Clone() core.Priority
func (*CreatingPriority) Map ¶
func (p *CreatingPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
func (*CreatingPriority) Name ¶
func (p *CreatingPriority) Name() string
type LowLoadPriority ¶
type LowLoadPriority struct {
priorities.BasePriority
}
func (*LowLoadPriority) Clone ¶
func (p *LowLoadPriority) Clone() core.Priority
func (*LowLoadPriority) Map ¶
func (p *LowLoadPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
func (*LowLoadPriority) Name ¶
func (p *LowLoadPriority) Name() string
func (*LowLoadPriority) ScoreIntervals ¶
func (p *LowLoadPriority) ScoreIntervals() score.Intervals
Click to show internal directories.
Click to hide internal directories.