Documentation ¶
Index ¶
- Variables
- type AddOn
- func (c *AddOn) Description() string
- func (c *AddOn) Name() string
- func (c *AddOn) RequeueAfter(ctx context.Context, placement *clusterapiv1beta1.Placement) (plugins.PluginRequeueResult, *framework.Status)
- func (c *AddOn) Score(ctx context.Context, placement *clusterapiv1beta1.Placement, ...) (plugins.PluginScoreResult, *framework.Status)
- type AddOnBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var AddOnClock = (clock.Clock)(clock.RealClock{})
Functions ¶
This section is empty.
Types ¶
type AddOn ¶
type AddOn struct {
// contains filtered or unexported fields
}
func (*AddOn) Description ¶
func (*AddOn) RequeueAfter ¶ added in v0.4.0
func (c *AddOn) RequeueAfter(ctx context.Context, placement *clusterapiv1beta1.Placement) (plugins.PluginRequeueResult, *framework.Status)
func (*AddOn) Score ¶
func (c *AddOn) Score(ctx context.Context, placement *clusterapiv1beta1.Placement, clusters []*clusterapiv1.ManagedCluster) (plugins.PluginScoreResult, *framework.Status)
type AddOnBuilder ¶
type AddOnBuilder struct {
// contains filtered or unexported fields
}
func NewAddOnPrioritizerBuilder ¶
func NewAddOnPrioritizerBuilder(handle plugins.Handle) *AddOnBuilder
func (*AddOnBuilder) Build ¶
func (c *AddOnBuilder) Build() *AddOn
func (*AddOnBuilder) WithResourceName ¶
func (c *AddOnBuilder) WithResourceName(name string) *AddOnBuilder
func (*AddOnBuilder) WithScoreName ¶
func (c *AddOnBuilder) WithScoreName(name string) *AddOnBuilder
Click to show internal directories.
Click to hide internal directories.