Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Clulow (0.17 sec)

  1. tests/customize_field_test.go

    		return &CustomizeFieldStruct{
    			Name:             name,
    			FieldAllowCreate: name + "_allow_create",
    			FieldAllowUpdate: name + "_allow_update",
    			FieldAllowSave:   name + "_allow_save",
    			FieldAllowSave2:  name + "_allow_save2",
    			FieldAllowSave3:  name + "_allow_save3",
    			FieldReadonly:    name + "_allow_readonly",
    			FieldIgnore:      name + "_allow_ignore",
    		}
    	}
    
    	create := generateStruct("create")
    	DB.Create(&create)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/authz_test.go

    			WantException:  true,
    		},
    		{
    			Args: []string{"-f", "testdata/configdump.yaml"},
    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. cmd/acl-handlers.go

    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	// Allow putBucketACL if policy action is set, since this is a dummy call
    	// we are simply re-purposing the bucketPolicyAction.
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils.go

    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    		// we should skip such clients and allow
    		// blindly such insecure clients only if
    		// S3 strict compatibility is disabled.
    
    		// We return true only in situations when
    		// deployment has asked MinIO to allow for
    		// such broken clients and content-length > 0.
    		return r.ContentLength > 0 && !globalServerCtxt.StrictS3Compat
    	}
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. cmd/tier-journal.go

    	jd.Lock()
    	defer jd.Unlock()
    	_, err = jd.file.Write(b)
    	if err != nil {
    		// Do not leak fd here, close the file properly.
    		Fdatasync(jd.file)
    		_ = jd.file.Close()
    
    		jd.file = nil // reset to allow subsequent reopen when file/disk is available.
    	}
    	return err
    }
    
    // Close closes the active journal and renames it to read-only for pending
    // deletes processing. Note: calling Close on a closed journal is a no-op.
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. internal/event/target/webhook.go

    		manager, err := certs.NewManager(context.Background(), args.ClientCert, args.ClientKey, tls.LoadX509KeyPair)
    		if err != nil {
    			return err
    		}
    		manager.ReloadOnSignal(syscall.SIGHUP) // allow reloads upon SIGHUP
    		transport.TLSClientConfig.GetClientCertificate = manager.GetClientCertificate
    	}
    	target.httpClient = &http.Client{Transport: transport}
    
    	yes, err := target.isActive()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    			return fmt.Errorf("xlMetaInlineData: %w", err)
    		}
    	}
    
    	return nil
    }
    
    // repair will copy all seemingly valid data entries from a corrupted set.
    // This does not ensure that data is correct, but will allow all operations to complete.
    func (x *xlMetaInlineData) repair() {
    	data := *x
    	if len(data) == 0 {
    		return
    	}
    
    	if !data.versionOK() {
    		*x = nil
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. internal/config/policy/opa/config.go

    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    
    	respBody := bytes.NewReader(opaRespBytes)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  9. internal/disk/fdatasync_linux.go

    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"golang.org/x/sys/unix"
    )
    
    // Fdatasync - fdatasync() is similar to fsync(), but does not flush modified metadata
    // unless that metadata is needed in order to allow a subsequent data retrieval
    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    // (respectively, time of last access and time of last modification; see inode(7))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/cluster.go

    	clusterDump, err := w.GetClusterConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	dac := clusterDump.GetDynamicActiveClusters()
    	// Allow sorting to work even if we don't have the exact same type
    	for i := range dac {
    		dac[i].Cluster.TypeUrl = v3.ClusterType
    	}
    	sort.Slice(dac, func(i, j int) bool {
    		cluster := &cluster.Cluster{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
Back to top