Documentation
¶
Index ¶
- func ResourceManagerNewer(rmg *v1alpha1.ResourceManagerGroup, rev string, fg features.Gates) updater.NewFactory[*runtime.ResourceManager]
- func TaskContextRMClient(state *ReconcileContext, m resourcemanager.ResourceManagerClientManager) task.Task
- func TaskService(state common.ObjectState[*v1alpha1.ResourceManagerGroup], c client.Client) task.Task
- func TaskUpdater(state *ReconcileContext, c client.Client, af tracker.AllocateFactory) task.Task
- type ReconcileContext
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceManagerNewer ¶
func ResourceManagerNewer(rmg *v1alpha1.ResourceManagerGroup, rev string, fg features.Gates) updater.NewFactory[*runtime.ResourceManager]
func TaskContextRMClient ¶
func TaskContextRMClient(state *ReconcileContext, m resourcemanager.ResourceManagerClientManager) task.Task
func TaskService ¶
func TaskService(state common.ObjectState[*v1alpha1.ResourceManagerGroup], c client.Client) task.Task
nolint:staticcheck TODO: extract svc to a common task
func TaskUpdater ¶
func TaskUpdater(state *ReconcileContext, c client.Client, af tracker.AllocateFactory) task.Task
TaskUpdater is a task to scale or update ResourceManager when spec of ResourceManagerGroup is changed.
Types ¶
type ReconcileContext ¶
type ReconcileContext struct {
State
}
type State ¶
type State interface {
common.ContextObjectNewer[*v1alpha1.ResourceManagerGroup]
common.ContextClusterNewer[*v1alpha1.ResourceManagerGroup]
common.ContextSliceNewer[*v1alpha1.ResourceManagerGroup, *v1alpha1.ResourceManager]
common.ObjectState[*v1alpha1.ResourceManagerGroup]
common.RevisionStateInitializer[*runtime.ResourceManagerGroup]
common.ClusterState
common.InstanceSliceState[*runtime.ResourceManager]
common.SliceState[*v1alpha1.ResourceManager]
common.RevisionState
common.GroupState[*runtime.ResourceManagerGroup]
common.StatusUpdater
common.StatusPersister[*v1alpha1.ResourceManagerGroup]
stateutil.IFeatureGates
}
func NewState ¶
func NewState(key types.NamespacedName) State
Click to show internal directories.
Click to hide internal directories.