Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for IstioStatus (0.11 sec)

  1. pilot/pkg/config/kube/crdclient/types.gen.go

    			ObjectMeta: objMeta,
    			Status:     *(cfg.Status.(*istioioapimetav1alpha1.IstioStatus)),
    		}, metav1.UpdateOptions{})
    	case gvk.DestinationRule:
    		return c.Istio().NetworkingV1alpha3().DestinationRules(cfg.Namespace).UpdateStatus(context.TODO(), &apiistioioapinetworkingv1alpha3.DestinationRule{
    			ObjectMeta: objMeta,
    			Status:     *(cfg.Status.(*istioioapimetav1alpha1.IstioStatus)),
    		}, metav1.UpdateOptions{})
    	case gvk.EnvoyFilter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. pkg/config/analysis/incluster/controller.go

    	err := ia.Init(stop)
    	if err != nil {
    		return nil, fmt.Errorf("unable to initialize analysis controller, releasing lease: %s", err)
    	}
    	ctl := statusManager.CreateIstioStatusController(func(status *v1alpha1.IstioStatus, context any) *v1alpha1.IstioStatus {
    		msgs := context.(diag.Messages)
    		// zero out analysis messages, as this is the sole controller for those
    		status.ValidationMessages = []*v1alpha12.AnalysisMessageBase{}
    		for _, msg := range msgs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pilot/pkg/status/resourcelock.go

    	SetObservedGeneration(int64)
    	Unwrap() any
    }
    
    type IstioGenerationProvider struct {
    	*v1alpha1.IstioStatus
    }
    
    func (i *IstioGenerationProvider) SetObservedGeneration(in int64) {
    	i.ObservedGeneration = in
    }
    
    func (i *IstioGenerationProvider) Unwrap() any {
    	return i.IstioStatus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pilot/pkg/autoregistration/internal/state/store.go

    	}
    	// The workloadentry has reconnected to the other istiod
    	if !s.cb.IsControllerOf(cfg) {
    		return nil
    	}
    
    	// check if the existing health status is newer than this one
    	wleStatus, ok := cfg.Status.(*v1alpha1.IstioStatus)
    	if ok {
    		healthCondition := status.GetCondition(wleStatus.Conditions, status.ConditionHealthy)
    		if healthCondition != nil {
    			if healthCondition.LastProbeTime.AsTime().After(condition.LastProbeTime.AsTime()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crd/conversion_test.go

    					ResourceVersion:  "1234",
    					Labels:           map[string]string{"label": "value"},
    					Annotations:      map[string]string{"annotation": "value"},
    				},
    				Spec: mock.ExampleVirtualService,
    				Status: &v1alpha1.IstioStatus{
    					Conditions: []*v1alpha1.IstioCondition{
    						{Type: "Health"},
    					},
    				},
    			},
    		},
    		{
    			name: "gateway",
    			cfg: config.Config{
    				Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/crdclient/client_test.go

    			}
    			if !reflect.DeepEqual(cfg.Meta, cfgMeta) {
    				return fmt.Errorf("something is deeply wrong....., %v", cfg.Meta)
    			}
    			return nil
    		})
    
    		stat := &v1alpha1.IstioStatus{
    			Conditions: []*v1alpha1.IstioCondition{
    				{
    					Type:    "Health",
    					Message: "heath is badd",
    				},
    			},
    		}
    
    		if _, err := store.UpdateStatus(config.Config{
    			Meta:   cfgMeta,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. pilot/pkg/autoregistration/controller_test.go

    	if cfg == nil {
    		return fmt.Errorf("expected WorkloadEntry %s/%s to exist", proxy.Metadata.Namespace, name)
    	}
    	if cfg.Status == nil {
    		return nil
    	}
    	s := cfg.Status.(*v1alpha1.IstioStatus)
    	if status.GetCondition(s.Conditions, "Healthy") != nil {
    		return fmt.Errorf("expected WorkloadEntry %s/%s not to have %q condition",
    			proxy.Metadata.Namespace, name, "Healthy")
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: ns,
    			Labels:    labels,
    		},
    		Spec:   *generateServiceEntry(hostStr, addresses, labels, epAddresses),
    		Status: v1alpha1.IstioStatus{},
    	}
    	s.se.CreateOrUpdate(se)
    }
    
    func generateServiceEntry(host string, addresses []string, labels map[string]string, epAddresses []string) *v1alpha3.ServiceEntry {
    	var endpoints []*v1alpha3.WorkloadEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top