Documentation ¶
Index ¶
- type ResourcePrioritizer
- func (r *ResourcePrioritizer) Description() string
- func (r *ResourcePrioritizer) Name() string
- func (r *ResourcePrioritizer) RequeueAfter(ctx context.Context, placement *clusterapiv1beta1.Placement) plugins.PluginRequeueResult
- func (r *ResourcePrioritizer) Score(ctx context.Context, placement *clusterapiv1beta1.Placement, ...) plugins.PluginScoreResult
- type ResourcePrioritizerBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcePrioritizer ¶
type ResourcePrioritizer struct {
// contains filtered or unexported fields
}
func (*ResourcePrioritizer) Description ¶
func (r *ResourcePrioritizer) Description() string
func (*ResourcePrioritizer) Name ¶
func (r *ResourcePrioritizer) Name() string
func (*ResourcePrioritizer) RequeueAfter ¶ added in v0.4.0
func (r *ResourcePrioritizer) RequeueAfter(ctx context.Context, placement *clusterapiv1beta1.Placement) plugins.PluginRequeueResult
func (*ResourcePrioritizer) Score ¶
func (r *ResourcePrioritizer) Score(ctx context.Context, placement *clusterapiv1beta1.Placement, clusters []*clusterapiv1.ManagedCluster) plugins.PluginScoreResult
type ResourcePrioritizerBuilder ¶
type ResourcePrioritizerBuilder struct {
// contains filtered or unexported fields
}
func NewResourcePrioritizerBuilder ¶
func NewResourcePrioritizerBuilder(handle plugins.Handle) *ResourcePrioritizerBuilder
func (*ResourcePrioritizerBuilder) Build ¶
func (r *ResourcePrioritizerBuilder) Build() *ResourcePrioritizer
func (*ResourcePrioritizerBuilder) WithPrioritizerName ¶
func (r *ResourcePrioritizerBuilder) WithPrioritizerName(name string) *ResourcePrioritizerBuilder
Click to show internal directories.
Click to hide internal directories.