Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MeshConfigOrFail (0.21 sec)

  1. pkg/test/framework/components/istio/istio.go

    	Values() (OperatorValues, error)
    	ValuesOrFail(test.Failer) OperatorValues
    	// MeshConfig used by the Istio installation.
    	MeshConfig() (*meshconfig.MeshConfig, error)
    	MeshConfigOrFail(test.Failer) *meshconfig.MeshConfig
    	// UpdateMeshConfig used by the Istio installation.
    	UpdateMeshConfig(resource.Context, func(*meshconfig.MeshConfig) error, cleanup.Strategy) error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/configmap.go

    			return nil, err
    		}
    
    		// Save the updated mesh config.
    		mc.mu.Lock()
    		mc.meshConfig = mymc
    		mc.mu.Unlock()
    	}
    
    	return mymc, nil
    }
    
    func (mc *meshConfig) MeshConfigOrFail(t test.Failer) *meshconfig.MeshConfig {
    	t.Helper()
    	out, err := mc.MeshConfig()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/check/checkers.go

    			return fmt.Errorf("expected URL %s, received %s", expected, r.URL)
    		}
    		return nil
    	})
    }
    
    func IsDNSCaptureEnabled(t framework.TestContext) bool {
    	t.Helper()
    	mc := istio.GetOrFail(t, t).MeshConfigOrFail(t)
    	if mc.DefaultConfig != nil && mc.DefaultConfig.ProxyMetadata != nil {
    		return mc.DefaultConfig.ProxyMetadata["ISTIO_META_DNS_CAPTURE"] == "true"
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 16:19:07 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top