Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,056 for controllee (0.23 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref.go

    	}
    	return ref.UID == owner.GetUID()
    }
    
    // GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller
    func GetControllerOf(controllee Object) *OwnerReference {
    	ref := GetControllerOfNoCopy(controllee)
    	if ref == nil {
    		return nil
    	}
    	cp := *ref
    	cp.Controller = ptr.To(*ref.Controller)
    	if ref.BlockOwnerDeletion != nil {
    		cp.BlockOwnerDeletion = ptr.To(*ref.BlockOwnerDeletion)
    	}
    	return &cp
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 05:14:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils.go

    	return func() time.Duration {
    		return resyncPeriod
    	}
    }
    
    // Expectations are a way for controllers to tell the controller manager what they expect. eg:
    //	ControllerExpectations: {
    //		controller1: expects  2 adds in 2 minutes
    //		controller2: expects  2 dels in 2 minutes
    //		controller3: expects -1 adds in 2 minutes => controller3's expectations have already been met
    //	}
    //
    // Implementation:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set_test.go

    }
    
    // shuffle returns a new shuffled list of container controllers.
    func shuffle(controllers []*apps.ReplicaSet) []*apps.ReplicaSet {
    	numControllers := len(controllers)
    	randIndexes := rand.Perm(numControllers)
    	shuffled := make([]*apps.ReplicaSet, numControllers)
    	for i := 0; i < numControllers; i++ {
    		shuffled[i] = controllers[randIndexes[i]]
    	}
    	return shuffled
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  4. pilot/pkg/autoregistration/internal/health/controller.go

    	condition *v1alpha1.IstioCondition
    }
    
    // Controller knows how to update health status of a workload.
    type Controller struct {
    	stateStore *state.Store
    
    	// healthCondition is a fifo queue used for updating health check status
    	healthCondition controllers.Queue
    }
    
    // NewController returns a new Controller instance.
    func NewController(stateStore *state.Store, maxRetries int) *Controller {
    	c := &Controller{
    		stateStore: stateStore,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. pilot/pkg/autoregistration/controller.go

    	maxConnectionAge time.Duration
    
    	stateStore       *state.Store
    	healthController *health.Controller
    }
    
    type HealthEvent = health.HealthEvent
    
    // NewController create a controller which manages workload lifecycle and health status.
    func NewController(store model.ConfigStoreController, instanceID string, maxConnAge time.Duration) *Controller {
    	if !features.WorkloadEntryAutoRegistration && !features.WorkloadEntryHealthChecks {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/controller.go

    	}
    	return result
    }
    
    func (c *controller) Create(_ config.Config) (string, error) {
    	return "", errUnsupportedOp
    }
    
    func (c *controller) Update(_ config.Config) (string, error) {
    	return "", errUnsupportedOp
    }
    
    func (c *controller) UpdateStatus(config.Config) (string, error) {
    	return "", errUnsupportedOp
    }
    
    func (c *controller) Patch(_ config.Config, _ config.PatchFunc) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/controller/controller.go

    ) *Controller {
    	o := Options{
    		WatchedNamespace: ns,
    		CABundleWatcher:  caBundleWatcher,
    		Revision:         revision,
    		ServiceName:      "istiod",
    	}
    	return newController(o, client)
    }
    
    func newController(o Options, client kube.Client) *Controller {
    	c := &Controller{
    		o:      o,
    		client: client,
    	}
    
    	c.queue = controllers.NewQueue("validation",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. pilot/pkg/config/memory/controller.go

    // made on the client.
    func NewController(cs model.ConfigStore) *Controller {
    	out := &Controller{
    		configStore: cs,
    		monitor:     NewMonitor(cs),
    	}
    	return out
    }
    
    // NewSyncController return an implementation of model.ConfigStoreController which processes events synchronously
    func NewSyncController(cs model.ConfigStore) *Controller {
    	out := &Controller{
    		configStore: cs,
    		monitor:     NewSyncMonitor(cs),
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 26 13:54:32 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. operator/pkg/controller/controller.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package controller
    
    import (
    	"sigs.k8s.io/controller-runtime/pkg/manager"
    
    	"istio.io/istio/operator/pkg/controller/istiocontrolplane"
    )
    
    // AddToManager adds all Controllers to the Manager
    func AddToManager(m manager.Manager, options *istiocontrolplane.Options) error {
    	return istiocontrolplane.Add(m, options)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:04:16 UTC 2021
    - 902 bytes
    - Viewed (0)
  10. architecture/networking/controllers.md

    ## Writing Controllers
    
    The `controllers` package offers a variety of helpers for writing controllers.
    These operate in a similar manner as [`controller-runtime`](https://github.com/kubernetes-sigs/controller-runtime) but are *far* smaller and less abstract.
    
    With a few exceptions, Istio controllers typically are split in two phases: construction and running.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top