Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for validation (0.19 sec)

  1. istioctl/pkg/cli/kubectl_factory.go

    func (f Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) {
    	return f.full.UnstructuredClientForMapping(mapping)
    }
    
    func (f Factory) Validator(validationDirective string) (validation.Schema, error) {
    	return f.full.Validator(validationDirective)
    }
    
    func (f Factory) OpenAPISchema() (openapi.Resources, error) {
    	return f.full.OpenAPISchema()
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == ErrWriteTooLong:
    		return n, errMissData // Not possible; implies bug in validation logic
    	case err != nil:
    		return n, err
    	case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0:
    		return n, errUnrefData // Not possible; implies bug in validation logic
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/root.go

    This flag can be specified multiple times to overlay multiple files. Multiple files are overlaid in left to right order.`
    	installationCompleteStr            = `Installation complete`
    	ForceFlagHelpStr                   = `Proceed even with validation errors.`
    	MaxConcurrentReconcilesFlagHelpStr = `Defines the concurrency limit for operator to reconcile IstioOperatorSpec in parallel. Default value is 1.`
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	var errMsg string
    	if msg != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    	opts.AttachControlPlaneFlags(configureCmd)
    	return configureCmd
    }
    
    // Reads a WorkloadGroup yaml. Additionally populates default values if unset
    // TODO: add WorkloadGroup validation in pkg/config/validation
    func readWorkloadGroup(filename string, wg *clientv1alpha3.WorkloadGroup) error {
    	f, err := os.ReadFile(filename)
    	if err != nil {
    		return err
    	}
    	if err = yaml.Unmarshal(f, wg); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. internal/bucket/versioning/versioning_test.go

    		}
    		if err != nil {
    			if tc.err == nil {
    				t.Fatalf("Test %d: failed due to %v", i+1, err)
    			}
    		} else {
    			if err := v.Validate(); tc.err != err {
    				t.Fatalf("Test %d: validation failed due to %v", i+1, err)
    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    				if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  7. internal/jwt/parser_test.go

    			}
    
    			if data.valid && err != nil {
    				t.Errorf("Error while verifying token: %T:%v", err, err)
    			}
    
    			if !data.valid && err == nil {
    				t.Errorf("Invalid token passed validation")
    			}
    
    			if data.errors != 0 {
    				_, ok := err.(*jwt.ValidationError)
    				if !ok {
    					t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  8. cmd/update-notifier_test.go

    			t.Errorf("Testcase %d: newer release is available but got empty update message!", i+1)
    		case output == "" && (testCase.dlURL == "" || testCase.older <= 0):
    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    		case !strings.Contains(output, line2):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    			"The value of the annotation is ignored.")
    	registerStringParameter(constants.RepairInitContainerName, "istio-validation",
    		"The name of the istio init container (will crash-loop if CNI is not configured for the pod)")
    	registerStringParameter(constants.RepairInitTerminationMsg, "",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate.go

    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    	// Force proceeds even if there are validation errors
    	Force bool
    	// ManifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	ManifestsPath string
    	// Revision is the Istio control plane revision the command targets.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top