Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for insertion (0.35 sec)

  1. callbacks/create.go

    		if db.RowsAffected == 0 {
    			return
    		}
    
    		var (
    			pkField     *schema.Field
    			pkFieldName = "@id"
    		)
    
    		insertID, err := result.LastInsertId()
    		insertOk := err == nil && insertID > 0
    
    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		if db.Statement.Schema != nil {
    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)
  2. operator/cmd/mesh/manifest-generate_test.go

    	revLabel := klabels.Set{"istio.io/rev": "canary"}
    	legacyAndRevLabel := klabels.Set{"istio-injection": "enabled", "istio.io/rev": "canary"}
    	legacyDisabledAndRevLabel := klabels.Set{"istio-injection": "disabled", "istio.io/rev": "canary"}
    	legacyLabel := klabels.Set{"istio-injection": "enabled"}
    	legacyLabelDisabled := klabels.Set{"istio-injection": "disabled"}
    
    	objEnabled := klabels.Set{"sidecar.istio.io/inject": "true"}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		// Cases 5-7.
    		// Create parts with 3 uploadID's for the same object.
    		// Testing for listing of all the uploadID's for given object.
    		// Insertion with 3 different uploadID's are done for same bucket and object.
    		{bucketNames[1], objectNames[0], uploadIDs[1], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd")), "e2fc714c4727ee9395f324cd2e7f331f"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/checkinject_test.go

    					Name:     "istio-sidecar-injector",
    					Revision: "default",
    					Reason:   "Namespace has istio-injection=disabled label, preventing injection",
    				},
    				{
    					Name:     "istio-sidecar-injector-1-16",
    					Revision: "1-16",
    					Injected: false,
    					Reason:   "Namespace has istio-injection=disabled label, preventing injection",
    				},
    				{
    					Name:     "istio-sidecar-injector-deactivated",
    					Revision: "default",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    	"istio.io/istio/pkg/config/analysis/analyzers/injection"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type revisionCount struct {
    	// pods in a revision
    	pods int
    	// pods that are disabled from injection
    	disabled int
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list_test.go

    			constants.DataplaneMode: constants.DataplaneModeAmbient,
    		}),
    		createNamespace("no-ambient", map[string]string{
    			constants.DataplaneMode: constants.DataplaneModeAmbient,
    			"istio-injection":       "enabled",
    		}),
    	}
    
    	client := kube.NewFakeClient(nss...)
    	expected := sets.New[string]("default", "no-ambient")
    	actual, err := getNamespaces(context.TODO(), client, "istio-system")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    		lines = append(lines, fmt.Sprintf("%s=%s", k, shellescape.Quote(v)))
    	}
    	sort.Strings(lines)
    	return strings.Join(lines, "\n") + "\n"
    }
    
    // extractClusterIDFromInjectionConfig can extract clusterID from injection configmap
    func extractClusterIDFromInjectionConfig(kubeClient kube.CLIClient, istioNamespace string) (string, error) {
    	injectionConfigMap := "istio-sidecar-injector"
    	// Case with multiple control planes
    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)
  8. istioctl/pkg/tag/generate.go

    	if err != nil {
    		return "", fmt.Errorf("failed to create tag webhook: %w", err)
    	}
    
    	if opts.Tag == DefaultRevisionName {
    		if !opts.Generate {
    			// deactivate other istio-injection=enabled injectors if using default revisions.
    			err := DeactivateIstioInjectionWebhook(ctx, client.Kube())
    			if err != nil {
    				return "", fmt.Errorf("failed deactivating existing default revision: %w", err)
    			}
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/server_test.go

    }
    
    func (s *TestSuiteCommon) TestPutBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// Block 1: Testing for racy access
    	// The assertion is removed from this block since the purpose of this block is to find races
    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/iam.go

    	// sends `null` when no policy is set and the intended behavior is that the
    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top