Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for istioclient (0.18 sec)

  1. pkg/kube/kclient/client_test.go

    		wt := clienttest.NewWriter[*istioclient.WasmPlugin](t, c)
    		tracker := assert.NewTracker[string](t)
    		wasm.AddEventHandler(clienttest.TrackerHandler(tracker))
    		go constantlyAccessForRaceDetection(stop, wasm)
    
    		// CRD and Delayed client are ready to go by the time we start informers
    		clienttest.MakeCRD(t, c, gvr.WasmPlugin)
    		c.RunAndWait(stop)
    
    		wt.Create(&istioclient.WasmPlugin{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pkg/kube/krt/join_test.go

    	services := krt.NewInformer[*corev1.Service](c)
    	serviceEntries := krt.NewInformer[*istioclient.ServiceEntry](c)
    	c.RunAndWait(test.NewStop(t))
    	pc := clienttest.Wrap(t, kclient.New[*corev1.Pod](c))
    	sc := clienttest.Wrap(t, kclient.New[*corev1.Service](c))
    	sec := clienttest.Wrap(t, kclient.New[*istioclient.ServiceEntry](c))
    	SimplePods := SimplePodCollection(pods)
    	ExtraSimplePods := krt.NewStatic(&SimplePod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. tests/integration/pilot/webhook_test.go

    			Labels:    revLabel,
    		},
    		Spec: networking.Gateway{},
    	}
    
    	createOptions := metav1.CreateOptions{DryRun: []string{metav1.DryRunAll}}
    	istioClient := t.Clusters().Default().Istio().NetworkingV1alpha3()
    	_, err := istioClient.Gateways(istioNamespace).Create(context.TODO(), invalidGateway, createOptions)
    	rejected := err != nil
    	if rejected != shouldReject {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. pkg/webhooks/validation/controller/controller.go

    	createOptions := metav1.CreateOptions{DryRun: []string{metav1.DryRunAll}}
    	istioClient := c.client.Istio().NetworkingV1alpha3()
    	_, err := istioClient.Gateways(c.o.WatchedNamespace).Create(context.TODO(), invalidGateway, createOptions)
    	if kerrors.IsAlreadyExists(err) {
    		updateOptions := metav1.UpdateOptions{DryRun: []string{metav1.DryRunAll}}
    		_, err = istioClient.Gateways(c.o.WatchedNamespace).Update(context.TODO(), invalidGateway, updateOptions)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. pkg/config/schema/kubeclient/common.go

    	"k8s.io/client-go/dynamic"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/metadata"
    	"k8s.io/client-go/tools/cache"
    	gatewayapiclient "sigs.k8s.io/gateway-api/pkg/client/clientset/versioned"
    
    	istioclient "istio.io/client-go/pkg/clientset/versioned"
    	"istio.io/istio/pilot/pkg/util/informermetric"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/kubetypes"
    	"istio.io/istio/pkg/kube/informerfactory"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. pkg/kube/krt/collection_test.go

    			Named:    NewNamed(i),
    			Selector: i.Spec.Selector,
    		}
    	})
    }
    
    func SimpleServiceCollectionFromEntries(entries krt.Collection[*istioclient.ServiceEntry]) krt.Collection[SimpleService] {
    	return krt.NewCollection(entries, func(ctx krt.HandlerContext, i *istioclient.ServiceEntry) *SimpleService {
    		l := i.Spec.WorkloadSelector.GetLabels()
    		if l == nil {
    			return nil
    		}
    		return &SimpleService{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. pkg/kube/client.go

    	clientnetworkingbeta "istio.io/client-go/pkg/apis/networking/v1beta1"
    	clientsecurity "istio.io/client-go/pkg/apis/security/v1beta1"
    	clienttelemetry "istio.io/client-go/pkg/apis/telemetry/v1alpha1"
    	istioclient "istio.io/client-go/pkg/clientset/versioned"
    	istiofake "istio.io/client-go/pkg/clientset/versioned/fake"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/schema/gvk"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. tests/integration/helm/util.go

    			"istio.io/rev": revision,
    		}
    	}
    	createOptions := metav1.CreateOptions{DryRun: []string{metav1.DryRunAll}}
    	istioClient := ctx.Clusters().Default().Istio().NetworkingV1alpha3()
    	retry.UntilOrFail(ctx, func() bool {
    		_, err := istioClient.Gateways(IstioNamespace).Create(context.TODO(), invalidGateway, createOptions)
    		rejected := err != nil
    		return rejected
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/api/networking/v1alpha3"
    	typev1beta1 "istio.io/api/type/v1beta1"
    	clientnetworking "istio.io/client-go/pkg/apis/networking/v1alpha3"
    	istioclient "istio.io/client-go/pkg/clientset/versioned"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top