Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶
type Actuator interface {
Apply(ctx context.Context, snapshot state.ClusterSnapshot, plan PartitioningPlan) (bool, error)
}
type Controller ¶
type Controller struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
func NewController ¶
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrl.Manager, name string) error
type PartitioningPlan ¶
type PartitioningPlan struct { DesiredState state.PartitioningState // contains filtered or unexported fields }
func NewPartitioningPlan ¶
func NewPartitioningPlan(s state.PartitioningState) PartitioningPlan
func (PartitioningPlan) GetId ¶
func (p PartitioningPlan) GetId() string
type Planner ¶
type Planner interface {
Plan(ctx context.Context, snapshot state.ClusterSnapshot, pendingPods []v1.Pod) (PartitioningPlan, error)
}
Click to show internal directories.
Click to hide internal directories.