Documentation ¶
Index ¶
- type AvoidSameClusterPriority
- func (p *AvoidSameClusterPriority) Clone() core.Priority
- func (p *AvoidSameClusterPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
- func (p *AvoidSameClusterPriority) Name() string
- func (p *AvoidSameClusterPriority) PreExecute(u *core.Unit, cs []core.Candidater) (bool, []core.PredicateFailureReason, error)
- type AvoidSameHostPriority
- type CapacityPriority
- type CreatingPriority
- type LowLoadPriority
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvoidSameClusterPriority ¶
type AvoidSameClusterPriority struct { priorities.BasePriority ClusterTbl map[string]int }
func (*AvoidSameClusterPriority) Clone ¶
func (p *AvoidSameClusterPriority) Clone() core.Priority
func (*AvoidSameClusterPriority) Map ¶
func (p *AvoidSameClusterPriority) Map(u *core.Unit, c core.Candidater) (core.HostPriority, error)
func (*AvoidSameClusterPriority) Name ¶
func (p *AvoidSameClusterPriority) Name() string
func (*AvoidSameClusterPriority) PreExecute ¶
func (p *AvoidSameClusterPriority) PreExecute(u *core.Unit, cs []core.Candidater) (bool, []core.PredicateFailureReason, error)
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
Click to show internal directories.
Click to hide internal directories.