Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for valid (0.12 sec)

  1. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    "Error: expecting a workload namespace\n",
    		},
    		{
    			description:       "valid case - minimal flags, infer defaults",
    			args:              strings.Split("group create --name foo --namespace bar", " "),
    			expectedException: false,
    			expectedOutput:    defaultYAML,
    		},
    		{
    			description: "valid case - create full workload group",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    			}
    			assert.Equal(t, isReady.Load(), false)
    
    			if len(c.invalidConfigFilename) > 0 {
    				if err := os.Remove(cniConfigFilepath); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			// Copy a valid config file into tempDir
    			if err := file.AtomicCopy(filepath.Join("testdata", c.validConfigFilename), tempDir, c.cniConfigFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Listen for isReady to be set to true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		return nil, fmt.Errorf("could not read valid configmap %q from namespace %q: %v - "+
    			"Use --meshConfigFile or re-run "+command+" with `-i <istioSystemNamespace> and ensure valid MeshConfig exists",
    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    	// values in the data are strings, while proto might use a
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate_test.go

    			valid: false,
    		},
    		{
    			name:  "port name missing service",
    			in:    portNameMissingSvc,
    			valid: false,
    		},
    		{
    			name:  "version label missing deployment",
    			in:    versionLabelMissingDeployment,
    			valid: true,
    		},
    		{
    			name:  "valid port naming service",
    			in:    validPortNamingSvc,
    			valid: true,
    		},
    		{
    			name:  "valid port naming with suffix service",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      repeated MutatingWebhookConfiguration items = 2;
    }
    
    // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
    // to make sure that all the tuple expansions are valid.
    message Rule {
      // APIGroups is the API groups the resources belong to. '*' is all groups.
      // If '*' is present, the length of the slice must be one.
      // Required.
      // +listType=atomic
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  6. cni/test/install_cni.go

    	} else if err := os.Remove(resultFile); err != nil {
    		t.Fatalf("error removing CNI config file: %s", resultFile)
    	}
    	// Verify configuration is still valid after removal
    	compareConfResult(resultFile, expectedOutputFile, t)
    	t.Log("PASS: Istio CNI configuration still valid after removal")
    
    	// Shutdown the install-cni
    	cancel()
    	wg.Wait()
    
    	t.Logf("Check the cleanup worked")
    	if chainedCNIPlugin {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1/generated.proto

    // that should not be included within this rule.
    message IPBlock {
      // cidr is a string representing the IPBlock
      // Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      optional string cidr = 1;
    
      // except is a slice of CIDRs that should not be included within an IPBlock
      // Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      // Except values will be rejected if they are outside the cidr range
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    		if trafficType != "" {
    			if !validTrafficTypes.Contains(trafficType) {
    				return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/batch/v1/generated.proto

      // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
      // If not specified, this will default to the time zone of the kube-controller-manager process.
      // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone
      // database by the API server during CronJob validation and the controller manager during execution.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    			for _, s := range suppress {
    				parts := strings.Split(s, "=")
    				if len(parts) != 2 {
    					return fmt.Errorf("%s is not a valid suppression value. See istioctl analyze --help", s)
    				}
    				// Check to see if the supplied code is valid. If not, emit a
    				// warning but continue.
    				codeIsValid := false
    				for _, at := range msg.All() {
    					if at.Code() == parts[0] {
    						codeIsValid = true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top