Versions in this module Expand all Collapse all v0 v0.3.0 Jan 8, 2021 Changes in this version + const ControllerRevisionHashLabel + func Add(mgr manager.Manager, _ context.Context) error + func GetNextReplicas(ud *unitv1alpha1.UnitedDeployment) map[string]int32 + func GetUnitedDeploymentCondition(status unitv1alpha1.UnitedDeploymentStatus, ...) *unitv1alpha1.UnitedDeploymentCondition + func NewUnitedDeploymentCondition(condType unitv1alpha1.UnitedDeploymentConditionType, ...) *unitv1alpha1.UnitedDeploymentCondition + func RemoveUnitedDeploymentCondition(status *unitv1alpha1.UnitedDeploymentStatus, ...) + func SetUnitedDeploymentCondition(status *unitv1alpha1.UnitedDeploymentStatus, ...) + type ControlInterface interface + CreatePool func(ud *unitv1alpha1.UnitedDeployment, unit string, revision string, ...) error + DeletePool func(*Pool) error + GetAllPools func(ud *unitv1alpha1.UnitedDeployment) ([]*Pool, error) + GetPoolFailure func(*Pool) *string + IsExpected func(pool *Pool, revision string) bool + UpdatePool func(pool *Pool, ud *unitv1alpha1.UnitedDeployment, revision string, replicas int32) error + type Pool struct + Name string + Namespace string + Spec PoolSpec + Status PoolStatus + type PoolControl struct + func (m *PoolControl) CreatePool(ud *alpha1.UnitedDeployment, poolName string, revision string, replicas int32) error + func (m *PoolControl) DeletePool(pool *Pool) error + func (m *PoolControl) GetAllPools(ud *alpha1.UnitedDeployment) (pools []*Pool, err error) + func (m *PoolControl) GetPoolFailure(pool *Pool) *string + func (m *PoolControl) IsExpected(pool *Pool, revision string) bool + func (m *PoolControl) UpdatePool(pool *Pool, ud *alpha1.UnitedDeployment, revision string, replicas int32) error + type PoolSpec struct + PoolRef metav1.Object + type PoolStatus struct + ObservedGeneration int64 + type ReconcileUnitedDeployment struct + func (r *ReconcileUnitedDeployment) Reconcile(request reconcile.Request) (reconcile.Result, error) + type ResourceRef struct + Resources []metav1.Object