Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PatchReplicaSet (0.32 sec)

  1. pkg/controller/controller_ref_manager.go

    	// OwnerReference exists with controller=true.
    	patchBytes, err := ownerRefControllerPatch(m.Controller, m.controllerKind, rs.UID)
    	if err != nil {
    		return err
    	}
    	return m.rsControl.PatchReplicaSet(ctx, rs.Namespace, rs.Name, patchBytes)
    }
    
    // ReleaseReplicaSet sends a patch to free the ReplicaSet from the control of the Deployment controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils.go

    type RSControlInterface interface {
    	PatchReplicaSet(ctx context.Context, namespace, name string, data []byte) error
    }
    
    // RealRSControl is the default implementation of RSControllerInterface.
    type RealRSControl struct {
    	KubeClient clientset.Interface
    	Recorder   record.EventRecorder
    }
    
    var _ RSControlInterface = &RealRSControl{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top