Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for validation (0.16 sec)

  1. cni/pkg/repair/netns.go

    	// There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*.
    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/noncurrentversion_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import "testing"
    
    func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) {
    	testcases := []struct {
    		n   NoncurrentVersionExpiration
    		err error
    	}{
    		{
    			n: NoncurrentVersionExpiration{
    				NoncurrentDays:          0,
    				NewerNoncurrentVersions: 0,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    		DisableContentSha256: true,
    	})
    	return remoteVersionID(res.VersionID), m.ToObjectError(err, object)
    }
    
    func newWarmBackendMinIO(conf madmin.TierMinIO, tier string) (*warmBackendMinIO, error) {
    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. internal/config/cache/remote.go

    	}
    
    	if oi.CacheControl != "" {
    		w.Header().Set(xhttp.CacheControl, oi.CacheControl)
    	}
    
    	statusCode()
    }
    
    // CondCheck represents the conditional request made to the remote cache
    // for validation during GET/HEAD object requests.
    type CondCheck struct {
    	ObjectInfo
    	IfMatch           string     `json:"ifMatch,omitempty" msg:",omitempty"`
    	IfNoneMatch       string     `json:"ifNoneMatch,omitempty" msg:",omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server.go

    }
    
    func (s *Server) NotReady() {
    	s.isReady.Store(false)
    }
    
    // buildKubeClient creates the kube client
    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K 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. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top