Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SlowConvertKindsToRuntimeObjects (0.81 sec)

  1. pkg/kube/util.go

    			Subdomain:          oldSpec.Subdomain,
    		}
    		pod.Spec = newSpec
    		pod.Status.InitContainerStatuses = nil
    		pod.Status.ContainerStatuses = nil
    	}
    
    	return obj, nil
    }
    
    func SlowConvertKindsToRuntimeObjects(in []crd.IstioKind) ([]runtime.Object, error) {
    	res := make([]runtime.Object, 0, len(in))
    	for _, o := range in {
    		r, err := SlowConvertToRuntimeObject(&o)
    		if err != nil {
    			return nil, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    						cfg = cfg + "\n---\n" + tc.Config(t, variant)
    					}
    					istio, k, err := crd.ParseInputs(cfg)
    					if err != nil {
    						t.Fatal(err)
    					}
    					kubeo, err := kube.SlowConvertKindsToRuntimeObjects(k)
    					if err != nil {
    						t.Fatal(err)
    					}
    					s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    						Configs:           istio,
    						KubernetesObjects: kubeo,
    					})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top