Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 980 for rebate (0.19 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    		Type:             SecretTypeRemote,
    	}
    	c := &cobra.Command{
    		Use:   "create-remote-secret",
    		Short: "Create a secret with credentials to allow Istio to access remote Kubernetes apiservers",
    		Example: `  # Create a secret to access cluster c0's apiserver and install it in cluster c1.
      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \
        | kubectl --kubeconfig=c1.yaml apply -f -
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  2. callbacks/create.go

    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. tests/create_test.go

    func TestCreateFromMap(t *testing.T) {
    	if err := DB.Model(&User{}).Create(map[string]interface{}{"Name": "create_from_map", "Age": 18}).Error; err != nil {
    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	var result User
    	if err := DB.Where("name = ?", "create_from_map").First(&result).Error; err != nil || result.Age != 18 {
    		t.Fatalf("failed to create from map, got error %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    		// inject errors
    		badStartingConfig bool
    		outputWriterError error
    
    		want            string
    		wantErrStr      string
    		k8sMinorVersion string
    	}{
    		{
    			testName:   "fail to create remote secret token",
    			objs:       []runtime.Object{kubeSystemNamespace, sa, saSecretMissingToken},
    			wantErrStr: `no "token" data found`,
    		},
    		{
    			testName:          "fail to encode secret",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    	}, ObjectOptions{
    		VersionID: oi.VersionID,
    		NoLock:    true,
    	}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    const (
    	batchKeyRotationName               = "batch-rotate.bin"
    	batchKeyRotationFormat             = 1
    	batchKeyRotateVersionV1            = 1
    	batchKeyRotateVersion              = batchKeyRotateVersionV1
    	batchKeyRotateAPIVersion           = "v1"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. internal/config/cache/remote_gen.go

    Harshavardhana <******@****.***> 1700689577 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    ### Building a distribution from source
    
    To create a Gradle distribution from the source tree you can run either of the following:
    
        ./gradlew :distributions-full:binDistributionZip
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 15:30:53 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. cmd/batch-rotate_gen.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 27.1K bytes
    - Viewed (0)
  9. maven-core/plugin-manager.txt

    - how to deal with resolution from different places like local/remote/workspace
    - how to incorporate the metadata processor to start with
    - create a hook to programmatically configure the test
    - create a plugin processor
    - directory
    - jar
    - hooks for loading
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_cluster_test.cc

      // Check that copying it to the old remote device (named localhost) fails.
      TFE_TensorHandleCopyToDevice(h0_task0_new, ctx, remote_device_name, status);
      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Copying and executing on the new remote device works.
      const char new_remote_device_name[] =
          "/job:worker/replica:0/task:1/device:CPU:0";
      const char new_local_device_name[] =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top